aws-cdk-lib 2.189.0__py3-none-any.whl → 2.190.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of aws-cdk-lib might be problematic. Click here for more details.

Files changed (53) hide show
  1. aws_cdk/__init__.py +16 -2
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.189.0.jsii.tgz → aws-cdk-lib@2.190.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_acmpca/__init__.py +6 -6
  5. aws_cdk/aws_apigatewayv2/__init__.py +374 -6
  6. aws_cdk/aws_applicationautoscaling/__init__.py +16 -10
  7. aws_cdk/aws_applicationsignals/__init__.py +204 -31
  8. aws_cdk/aws_backup/__init__.py +0 -41
  9. aws_cdk/aws_batch/__init__.py +215 -0
  10. aws_cdk/aws_bedrock/__init__.py +287 -0
  11. aws_cdk/aws_cleanrooms/__init__.py +1392 -78
  12. aws_cdk/aws_cloudfront/__init__.py +1 -0
  13. aws_cdk/aws_cloudtrail/__init__.py +24 -26
  14. aws_cdk/aws_codebuild/__init__.py +59 -7
  15. aws_cdk/aws_dms/__init__.py +43 -0
  16. aws_cdk/aws_ec2/__init__.py +364 -30
  17. aws_cdk/aws_ecs/__init__.py +36 -5
  18. aws_cdk/aws_eks/__init__.py +2 -100
  19. aws_cdk/aws_elasticache/__init__.py +6 -11
  20. aws_cdk/aws_elasticloadbalancingv2/__init__.py +341 -0
  21. aws_cdk/aws_events/__init__.py +67 -13
  22. aws_cdk/aws_fsx/__init__.py +9 -21
  23. aws_cdk/aws_iam/__init__.py +1 -1
  24. aws_cdk/aws_iot/__init__.py +6 -6
  25. aws_cdk/aws_kafkaconnect/__init__.py +2 -2
  26. aws_cdk/aws_kinesis/__init__.py +44 -0
  27. aws_cdk/aws_lex/__init__.py +615 -39
  28. aws_cdk/aws_location/__init__.py +4 -4
  29. aws_cdk/aws_macie/__init__.py +14 -3
  30. aws_cdk/aws_memorydb/__init__.py +87 -0
  31. aws_cdk/aws_msk/__init__.py +226 -127
  32. aws_cdk/aws_neptune/__init__.py +0 -8
  33. aws_cdk/aws_opensearchservice/__init__.py +64 -56
  34. aws_cdk/aws_paymentcryptography/__init__.py +41 -0
  35. aws_cdk/aws_qbusiness/__init__.py +175 -3
  36. aws_cdk/aws_quicksight/__init__.py +393 -0
  37. aws_cdk/aws_rds/__init__.py +113 -120
  38. aws_cdk/aws_redshiftserverless/__init__.py +4 -14
  39. aws_cdk/aws_route53resolver/__init__.py +60 -9
  40. aws_cdk/aws_s3/__init__.py +34 -1
  41. aws_cdk/aws_s3_deployment/__init__.py +202 -5
  42. aws_cdk/aws_sagemaker/__init__.py +40 -40
  43. aws_cdk/aws_ssmquicksetup/__init__.py +3 -3
  44. aws_cdk/aws_stepfunctions/__init__.py +720 -45
  45. aws_cdk/aws_transfer/__init__.py +55 -2
  46. aws_cdk/custom_resources/__init__.py +5 -5
  47. aws_cdk/pipelines/__init__.py +1 -2
  48. {aws_cdk_lib-2.189.0.dist-info → aws_cdk_lib-2.190.0.dist-info}/METADATA +1 -1
  49. {aws_cdk_lib-2.189.0.dist-info → aws_cdk_lib-2.190.0.dist-info}/RECORD +53 -53
  50. {aws_cdk_lib-2.189.0.dist-info → aws_cdk_lib-2.190.0.dist-info}/LICENSE +0 -0
  51. {aws_cdk_lib-2.189.0.dist-info → aws_cdk_lib-2.190.0.dist-info}/NOTICE +0 -0
  52. {aws_cdk_lib-2.189.0.dist-info → aws_cdk_lib-2.190.0.dist-info}/WHEEL +0 -0
  53. {aws_cdk_lib-2.189.0.dist-info → aws_cdk_lib-2.190.0.dist-info}/top_level.txt +0 -0
@@ -23894,6 +23894,7 @@ class SSLMethod(enum.Enum):
23894
23894
 
23895
23895
  SNI = "SNI"
23896
23896
  VIP = "VIP"
23897
+ STATIC_IP = "STATIC_IP"
23897
23898
 
23898
23899
 
23899
23900
  @jsii.enum(jsii_type="aws-cdk-lib.aws_cloudfront.SecurityPolicyProtocol")
@@ -1858,15 +1858,12 @@ class CfnEventDataStore(
1858
1858
  *Supported CloudTrail event record fields for data events*
1859
1859
 
1860
1860
  - ``eventCategory`` (required)
1861
- - ``resources.type`` (required)
1862
- - ``readOnly``
1863
1861
  - ``eventName``
1864
- - ``resources.ARN``
1865
-
1866
- The following additional fields are available for event data stores:
1867
-
1868
1862
  - ``eventSource``
1869
1863
  - ``eventType``
1864
+ - ``resources.ARN``
1865
+ - ``resources.type`` (required)
1866
+ - ``readOnly``
1870
1867
  - ``sessionCredentialFromConsole``
1871
1868
  - ``userIdentity.arn``
1872
1869
 
@@ -1980,7 +1977,7 @@ class CfnEventDataStore(
1980
1977
  ) -> None:
1981
1978
  '''A single selector statement in an advanced event selector.
1982
1979
 
1983
- :param field: A field in a CloudTrail event record on which to filter events to be logged. For event data stores for CloudTrail Insights events, AWS Config configuration items, Audit Manager evidence, or events outside of AWS , the field is used only for selecting events as filtering is not supported. For CloudTrail management events, supported fields include ``eventCategory`` (required), ``eventSource`` , and ``readOnly`` . The following additional fields are available for event data stores: ``eventName`` , ``eventType`` , ``sessionCredentialFromConsole`` , and ``userIdentity.arn`` . For CloudTrail data events, supported fields include ``eventCategory`` (required), ``resources.type`` (required), ``eventName`` , ``readOnly`` , and ``resources.ARN`` . The following additional fields are available for event data stores: ``eventSource`` , ``eventType`` , ``sessionCredentialFromConsole`` , and ``userIdentity.arn`` . For CloudTrail network activity events, supported fields include ``eventCategory`` (required), ``eventSource`` (required), ``eventName`` , ``errorCode`` , and ``vpcEndpointId`` . For event data stores for CloudTrail Insights events, AWS Config configuration items, Audit Manager evidence, or events outside of AWS , the only supported field is ``eventCategory`` . .. epigraph:: Selectors don't support the use of wildcards like ``*`` . To match multiple values with a single condition, you may use ``StartsWith`` , ``EndsWith`` , ``NotStartsWith`` , or ``NotEndsWith`` to explicitly match the beginning or end of the event field. - *``readOnly``* - This is an optional field that is only used for management events and data events. This field can be set to ``Equals`` with a value of ``true`` or ``false`` . If you do not add this field, CloudTrail logs both ``read`` and ``write`` events. A value of ``true`` logs only ``read`` events. A value of ``false`` logs only ``write`` events. - *``eventSource``* - This field is only used for management events, data events (for event data stores only), and network activity events. For management events for trails, this is an optional field that can be set to ``NotEquals`` ``kms.amazonaws.com`` to exclude KMS management events, or ``NotEquals`` ``rdsdata.amazonaws.com`` to exclude RDS management events. For management and data events for event data stores, you can use it to include or exclude any event source and can use any operator. For network activity events, this is a required field that only uses the ``Equals`` operator. Set this field to the event source for which you want to log network activity events. If you want to log network activity events for multiple event sources, you must create a separate field selector for each event source. For a list of services supporting network activity events, see `Logging network activity events <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-network-events-with-cloudtrail.html>`_ in the *AWS CloudTrail User Guide* . - *``eventName``* - This is an optional field that is only used for data events, management events (for event data stores only), and network activity events. You can use any operator with ``eventName`` . You can use it to filter in or filter out specific events. You can have multiple values for this field, separated by commas. - *``eventCategory``* - This field is required and must be set to ``Equals`` . - For CloudTrail management events, the value must be ``Management`` . - For CloudTrail data events, the value must be ``Data`` . - For CloudTrail network activity events, the value must be ``NetworkActivity`` . The following are used only for event data stores: - For CloudTrail Insights events, the value must be ``Insight`` . - For AWS Config configuration items, the value must be ``ConfigurationItem`` . - For Audit Manager evidence, the value must be ``Evidence`` . - For events outside of AWS , the value must be ``ActivityAuditLog`` . - *``eventType``* - This is an optional field available only for event data stores, which is used to filter management and data events on the event type. For information about available event types, see `CloudTrail record contents <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-event-reference-record-contents.html#ct-event-type>`_ in the *AWS CloudTrail user guide* . - *``errorCode``* - This field is only used to filter CloudTrail network activity events and is optional. This is the error code to filter on. Currently, the only valid ``errorCode`` is ``VpceAccessDenied`` . ``errorCode`` can only use the ``Equals`` operator. - *``sessionCredentialFromConsole``* - This is an optional field available only for event data stores, which is used to filter management and data events based on whether the events originated from an AWS Management Console session. ``sessionCredentialFromConsole`` can only use the ``Equals`` and ``NotEquals`` operators. - *``resources.type``* - This field is required for CloudTrail data events. ``resources.type`` can only use the ``Equals`` operator. For a list of available resource types for data events, see `Data events <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html#logging-data-events>`_ in the *AWS CloudTrail User Guide* . You can have only one ``resources.type`` field per selector. To log events on more than one resource type, add another selector. - *``resources.ARN``* - The ``resources.ARN`` is an optional field for data events. You can use any operator with ``resources.ARN`` , but if you use ``Equals`` or ``NotEquals`` , the value must exactly match the ARN of a valid resource of the type you've specified in the template as the value of resources.type. To log all data events for all objects in a specific S3 bucket, use the ``StartsWith`` operator, and include only the bucket ARN as the matching value. For more information about the ARN formats of data event resources, see `Actions, resources, and condition keys for AWS services <https://docs.aws.amazon.com/service-authorization/latest/reference/reference_policies_actions-resources-contextkeys.html>`_ in the *Service Authorization Reference* . .. epigraph:: You can't use the ``resources.ARN`` field to filter resource types that do not have ARNs. - *``userIdentity.arn``* - This is an optional field available only for event data stores, which is used to filter management and data events on the userIdentity ARN. You can use any operator with ``userIdentity.arn`` . For more information on the userIdentity element, see `CloudTrail userIdentity element <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-event-reference-user-identity.html>`_ in the *AWS CloudTrail User Guide* . - *``vpcEndpointId``* - This field is only used to filter CloudTrail network activity events and is optional. This field identifies the VPC endpoint that the request passed through. You can use any operator with ``vpcEndpointId`` .
1980
+ :param field: A field in a CloudTrail event record on which to filter events to be logged. For event data stores for CloudTrail Insights events, AWS Config configuration items, Audit Manager evidence, or events outside of AWS , the field is used only for selecting events as filtering is not supported. For CloudTrail management events, supported fields include ``eventCategory`` (required), ``eventSource`` , and ``readOnly`` . The following additional fields are available for event data stores: ``eventName`` , ``eventType`` , ``sessionCredentialFromConsole`` , and ``userIdentity.arn`` . For CloudTrail data events, supported fields include ``eventCategory`` (required), ``eventName`` , ``eventSource`` , ``eventType`` , ``resources.type`` (required), ``readOnly`` , ``resources.ARN`` , ``sessionCredentialFromConsole`` , and ``userIdentity.arn`` . For CloudTrail network activity events, supported fields include ``eventCategory`` (required), ``eventSource`` (required), ``eventName`` , ``errorCode`` , and ``vpcEndpointId`` . For event data stores for CloudTrail Insights events, AWS Config configuration items, Audit Manager evidence, or events outside of AWS , the only supported field is ``eventCategory`` . .. epigraph:: Selectors don't support the use of wildcards like ``*`` . To match multiple values with a single condition, you may use ``StartsWith`` , ``EndsWith`` , ``NotStartsWith`` , or ``NotEndsWith`` to explicitly match the beginning or end of the event field. - *``readOnly``* - This is an optional field that is only used for management events and data events. This field can be set to ``Equals`` with a value of ``true`` or ``false`` . If you do not add this field, CloudTrail logs both ``read`` and ``write`` events. A value of ``true`` logs only ``read`` events. A value of ``false`` logs only ``write`` events. - *``eventSource``* - This field is only used for management events, data events, and network activity events. For management events for trails, this is an optional field that can be set to ``NotEquals`` ``kms.amazonaws.com`` to exclude KMS management events, or ``NotEquals`` ``rdsdata.amazonaws.com`` to exclude RDS management events. For data events for trails, this is an optional field that you can use to include or exclude any event source and can use any operator. For management and data events for event data stores, this is an optional field that you can use to include or exclude any event source and can use any operator. For network activity events, this is a required field that only uses the ``Equals`` operator. Set this field to the event source for which you want to log network activity events. If you want to log network activity events for multiple event sources, you must create a separate field selector for each event source. For a list of services supporting network activity events, see `Logging network activity events <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-network-events-with-cloudtrail.html>`_ in the *AWS CloudTrail User Guide* . - *``eventName``* - This is an optional field that is only used for data events, management events (for event data stores only), and network activity events. You can use any operator with ``eventName`` . You can use it to filter in or filter out specific events. You can have multiple values for this field, separated by commas. - *``eventCategory``* - This field is required and must be set to ``Equals`` . - For CloudTrail management events, the value must be ``Management`` . - For CloudTrail data events, the value must be ``Data`` . - For CloudTrail network activity events, the value must be ``NetworkActivity`` . The following are used only for event data stores: - For CloudTrail Insights events, the value must be ``Insight`` . - For AWS Config configuration items, the value must be ``ConfigurationItem`` . - For Audit Manager evidence, the value must be ``Evidence`` . - For events outside of AWS , the value must be ``ActivityAuditLog`` . - *``eventType``* - For event data stores, this is an optional field available for event data stores to filter management and data events on the event type. For trails, this is an optional field to filter data events on the event type. For information about available event types, see `CloudTrail record contents <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-event-reference-record-contents.html#ct-event-type>`_ in the *AWS CloudTrail user guide* . - *``errorCode``* - This field is only used to filter CloudTrail network activity events and is optional. This is the error code to filter on. Currently, the only valid ``errorCode`` is ``VpceAccessDenied`` . ``errorCode`` can only use the ``Equals`` operator. - *``sessionCredentialFromConsole``* - For event data stores, this is an optional field used to filter management and data events based on whether the events originated from an AWS Management Console session. For trails, this is an optional field used to filter data events. ``sessionCredentialFromConsole`` can only use the ``Equals`` and ``NotEquals`` operators. - *``resources.type``* - This field is required for CloudTrail data events. ``resources.type`` can only use the ``Equals`` operator. For a list of available resource types for data events, see `Data events <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html#logging-data-events>`_ in the *AWS CloudTrail User Guide* . You can have only one ``resources.type`` field per selector. To log events on more than one resource type, add another selector. - *``resources.ARN``* - The ``resources.ARN`` is an optional field for data events. You can use any operator with ``resources.ARN`` , but if you use ``Equals`` or ``NotEquals`` , the value must exactly match the ARN of a valid resource of the type you've specified in the template as the value of resources.type. To log all data events for all objects in a specific S3 bucket, use the ``StartsWith`` operator, and include only the bucket ARN as the matching value. For more information about the ARN formats of data event resources, see `Actions, resources, and condition keys for AWS services <https://docs.aws.amazon.com/service-authorization/latest/reference/reference_policies_actions-resources-contextkeys.html>`_ in the *Service Authorization Reference* . .. epigraph:: You can't use the ``resources.ARN`` field to filter resource types that do not have ARNs. - *``userIdentity.arn``* - For event data stores, this is an optional field used to filter management and data events for actions taken by specific IAM identities. For trails, this is an optional field used to filter data events. You can use any operator with ``userIdentity.arn`` . For more information on the userIdentity element, see `CloudTrail userIdentity element <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-event-reference-user-identity.html>`_ in the *AWS CloudTrail User Guide* . - *``vpcEndpointId``* - This field is only used to filter CloudTrail network activity events and is optional. This field identifies the VPC endpoint that the request passed through. You can use any operator with ``vpcEndpointId`` .
1984
1981
  :param ends_with: An operator that includes events that match the last few characters of the event record field specified as the value of ``Field`` .
1985
1982
  :param equal_to: An operator that includes events that match the exact value of the event record field specified as the value of ``Field`` . This is the only valid operator that you can use with the ``readOnly`` , ``eventCategory`` , and ``resources.type`` fields.
1986
1983
  :param not_ends_with: An operator that excludes events that match the last few characters of the event record field specified as the value of ``Field`` .
@@ -2042,7 +2039,7 @@ class CfnEventDataStore(
2042
2039
 
2043
2040
  For CloudTrail management events, supported fields include ``eventCategory`` (required), ``eventSource`` , and ``readOnly`` . The following additional fields are available for event data stores: ``eventName`` , ``eventType`` , ``sessionCredentialFromConsole`` , and ``userIdentity.arn`` .
2044
2041
 
2045
- For CloudTrail data events, supported fields include ``eventCategory`` (required), ``resources.type`` (required), ``eventName`` , ``readOnly`` , and ``resources.ARN`` . The following additional fields are available for event data stores: ``eventSource`` , ``eventType`` , ``sessionCredentialFromConsole`` , and ``userIdentity.arn`` .
2042
+ For CloudTrail data events, supported fields include ``eventCategory`` (required), ``eventName`` , ``eventSource`` , ``eventType`` , ``resources.type`` (required), ``readOnly`` , ``resources.ARN`` , ``sessionCredentialFromConsole`` , and ``userIdentity.arn`` .
2046
2043
 
2047
2044
  For CloudTrail network activity events, supported fields include ``eventCategory`` (required), ``eventSource`` (required), ``eventName`` , ``errorCode`` , and ``vpcEndpointId`` .
2048
2045
 
@@ -2052,11 +2049,13 @@ class CfnEventDataStore(
2052
2049
  Selectors don't support the use of wildcards like ``*`` . To match multiple values with a single condition, you may use ``StartsWith`` , ``EndsWith`` , ``NotStartsWith`` , or ``NotEndsWith`` to explicitly match the beginning or end of the event field.
2053
2050
 
2054
2051
  - *``readOnly``* - This is an optional field that is only used for management events and data events. This field can be set to ``Equals`` with a value of ``true`` or ``false`` . If you do not add this field, CloudTrail logs both ``read`` and ``write`` events. A value of ``true`` logs only ``read`` events. A value of ``false`` logs only ``write`` events.
2055
- - *``eventSource``* - This field is only used for management events, data events (for event data stores only), and network activity events.
2052
+ - *``eventSource``* - This field is only used for management events, data events, and network activity events.
2056
2053
 
2057
2054
  For management events for trails, this is an optional field that can be set to ``NotEquals`` ``kms.amazonaws.com`` to exclude KMS management events, or ``NotEquals`` ``rdsdata.amazonaws.com`` to exclude RDS management events.
2058
2055
 
2059
- For management and data events for event data stores, you can use it to include or exclude any event source and can use any operator.
2056
+ For data events for trails, this is an optional field that you can use to include or exclude any event source and can use any operator.
2057
+
2058
+ For management and data events for event data stores, this is an optional field that you can use to include or exclude any event source and can use any operator.
2060
2059
 
2061
2060
  For network activity events, this is a required field that only uses the ``Equals`` operator. Set this field to the event source for which you want to log network activity events. If you want to log network activity events for multiple event sources, you must create a separate field selector for each event source. For a list of services supporting network activity events, see `Logging network activity events <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-network-events-with-cloudtrail.html>`_ in the *AWS CloudTrail User Guide* .
2062
2061
 
@@ -2072,9 +2071,9 @@ class CfnEventDataStore(
2072
2071
  - For AWS Config configuration items, the value must be ``ConfigurationItem`` .
2073
2072
  - For Audit Manager evidence, the value must be ``Evidence`` .
2074
2073
  - For events outside of AWS , the value must be ``ActivityAuditLog`` .
2075
- - *``eventType``* - This is an optional field available only for event data stores, which is used to filter management and data events on the event type. For information about available event types, see `CloudTrail record contents <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-event-reference-record-contents.html#ct-event-type>`_ in the *AWS CloudTrail user guide* .
2074
+ - *``eventType``* - For event data stores, this is an optional field available for event data stores to filter management and data events on the event type. For trails, this is an optional field to filter data events on the event type. For information about available event types, see `CloudTrail record contents <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-event-reference-record-contents.html#ct-event-type>`_ in the *AWS CloudTrail user guide* .
2076
2075
  - *``errorCode``* - This field is only used to filter CloudTrail network activity events and is optional. This is the error code to filter on. Currently, the only valid ``errorCode`` is ``VpceAccessDenied`` . ``errorCode`` can only use the ``Equals`` operator.
2077
- - *``sessionCredentialFromConsole``* - This is an optional field available only for event data stores, which is used to filter management and data events based on whether the events originated from an AWS Management Console session. ``sessionCredentialFromConsole`` can only use the ``Equals`` and ``NotEquals`` operators.
2076
+ - *``sessionCredentialFromConsole``* - For event data stores, this is an optional field used to filter management and data events based on whether the events originated from an AWS Management Console session. For trails, this is an optional field used to filter data events. ``sessionCredentialFromConsole`` can only use the ``Equals`` and ``NotEquals`` operators.
2078
2077
  - *``resources.type``* - This field is required for CloudTrail data events. ``resources.type`` can only use the ``Equals`` operator.
2079
2078
 
2080
2079
  For a list of available resource types for data events, see `Data events <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html#logging-data-events>`_ in the *AWS CloudTrail User Guide* .
@@ -2088,7 +2087,7 @@ class CfnEventDataStore(
2088
2087
 
2089
2088
  You can't use the ``resources.ARN`` field to filter resource types that do not have ARNs.
2090
2089
 
2091
- - *``userIdentity.arn``* - This is an optional field available only for event data stores, which is used to filter management and data events on the userIdentity ARN. You can use any operator with ``userIdentity.arn`` . For more information on the userIdentity element, see `CloudTrail userIdentity element <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-event-reference-user-identity.html>`_ in the *AWS CloudTrail User Guide* .
2090
+ - *``userIdentity.arn``* - For event data stores, this is an optional field used to filter management and data events for actions taken by specific IAM identities. For trails, this is an optional field used to filter data events. You can use any operator with ``userIdentity.arn`` . For more information on the userIdentity element, see `CloudTrail userIdentity element <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-event-reference-user-identity.html>`_ in the *AWS CloudTrail User Guide* .
2092
2091
  - *``vpcEndpointId``* - This field is only used to filter CloudTrail network activity events and is optional. This field identifies the VPC endpoint that the request passed through. You can use any operator with ``vpcEndpointId`` .
2093
2092
 
2094
2093
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudtrail-eventdatastore-advancedfieldselector.html#cfn-cloudtrail-eventdatastore-advancedfieldselector-field
@@ -3257,15 +3256,12 @@ class CfnTrail(
3257
3256
  *Supported CloudTrail event record fields for data events*
3258
3257
 
3259
3258
  - ``eventCategory`` (required)
3260
- - ``resources.type`` (required)
3261
- - ``readOnly``
3262
3259
  - ``eventName``
3263
- - ``resources.ARN``
3264
-
3265
- The following additional fields are available for event data stores:
3266
-
3267
3260
  - ``eventSource``
3268
3261
  - ``eventType``
3262
+ - ``resources.ARN``
3263
+ - ``resources.type`` (required)
3264
+ - ``readOnly``
3269
3265
  - ``sessionCredentialFromConsole``
3270
3266
  - ``userIdentity.arn``
3271
3267
 
@@ -3379,7 +3375,7 @@ class CfnTrail(
3379
3375
  ) -> None:
3380
3376
  '''A single selector statement in an advanced event selector.
3381
3377
 
3382
- :param field: A field in a CloudTrail event record on which to filter events to be logged. For event data stores for CloudTrail Insights events, AWS Config configuration items, Audit Manager evidence, or events outside of AWS , the field is used only for selecting events as filtering is not supported. For CloudTrail management events, supported fields include ``eventCategory`` (required), ``eventSource`` , and ``readOnly`` . The following additional fields are available for event data stores: ``eventName`` , ``eventType`` , ``sessionCredentialFromConsole`` , and ``userIdentity.arn`` . For CloudTrail data events, supported fields include ``eventCategory`` (required), ``resources.type`` (required), ``eventName`` , ``readOnly`` , and ``resources.ARN`` . The following additional fields are available for event data stores: ``eventSource`` , ``eventType`` , ``sessionCredentialFromConsole`` , and ``userIdentity.arn`` . For CloudTrail network activity events, supported fields include ``eventCategory`` (required), ``eventSource`` (required), ``eventName`` , ``errorCode`` , and ``vpcEndpointId`` . For event data stores for CloudTrail Insights events, AWS Config configuration items, Audit Manager evidence, or events outside of AWS , the only supported field is ``eventCategory`` . .. epigraph:: Selectors don't support the use of wildcards like ``*`` . To match multiple values with a single condition, you may use ``StartsWith`` , ``EndsWith`` , ``NotStartsWith`` , or ``NotEndsWith`` to explicitly match the beginning or end of the event field. - *``readOnly``* - This is an optional field that is only used for management events and data events. This field can be set to ``Equals`` with a value of ``true`` or ``false`` . If you do not add this field, CloudTrail logs both ``read`` and ``write`` events. A value of ``true`` logs only ``read`` events. A value of ``false`` logs only ``write`` events. - *``eventSource``* - This field is only used for management events, data events (for event data stores only), and network activity events. For management events for trails, this is an optional field that can be set to ``NotEquals`` ``kms.amazonaws.com`` to exclude KMS management events, or ``NotEquals`` ``rdsdata.amazonaws.com`` to exclude RDS management events. For management and data events for event data stores, you can use it to include or exclude any event source and can use any operator. For network activity events, this is a required field that only uses the ``Equals`` operator. Set this field to the event source for which you want to log network activity events. If you want to log network activity events for multiple event sources, you must create a separate field selector for each event source. For a list of services supporting network activity events, see `Logging network activity events <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-network-events-with-cloudtrail.html>`_ in the *AWS CloudTrail User Guide* . - *``eventName``* - This is an optional field that is only used for data events, management events (for event data stores only), and network activity events. You can use any operator with ``eventName`` . You can use it to filter in or filter out specific events. You can have multiple values for this field, separated by commas. - *``eventCategory``* - This field is required and must be set to ``Equals`` . - For CloudTrail management events, the value must be ``Management`` . - For CloudTrail data events, the value must be ``Data`` . - For CloudTrail network activity events, the value must be ``NetworkActivity`` . The following are used only for event data stores: - For CloudTrail Insights events, the value must be ``Insight`` . - For AWS Config configuration items, the value must be ``ConfigurationItem`` . - For Audit Manager evidence, the value must be ``Evidence`` . - For events outside of AWS , the value must be ``ActivityAuditLog`` . - *``eventType``* - This is an optional field available only for event data stores, which is used to filter management and data events on the event type. For information about available event types, see `CloudTrail record contents <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-event-reference-record-contents.html#ct-event-type>`_ in the *AWS CloudTrail user guide* . - *``errorCode``* - This field is only used to filter CloudTrail network activity events and is optional. This is the error code to filter on. Currently, the only valid ``errorCode`` is ``VpceAccessDenied`` . ``errorCode`` can only use the ``Equals`` operator. - *``sessionCredentialFromConsole``* - This is an optional field available only for event data stores, which is used to filter management and data events based on whether the events originated from an AWS Management Console session. ``sessionCredentialFromConsole`` can only use the ``Equals`` and ``NotEquals`` operators. - *``resources.type``* - This field is required for CloudTrail data events. ``resources.type`` can only use the ``Equals`` operator. For a list of available resource types for data events, see `Data events <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html#logging-data-events>`_ in the *AWS CloudTrail User Guide* . You can have only one ``resources.type`` field per selector. To log events on more than one resource type, add another selector. - *``resources.ARN``* - The ``resources.ARN`` is an optional field for data events. You can use any operator with ``resources.ARN`` , but if you use ``Equals`` or ``NotEquals`` , the value must exactly match the ARN of a valid resource of the type you've specified in the template as the value of resources.type. To log all data events for all objects in a specific S3 bucket, use the ``StartsWith`` operator, and include only the bucket ARN as the matching value. For more information about the ARN formats of data event resources, see `Actions, resources, and condition keys for AWS services <https://docs.aws.amazon.com/service-authorization/latest/reference/reference_policies_actions-resources-contextkeys.html>`_ in the *Service Authorization Reference* . .. epigraph:: You can't use the ``resources.ARN`` field to filter resource types that do not have ARNs. - *``userIdentity.arn``* - This is an optional field available only for event data stores, which is used to filter management and data events on the userIdentity ARN. You can use any operator with ``userIdentity.arn`` . For more information on the userIdentity element, see `CloudTrail userIdentity element <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-event-reference-user-identity.html>`_ in the *AWS CloudTrail User Guide* . - *``vpcEndpointId``* - This field is only used to filter CloudTrail network activity events and is optional. This field identifies the VPC endpoint that the request passed through. You can use any operator with ``vpcEndpointId`` .
3378
+ :param field: A field in a CloudTrail event record on which to filter events to be logged. For event data stores for CloudTrail Insights events, AWS Config configuration items, Audit Manager evidence, or events outside of AWS , the field is used only for selecting events as filtering is not supported. For CloudTrail management events, supported fields include ``eventCategory`` (required), ``eventSource`` , and ``readOnly`` . The following additional fields are available for event data stores: ``eventName`` , ``eventType`` , ``sessionCredentialFromConsole`` , and ``userIdentity.arn`` . For CloudTrail data events, supported fields include ``eventCategory`` (required), ``eventName`` , ``eventSource`` , ``eventType`` , ``resources.type`` (required), ``readOnly`` , ``resources.ARN`` , ``sessionCredentialFromConsole`` , and ``userIdentity.arn`` . For CloudTrail network activity events, supported fields include ``eventCategory`` (required), ``eventSource`` (required), ``eventName`` , ``errorCode`` , and ``vpcEndpointId`` . For event data stores for CloudTrail Insights events, AWS Config configuration items, Audit Manager evidence, or events outside of AWS , the only supported field is ``eventCategory`` . .. epigraph:: Selectors don't support the use of wildcards like ``*`` . To match multiple values with a single condition, you may use ``StartsWith`` , ``EndsWith`` , ``NotStartsWith`` , or ``NotEndsWith`` to explicitly match the beginning or end of the event field. - *``readOnly``* - This is an optional field that is only used for management events and data events. This field can be set to ``Equals`` with a value of ``true`` or ``false`` . If you do not add this field, CloudTrail logs both ``read`` and ``write`` events. A value of ``true`` logs only ``read`` events. A value of ``false`` logs only ``write`` events. - *``eventSource``* - This field is only used for management events, data events, and network activity events. For management events for trails, this is an optional field that can be set to ``NotEquals`` ``kms.amazonaws.com`` to exclude KMS management events, or ``NotEquals`` ``rdsdata.amazonaws.com`` to exclude RDS management events. For data events for trails, this is an optional field that you can use to include or exclude any event source and can use any operator. For management and data events for event data stores, this is an optional field that you can use to include or exclude any event source and can use any operator. For network activity events, this is a required field that only uses the ``Equals`` operator. Set this field to the event source for which you want to log network activity events. If you want to log network activity events for multiple event sources, you must create a separate field selector for each event source. For a list of services supporting network activity events, see `Logging network activity events <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-network-events-with-cloudtrail.html>`_ in the *AWS CloudTrail User Guide* . - *``eventName``* - This is an optional field that is only used for data events, management events (for event data stores only), and network activity events. You can use any operator with ``eventName`` . You can use it to filter in or filter out specific events. You can have multiple values for this field, separated by commas. - *``eventCategory``* - This field is required and must be set to ``Equals`` . - For CloudTrail management events, the value must be ``Management`` . - For CloudTrail data events, the value must be ``Data`` . - For CloudTrail network activity events, the value must be ``NetworkActivity`` . The following are used only for event data stores: - For CloudTrail Insights events, the value must be ``Insight`` . - For AWS Config configuration items, the value must be ``ConfigurationItem`` . - For Audit Manager evidence, the value must be ``Evidence`` . - For events outside of AWS , the value must be ``ActivityAuditLog`` . - *``eventType``* - For event data stores, this is an optional field available for event data stores to filter management and data events on the event type. For trails, this is an optional field to filter data events on the event type. For information about available event types, see `CloudTrail record contents <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-event-reference-record-contents.html#ct-event-type>`_ in the *AWS CloudTrail user guide* . - *``errorCode``* - This field is only used to filter CloudTrail network activity events and is optional. This is the error code to filter on. Currently, the only valid ``errorCode`` is ``VpceAccessDenied`` . ``errorCode`` can only use the ``Equals`` operator. - *``sessionCredentialFromConsole``* - For event data stores, this is an optional field used to filter management and data events based on whether the events originated from an AWS Management Console session. For trails, this is an optional field used to filter data events. ``sessionCredentialFromConsole`` can only use the ``Equals`` and ``NotEquals`` operators. - *``resources.type``* - This field is required for CloudTrail data events. ``resources.type`` can only use the ``Equals`` operator. For a list of available resource types for data events, see `Data events <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html#logging-data-events>`_ in the *AWS CloudTrail User Guide* . You can have only one ``resources.type`` field per selector. To log events on more than one resource type, add another selector. - *``resources.ARN``* - The ``resources.ARN`` is an optional field for data events. You can use any operator with ``resources.ARN`` , but if you use ``Equals`` or ``NotEquals`` , the value must exactly match the ARN of a valid resource of the type you've specified in the template as the value of resources.type. To log all data events for all objects in a specific S3 bucket, use the ``StartsWith`` operator, and include only the bucket ARN as the matching value. For more information about the ARN formats of data event resources, see `Actions, resources, and condition keys for AWS services <https://docs.aws.amazon.com/service-authorization/latest/reference/reference_policies_actions-resources-contextkeys.html>`_ in the *Service Authorization Reference* . .. epigraph:: You can't use the ``resources.ARN`` field to filter resource types that do not have ARNs. - *``userIdentity.arn``* - For event data stores, this is an optional field used to filter management and data events for actions taken by specific IAM identities. For trails, this is an optional field used to filter data events. You can use any operator with ``userIdentity.arn`` . For more information on the userIdentity element, see `CloudTrail userIdentity element <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-event-reference-user-identity.html>`_ in the *AWS CloudTrail User Guide* . - *``vpcEndpointId``* - This field is only used to filter CloudTrail network activity events and is optional. This field identifies the VPC endpoint that the request passed through. You can use any operator with ``vpcEndpointId`` .
3383
3379
  :param ends_with: An operator that includes events that match the last few characters of the event record field specified as the value of ``Field`` .
3384
3380
  :param equal_to: An operator that includes events that match the exact value of the event record field specified as the value of ``Field`` . This is the only valid operator that you can use with the ``readOnly`` , ``eventCategory`` , and ``resources.type`` fields.
3385
3381
  :param not_ends_with: An operator that excludes events that match the last few characters of the event record field specified as the value of ``Field`` .
@@ -3441,7 +3437,7 @@ class CfnTrail(
3441
3437
 
3442
3438
  For CloudTrail management events, supported fields include ``eventCategory`` (required), ``eventSource`` , and ``readOnly`` . The following additional fields are available for event data stores: ``eventName`` , ``eventType`` , ``sessionCredentialFromConsole`` , and ``userIdentity.arn`` .
3443
3439
 
3444
- For CloudTrail data events, supported fields include ``eventCategory`` (required), ``resources.type`` (required), ``eventName`` , ``readOnly`` , and ``resources.ARN`` . The following additional fields are available for event data stores: ``eventSource`` , ``eventType`` , ``sessionCredentialFromConsole`` , and ``userIdentity.arn`` .
3440
+ For CloudTrail data events, supported fields include ``eventCategory`` (required), ``eventName`` , ``eventSource`` , ``eventType`` , ``resources.type`` (required), ``readOnly`` , ``resources.ARN`` , ``sessionCredentialFromConsole`` , and ``userIdentity.arn`` .
3445
3441
 
3446
3442
  For CloudTrail network activity events, supported fields include ``eventCategory`` (required), ``eventSource`` (required), ``eventName`` , ``errorCode`` , and ``vpcEndpointId`` .
3447
3443
 
@@ -3451,11 +3447,13 @@ class CfnTrail(
3451
3447
  Selectors don't support the use of wildcards like ``*`` . To match multiple values with a single condition, you may use ``StartsWith`` , ``EndsWith`` , ``NotStartsWith`` , or ``NotEndsWith`` to explicitly match the beginning or end of the event field.
3452
3448
 
3453
3449
  - *``readOnly``* - This is an optional field that is only used for management events and data events. This field can be set to ``Equals`` with a value of ``true`` or ``false`` . If you do not add this field, CloudTrail logs both ``read`` and ``write`` events. A value of ``true`` logs only ``read`` events. A value of ``false`` logs only ``write`` events.
3454
- - *``eventSource``* - This field is only used for management events, data events (for event data stores only), and network activity events.
3450
+ - *``eventSource``* - This field is only used for management events, data events, and network activity events.
3455
3451
 
3456
3452
  For management events for trails, this is an optional field that can be set to ``NotEquals`` ``kms.amazonaws.com`` to exclude KMS management events, or ``NotEquals`` ``rdsdata.amazonaws.com`` to exclude RDS management events.
3457
3453
 
3458
- For management and data events for event data stores, you can use it to include or exclude any event source and can use any operator.
3454
+ For data events for trails, this is an optional field that you can use to include or exclude any event source and can use any operator.
3455
+
3456
+ For management and data events for event data stores, this is an optional field that you can use to include or exclude any event source and can use any operator.
3459
3457
 
3460
3458
  For network activity events, this is a required field that only uses the ``Equals`` operator. Set this field to the event source for which you want to log network activity events. If you want to log network activity events for multiple event sources, you must create a separate field selector for each event source. For a list of services supporting network activity events, see `Logging network activity events <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-network-events-with-cloudtrail.html>`_ in the *AWS CloudTrail User Guide* .
3461
3459
 
@@ -3471,9 +3469,9 @@ class CfnTrail(
3471
3469
  - For AWS Config configuration items, the value must be ``ConfigurationItem`` .
3472
3470
  - For Audit Manager evidence, the value must be ``Evidence`` .
3473
3471
  - For events outside of AWS , the value must be ``ActivityAuditLog`` .
3474
- - *``eventType``* - This is an optional field available only for event data stores, which is used to filter management and data events on the event type. For information about available event types, see `CloudTrail record contents <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-event-reference-record-contents.html#ct-event-type>`_ in the *AWS CloudTrail user guide* .
3472
+ - *``eventType``* - For event data stores, this is an optional field available for event data stores to filter management and data events on the event type. For trails, this is an optional field to filter data events on the event type. For information about available event types, see `CloudTrail record contents <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-event-reference-record-contents.html#ct-event-type>`_ in the *AWS CloudTrail user guide* .
3475
3473
  - *``errorCode``* - This field is only used to filter CloudTrail network activity events and is optional. This is the error code to filter on. Currently, the only valid ``errorCode`` is ``VpceAccessDenied`` . ``errorCode`` can only use the ``Equals`` operator.
3476
- - *``sessionCredentialFromConsole``* - This is an optional field available only for event data stores, which is used to filter management and data events based on whether the events originated from an AWS Management Console session. ``sessionCredentialFromConsole`` can only use the ``Equals`` and ``NotEquals`` operators.
3474
+ - *``sessionCredentialFromConsole``* - For event data stores, this is an optional field used to filter management and data events based on whether the events originated from an AWS Management Console session. For trails, this is an optional field used to filter data events. ``sessionCredentialFromConsole`` can only use the ``Equals`` and ``NotEquals`` operators.
3477
3475
  - *``resources.type``* - This field is required for CloudTrail data events. ``resources.type`` can only use the ``Equals`` operator.
3478
3476
 
3479
3477
  For a list of available resource types for data events, see `Data events <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html#logging-data-events>`_ in the *AWS CloudTrail User Guide* .
@@ -3487,7 +3485,7 @@ class CfnTrail(
3487
3485
 
3488
3486
  You can't use the ``resources.ARN`` field to filter resource types that do not have ARNs.
3489
3487
 
3490
- - *``userIdentity.arn``* - This is an optional field available only for event data stores, which is used to filter management and data events on the userIdentity ARN. You can use any operator with ``userIdentity.arn`` . For more information on the userIdentity element, see `CloudTrail userIdentity element <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-event-reference-user-identity.html>`_ in the *AWS CloudTrail User Guide* .
3488
+ - *``userIdentity.arn``* - For event data stores, this is an optional field used to filter management and data events for actions taken by specific IAM identities. For trails, this is an optional field used to filter data events. You can use any operator with ``userIdentity.arn`` . For more information on the userIdentity element, see `CloudTrail userIdentity element <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-event-reference-user-identity.html>`_ in the *AWS CloudTrail User Guide* .
3491
3489
  - *``vpcEndpointId``* - This field is only used to filter CloudTrail network activity events and is optional. This field identifies the VPC endpoint that the request passed through. You can use any operator with ``vpcEndpointId`` .
3492
3490
 
3493
3491
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudtrail-trail-advancedfieldselector.html#cfn-cloudtrail-trail-advancedfieldselector-field
@@ -3564,7 +3564,11 @@ class CfnProject(
3564
3564
  exclude_matched_pattern=False
3565
3565
  )]],
3566
3566
  scope_configuration=codebuild.CfnProject.ScopeConfigurationProperty(
3567
- name="name"
3567
+ name="name",
3568
+
3569
+ # the properties below are optional
3570
+ domain="domain",
3571
+ scope="scope"
3568
3572
  ),
3569
3573
  webhook=False
3570
3574
  ),
@@ -5732,7 +5736,11 @@ class CfnProject(
5732
5736
  exclude_matched_pattern=False
5733
5737
  )]],
5734
5738
  scope_configuration=codebuild.CfnProject.ScopeConfigurationProperty(
5735
- name="name"
5739
+ name="name",
5740
+
5741
+ # the properties below are optional
5742
+ domain="domain",
5743
+ scope="scope"
5736
5744
  ),
5737
5745
  webhook=False
5738
5746
  )
@@ -6000,13 +6008,21 @@ class CfnProject(
6000
6008
  @jsii.data_type(
6001
6009
  jsii_type="aws-cdk-lib.aws_codebuild.CfnProject.ScopeConfigurationProperty",
6002
6010
  jsii_struct_bases=[],
6003
- name_mapping={"name": "name"},
6011
+ name_mapping={"name": "name", "domain": "domain", "scope": "scope"},
6004
6012
  )
6005
6013
  class ScopeConfigurationProperty:
6006
- def __init__(self, *, name: builtins.str) -> None:
6014
+ def __init__(
6015
+ self,
6016
+ *,
6017
+ name: builtins.str,
6018
+ domain: typing.Optional[builtins.str] = None,
6019
+ scope: typing.Optional[builtins.str] = None,
6020
+ ) -> None:
6007
6021
  '''Contains configuration information about the scope for a webhook.
6008
6022
 
6009
6023
  :param name: The name of either the enterprise or organization that will send webhook events to CodeBuild , depending on if the webhook is a global or organization webhook respectively.
6024
+ :param domain:
6025
+ :param scope:
6010
6026
 
6011
6027
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-scopeconfiguration.html
6012
6028
  :exampleMetadata: fixture=_generated
@@ -6018,15 +6034,25 @@ class CfnProject(
6018
6034
  from aws_cdk import aws_codebuild as codebuild
6019
6035
 
6020
6036
  scope_configuration_property = codebuild.CfnProject.ScopeConfigurationProperty(
6021
- name="name"
6037
+ name="name",
6038
+
6039
+ # the properties below are optional
6040
+ domain="domain",
6041
+ scope="scope"
6022
6042
  )
6023
6043
  '''
6024
6044
  if __debug__:
6025
6045
  type_hints = typing.get_type_hints(_typecheckingstub__32a108f04a81dd1f44ef69553884cac321bd7631e9997ac93f2e0891bca04d74)
6026
6046
  check_type(argname="argument name", value=name, expected_type=type_hints["name"])
6047
+ check_type(argname="argument domain", value=domain, expected_type=type_hints["domain"])
6048
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
6027
6049
  self._values: typing.Dict[builtins.str, typing.Any] = {
6028
6050
  "name": name,
6029
6051
  }
6052
+ if domain is not None:
6053
+ self._values["domain"] = domain
6054
+ if scope is not None:
6055
+ self._values["scope"] = scope
6030
6056
 
6031
6057
  @builtins.property
6032
6058
  def name(self) -> builtins.str:
@@ -6038,6 +6064,22 @@ class CfnProject(
6038
6064
  assert result is not None, "Required property 'name' is missing"
6039
6065
  return typing.cast(builtins.str, result)
6040
6066
 
6067
+ @builtins.property
6068
+ def domain(self) -> typing.Optional[builtins.str]:
6069
+ '''
6070
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-scopeconfiguration.html#cfn-codebuild-project-scopeconfiguration-domain
6071
+ '''
6072
+ result = self._values.get("domain")
6073
+ return typing.cast(typing.Optional[builtins.str], result)
6074
+
6075
+ @builtins.property
6076
+ def scope(self) -> typing.Optional[builtins.str]:
6077
+ '''
6078
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-scopeconfiguration.html#cfn-codebuild-project-scopeconfiguration-scope
6079
+ '''
6080
+ result = self._values.get("scope")
6081
+ return typing.cast(typing.Optional[builtins.str], result)
6082
+
6041
6083
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
6042
6084
  return isinstance(rhs, self.__class__) and rhs._values == self._values
6043
6085
 
@@ -6926,7 +6968,11 @@ class CfnProjectProps:
6926
6968
  exclude_matched_pattern=False
6927
6969
  )]],
6928
6970
  scope_configuration=codebuild.CfnProject.ScopeConfigurationProperty(
6929
- name="name"
6971
+ name="name",
6972
+
6973
+ # the properties below are optional
6974
+ domain="domain",
6975
+ scope="scope"
6930
6976
  ),
6931
6977
  webhook=False
6932
6978
  ),
@@ -16198,7 +16244,11 @@ class SourceConfig:
16198
16244
  exclude_matched_pattern=False
16199
16245
  )]],
16200
16246
  scope_configuration=codebuild.CfnProject.ScopeConfigurationProperty(
16201
- name="name"
16247
+ name="name",
16248
+
16249
+ # the properties below are optional
16250
+ domain="domain",
16251
+ scope="scope"
16202
16252
  ),
16203
16253
  webhook=False
16204
16254
  ),
@@ -19166,6 +19216,8 @@ def _typecheckingstub__339e3977bff464cdbd76e63b42bfebb18a64e99f952fa16884abebf8e
19166
19216
  def _typecheckingstub__32a108f04a81dd1f44ef69553884cac321bd7631e9997ac93f2e0891bca04d74(
19167
19217
  *,
19168
19218
  name: builtins.str,
19219
+ domain: typing.Optional[builtins.str] = None,
19220
+ scope: typing.Optional[builtins.str] = None,
19169
19221
  ) -> None:
19170
19222
  """Type checking stubs"""
19171
19223
  pass
@@ -12661,6 +12661,7 @@ class CfnReplicationInstance(
12661
12661
  allow_major_version_upgrade=False,
12662
12662
  auto_minor_version_upgrade=False,
12663
12663
  availability_zone="availabilityZone",
12664
+ dns_name_servers="dnsNameServers",
12664
12665
  engine_version="engineVersion",
12665
12666
  kms_key_id="kmsKeyId",
12666
12667
  multi_az=False,
@@ -12688,6 +12689,7 @@ class CfnReplicationInstance(
12688
12689
  allow_major_version_upgrade: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
12689
12690
  auto_minor_version_upgrade: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
12690
12691
  availability_zone: typing.Optional[builtins.str] = None,
12692
+ dns_name_servers: typing.Optional[builtins.str] = None,
12691
12693
  engine_version: typing.Optional[builtins.str] = None,
12692
12694
  kms_key_id: typing.Optional[builtins.str] = None,
12693
12695
  multi_az: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
@@ -12708,6 +12710,7 @@ class CfnReplicationInstance(
12708
12710
  :param allow_major_version_upgrade: Indicates that major version upgrades are allowed. Changing this parameter does not result in an outage, and the change is asynchronously applied as soon as possible. This parameter must be set to ``true`` when specifying a value for the ``EngineVersion`` parameter that is a different major version than the replication instance's current version.
12709
12711
  :param auto_minor_version_upgrade: A value that indicates whether minor engine upgrades are applied automatically to the replication instance during the maintenance window. This parameter defaults to ``true`` . Default: ``true``
12710
12712
  :param availability_zone: The Availability Zone that the replication instance will be created in. The default value is a random, system-chosen Availability Zone in the endpoint's AWS Region , for example ``us-east-1d`` .
12713
+ :param dns_name_servers: A list of custom DNS name servers supported for the replication instance to access your on-premise source or target database. This list overrides the default name servers supported by the replication instance. You can specify a comma-separated list of internet addresses for up to four on-premise DNS name servers. For example: ``"1.1.1.1,2.2.2.2,3.3.3.3,4.4.4.4"``
12711
12714
  :param engine_version: The engine version number of the replication instance. If an engine version number is not specified when a replication instance is created, the default is the latest engine version available.
12712
12715
  :param kms_key_id: An AWS KMS key identifier that is used to encrypt the data on the replication instance. If you don't specify a value for the ``KmsKeyId`` parameter, AWS DMS uses your default encryption key. AWS KMS creates the default encryption key for your AWS account . Your AWS account has a different default encryption key for each AWS Region .
12713
12716
  :param multi_az: Specifies whether the replication instance is a Multi-AZ deployment. You can't set the ``AvailabilityZone`` parameter if the Multi-AZ parameter is set to ``true`` .
@@ -12730,6 +12733,7 @@ class CfnReplicationInstance(
12730
12733
  allow_major_version_upgrade=allow_major_version_upgrade,
12731
12734
  auto_minor_version_upgrade=auto_minor_version_upgrade,
12732
12735
  availability_zone=availability_zone,
12736
+ dns_name_servers=dns_name_servers,
12733
12737
  engine_version=engine_version,
12734
12738
  kms_key_id=kms_key_id,
12735
12739
  multi_az=multi_az,
@@ -12887,6 +12891,19 @@ class CfnReplicationInstance(
12887
12891
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
12888
12892
  jsii.set(self, "availabilityZone", value) # pyright: ignore[reportArgumentType]
12889
12893
 
12894
+ @builtins.property
12895
+ @jsii.member(jsii_name="dnsNameServers")
12896
+ def dns_name_servers(self) -> typing.Optional[builtins.str]:
12897
+ '''A list of custom DNS name servers supported for the replication instance to access your on-premise source or target database.'''
12898
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "dnsNameServers"))
12899
+
12900
+ @dns_name_servers.setter
12901
+ def dns_name_servers(self, value: typing.Optional[builtins.str]) -> None:
12902
+ if __debug__:
12903
+ type_hints = typing.get_type_hints(_typecheckingstub__833271e74c850f837f6e8dff595605bf2efd4a1ab4234131f44a14e4048371ab)
12904
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
12905
+ jsii.set(self, "dnsNameServers", value) # pyright: ignore[reportArgumentType]
12906
+
12890
12907
  @builtins.property
12891
12908
  @jsii.member(jsii_name="engineVersion")
12892
12909
  def engine_version(self) -> typing.Optional[builtins.str]:
@@ -13065,6 +13082,7 @@ class CfnReplicationInstance(
13065
13082
  "allow_major_version_upgrade": "allowMajorVersionUpgrade",
13066
13083
  "auto_minor_version_upgrade": "autoMinorVersionUpgrade",
13067
13084
  "availability_zone": "availabilityZone",
13085
+ "dns_name_servers": "dnsNameServers",
13068
13086
  "engine_version": "engineVersion",
13069
13087
  "kms_key_id": "kmsKeyId",
13070
13088
  "multi_az": "multiAz",
@@ -13087,6 +13105,7 @@ class CfnReplicationInstanceProps:
13087
13105
  allow_major_version_upgrade: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
13088
13106
  auto_minor_version_upgrade: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
13089
13107
  availability_zone: typing.Optional[builtins.str] = None,
13108
+ dns_name_servers: typing.Optional[builtins.str] = None,
13090
13109
  engine_version: typing.Optional[builtins.str] = None,
13091
13110
  kms_key_id: typing.Optional[builtins.str] = None,
13092
13111
  multi_az: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
@@ -13106,6 +13125,7 @@ class CfnReplicationInstanceProps:
13106
13125
  :param allow_major_version_upgrade: Indicates that major version upgrades are allowed. Changing this parameter does not result in an outage, and the change is asynchronously applied as soon as possible. This parameter must be set to ``true`` when specifying a value for the ``EngineVersion`` parameter that is a different major version than the replication instance's current version.
13107
13126
  :param auto_minor_version_upgrade: A value that indicates whether minor engine upgrades are applied automatically to the replication instance during the maintenance window. This parameter defaults to ``true`` . Default: ``true``
13108
13127
  :param availability_zone: The Availability Zone that the replication instance will be created in. The default value is a random, system-chosen Availability Zone in the endpoint's AWS Region , for example ``us-east-1d`` .
13128
+ :param dns_name_servers: A list of custom DNS name servers supported for the replication instance to access your on-premise source or target database. This list overrides the default name servers supported by the replication instance. You can specify a comma-separated list of internet addresses for up to four on-premise DNS name servers. For example: ``"1.1.1.1,2.2.2.2,3.3.3.3,4.4.4.4"``
13109
13129
  :param engine_version: The engine version number of the replication instance. If an engine version number is not specified when a replication instance is created, the default is the latest engine version available.
13110
13130
  :param kms_key_id: An AWS KMS key identifier that is used to encrypt the data on the replication instance. If you don't specify a value for the ``KmsKeyId`` parameter, AWS DMS uses your default encryption key. AWS KMS creates the default encryption key for your AWS account . Your AWS account has a different default encryption key for each AWS Region .
13111
13131
  :param multi_az: Specifies whether the replication instance is a Multi-AZ deployment. You can't set the ``AvailabilityZone`` parameter if the Multi-AZ parameter is set to ``true`` .
@@ -13135,6 +13155,7 @@ class CfnReplicationInstanceProps:
13135
13155
  allow_major_version_upgrade=False,
13136
13156
  auto_minor_version_upgrade=False,
13137
13157
  availability_zone="availabilityZone",
13158
+ dns_name_servers="dnsNameServers",
13138
13159
  engine_version="engineVersion",
13139
13160
  kms_key_id="kmsKeyId",
13140
13161
  multi_az=False,
@@ -13158,6 +13179,7 @@ class CfnReplicationInstanceProps:
13158
13179
  check_type(argname="argument allow_major_version_upgrade", value=allow_major_version_upgrade, expected_type=type_hints["allow_major_version_upgrade"])
13159
13180
  check_type(argname="argument auto_minor_version_upgrade", value=auto_minor_version_upgrade, expected_type=type_hints["auto_minor_version_upgrade"])
13160
13181
  check_type(argname="argument availability_zone", value=availability_zone, expected_type=type_hints["availability_zone"])
13182
+ check_type(argname="argument dns_name_servers", value=dns_name_servers, expected_type=type_hints["dns_name_servers"])
13161
13183
  check_type(argname="argument engine_version", value=engine_version, expected_type=type_hints["engine_version"])
13162
13184
  check_type(argname="argument kms_key_id", value=kms_key_id, expected_type=type_hints["kms_key_id"])
13163
13185
  check_type(argname="argument multi_az", value=multi_az, expected_type=type_hints["multi_az"])
@@ -13180,6 +13202,8 @@ class CfnReplicationInstanceProps:
13180
13202
  self._values["auto_minor_version_upgrade"] = auto_minor_version_upgrade
13181
13203
  if availability_zone is not None:
13182
13204
  self._values["availability_zone"] = availability_zone
13205
+ if dns_name_servers is not None:
13206
+ self._values["dns_name_servers"] = dns_name_servers
13183
13207
  if engine_version is not None:
13184
13208
  self._values["engine_version"] = engine_version
13185
13209
  if kms_key_id is not None:
@@ -13265,6 +13289,17 @@ class CfnReplicationInstanceProps:
13265
13289
  result = self._values.get("availability_zone")
13266
13290
  return typing.cast(typing.Optional[builtins.str], result)
13267
13291
 
13292
+ @builtins.property
13293
+ def dns_name_servers(self) -> typing.Optional[builtins.str]:
13294
+ '''A list of custom DNS name servers supported for the replication instance to access your on-premise source or target database.
13295
+
13296
+ This list overrides the default name servers supported by the replication instance. You can specify a comma-separated list of internet addresses for up to four on-premise DNS name servers. For example: ``"1.1.1.1,2.2.2.2,3.3.3.3,4.4.4.4"``
13297
+
13298
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-replicationinstance.html#cfn-dms-replicationinstance-dnsnameservers
13299
+ '''
13300
+ result = self._values.get("dns_name_servers")
13301
+ return typing.cast(typing.Optional[builtins.str], result)
13302
+
13268
13303
  @builtins.property
13269
13304
  def engine_version(self) -> typing.Optional[builtins.str]:
13270
13305
  '''The engine version number of the replication instance.
@@ -15774,6 +15809,7 @@ def _typecheckingstub__77ad0bed39c8ffa41b7998189a1d03defd3bc9e64d11468a83ada78f3
15774
15809
  allow_major_version_upgrade: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
15775
15810
  auto_minor_version_upgrade: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
15776
15811
  availability_zone: typing.Optional[builtins.str] = None,
15812
+ dns_name_servers: typing.Optional[builtins.str] = None,
15777
15813
  engine_version: typing.Optional[builtins.str] = None,
15778
15814
  kms_key_id: typing.Optional[builtins.str] = None,
15779
15815
  multi_az: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
@@ -15831,6 +15867,12 @@ def _typecheckingstub__ee6e53d98bd50e381b61c765da3209f4c1b0aa394cf600eb2ccbafb35
15831
15867
  """Type checking stubs"""
15832
15868
  pass
15833
15869
 
15870
+ def _typecheckingstub__833271e74c850f837f6e8dff595605bf2efd4a1ab4234131f44a14e4048371ab(
15871
+ value: typing.Optional[builtins.str],
15872
+ ) -> None:
15873
+ """Type checking stubs"""
15874
+ pass
15875
+
15834
15876
  def _typecheckingstub__d057c8319f7bf4d361b904777f661a4864eb7ad3c9a58d1f9f491601759c9956(
15835
15877
  value: typing.Optional[builtins.str],
15836
15878
  ) -> None:
@@ -15904,6 +15946,7 @@ def _typecheckingstub__c195b8dd61348ff1d9f7bd70b0a5b897ad23028c6c9ea122bf051cb2a
15904
15946
  allow_major_version_upgrade: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
15905
15947
  auto_minor_version_upgrade: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
15906
15948
  availability_zone: typing.Optional[builtins.str] = None,
15949
+ dns_name_servers: typing.Optional[builtins.str] = None,
15907
15950
  engine_version: typing.Optional[builtins.str] = None,
15908
15951
  kms_key_id: typing.Optional[builtins.str] = None,
15909
15952
  multi_az: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,