aws-cdk-lib 2.173.4__py3-none-any.whl → 2.174.1__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.
- aws_cdk/__init__.py +210 -181
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.173.4.jsii.tgz → aws-cdk-lib@2.174.1.jsii.tgz} +0 -0
- aws_cdk/aws_amazonmq/__init__.py +18 -0
- aws_cdk/aws_apigateway/__init__.py +127 -168
- aws_cdk/aws_appconfig/__init__.py +498 -1
- aws_cdk/aws_applicationautoscaling/__init__.py +4 -1
- aws_cdk/aws_appsync/__init__.py +4 -0
- aws_cdk/aws_autoscaling/__init__.py +96 -0
- aws_cdk/aws_batch/__init__.py +662 -237
- aws_cdk/aws_bedrock/__init__.py +2122 -181
- aws_cdk/aws_cassandra/__init__.py +476 -4
- aws_cdk/aws_cleanrooms/__init__.py +1227 -20
- aws_cdk/aws_cloudformation/__init__.py +172 -169
- aws_cdk/aws_cloudfront/__init__.py +773 -26
- aws_cdk/aws_cloudtrail/__init__.py +8 -2
- aws_cdk/aws_codebuild/__init__.py +83 -0
- aws_cdk/aws_codepipeline/__init__.py +2 -1
- aws_cdk/aws_cognito/__init__.py +232 -200
- aws_cdk/aws_connect/__init__.py +187 -36
- aws_cdk/aws_connectcampaignsv2/__init__.py +106 -12
- aws_cdk/aws_databrew/__init__.py +69 -1
- aws_cdk/aws_datasync/__init__.py +33 -28
- aws_cdk/aws_datazone/__init__.py +141 -41
- aws_cdk/aws_dlm/__init__.py +20 -10
- aws_cdk/aws_dms/__init__.py +736 -22
- aws_cdk/aws_docdb/__init__.py +134 -0
- aws_cdk/aws_dynamodb/__init__.py +76 -4
- aws_cdk/aws_ec2/__init__.py +1233 -65
- aws_cdk/aws_ecr/__init__.py +31 -0
- aws_cdk/aws_ecr_assets/__init__.py +5 -0
- aws_cdk/aws_ecs/__init__.py +88 -11
- aws_cdk/aws_efs/__init__.py +15 -8
- aws_cdk/aws_eks/__init__.py +114 -45
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +2 -2
- aws_cdk/aws_emrserverless/__init__.py +143 -0
- aws_cdk/aws_events/__init__.py +50 -30
- aws_cdk/aws_fis/__init__.py +33 -33
- aws_cdk/aws_fsx/__init__.py +20 -10
- aws_cdk/aws_glue/__init__.py +34 -11
- aws_cdk/aws_greengrass/__init__.py +8 -8
- aws_cdk/aws_guardduty/__init__.py +1 -1
- aws_cdk/aws_imagebuilder/__init__.py +45 -47
- aws_cdk/aws_internetmonitor/__init__.py +3 -3
- aws_cdk/aws_invoicing/__init__.py +55 -30
- aws_cdk/aws_iot/__init__.py +1117 -4
- aws_cdk/aws_iot1click/__init__.py +17 -7
- aws_cdk/aws_kendra/__init__.py +4 -6
- aws_cdk/aws_lambda/__init__.py +15 -1
- aws_cdk/aws_logs/__init__.py +4011 -86
- aws_cdk/aws_m2/__init__.py +41 -0
- aws_cdk/aws_mediaconnect/__init__.py +202 -7
- aws_cdk/aws_mediaconvert/__init__.py +39 -0
- aws_cdk/aws_memorydb/__init__.py +22 -22
- aws_cdk/aws_networkmanager/__init__.py +758 -0
- aws_cdk/aws_opensearchservice/__init__.py +222 -0
- aws_cdk/aws_organizations/__init__.py +5 -3
- aws_cdk/aws_pcs/__init__.py +3038 -0
- aws_cdk/aws_pipes/__init__.py +10 -10
- aws_cdk/aws_qbusiness/__init__.py +415 -140
- aws_cdk/aws_quicksight/__init__.py +59795 -49748
- aws_cdk/aws_ram/__init__.py +5 -11
- aws_cdk/aws_rbin/__init__.py +28 -16
- aws_cdk/aws_rds/__init__.py +186 -31
- aws_cdk/aws_redshiftserverless/__init__.py +156 -0
- aws_cdk/aws_resiliencehub/__init__.py +2 -1
- aws_cdk/aws_route53_targets/__init__.py +5 -5
- aws_cdk/aws_s3/__init__.py +25 -15
- aws_cdk/aws_s3express/__init__.py +7 -7
- aws_cdk/aws_s3tables/__init__.py +683 -0
- aws_cdk/aws_sagemaker/__init__.py +580 -195
- aws_cdk/aws_secretsmanager/__init__.py +2 -0
- aws_cdk/aws_securityhub/__init__.py +41 -165
- aws_cdk/aws_servicediscovery/__init__.py +10 -3
- aws_cdk/aws_ses/__init__.py +190 -5
- aws_cdk/aws_sns/__init__.py +7 -3
- aws_cdk/aws_synthetics/__init__.py +29 -4
- aws_cdk/aws_transfer/__init__.py +8 -0
- aws_cdk/aws_vpclattice/__init__.py +147 -77
- aws_cdk/aws_wafv2/__init__.py +20 -8
- aws_cdk/aws_wisdom/__init__.py +162 -111
- aws_cdk/aws_workspaces/__init__.py +10 -4
- aws_cdk/cloud_assembly_schema/__init__.py +22 -0
- aws_cdk/custom_resources/__init__.py +31 -0
- aws_cdk/cx_api/__init__.py +19 -0
- {aws_cdk_lib-2.173.4.dist-info → aws_cdk_lib-2.174.1.dist-info}/LICENSE +1 -1
- {aws_cdk_lib-2.173.4.dist-info → aws_cdk_lib-2.174.1.dist-info}/METADATA +2 -2
- {aws_cdk_lib-2.173.4.dist-info → aws_cdk_lib-2.174.1.dist-info}/NOTICE +1 -1
- {aws_cdk_lib-2.173.4.dist-info → aws_cdk_lib-2.174.1.dist-info}/RECORD +91 -89
- {aws_cdk_lib-2.173.4.dist-info → aws_cdk_lib-2.174.1.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.173.4.dist-info → aws_cdk_lib-2.174.1.dist-info}/top_level.txt +0 -0
|
@@ -1983,7 +1983,7 @@ class CfnEventDataStore(
|
|
|
1983
1983
|
) -> None:
|
|
1984
1984
|
'''A single selector statement in an advanced event selector.
|
|
1985
1985
|
|
|
1986
|
-
: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`` . - *``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. The following are valid values for network activity events: - ``cloudtrail.amazonaws.com`` - ``ec2.amazonaws.com`` - ``kms.amazonaws.com`` - ``secretsmanager.amazonaws.com`` - *``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 information about filtering data events on the ``resources.ARN`` field, see `Filtering data events by resources.ARN <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/filtering-data-events.html#filtering-data-events-resourcearn>`_ in the *AWS CloudTrail User Guide* . .. 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`` .
|
|
1986
|
+
: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. The following are valid values for network activity events: - ``cloudtrail.amazonaws.com`` - ``ec2.amazonaws.com`` - ``kms.amazonaws.com`` - ``secretsmanager.amazonaws.com`` - *``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 information about filtering data events on the ``resources.ARN`` field, see `Filtering data events by resources.ARN <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/filtering-data-events.html#filtering-data-events-resourcearn>`_ in the *AWS CloudTrail User Guide* . .. 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`` .
|
|
1987
1987
|
: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`` .
|
|
1988
1988
|
: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.
|
|
1989
1989
|
: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`` .
|
|
@@ -2050,6 +2050,9 @@ class CfnEventDataStore(
|
|
|
2050
2050
|
For CloudTrail network activity events, supported fields include ``eventCategory`` (required), ``eventSource`` (required), ``eventName`` , ``errorCode`` , and ``vpcEndpointId`` .
|
|
2051
2051
|
|
|
2052
2052
|
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`` .
|
|
2053
|
+
.. epigraph::
|
|
2054
|
+
|
|
2055
|
+
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
2056
|
|
|
2054
2057
|
- *``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
2058
|
- *``eventSource``* - This field is only used for management events, data events (for event data stores only), and network activity events.
|
|
@@ -3388,7 +3391,7 @@ class CfnTrail(
|
|
|
3388
3391
|
) -> None:
|
|
3389
3392
|
'''A single selector statement in an advanced event selector.
|
|
3390
3393
|
|
|
3391
|
-
: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`` . - *``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. The following are valid values for network activity events: - ``cloudtrail.amazonaws.com`` - ``ec2.amazonaws.com`` - ``kms.amazonaws.com`` - ``secretsmanager.amazonaws.com`` - *``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 information about filtering data events on the ``resources.ARN`` field, see `Filtering data events by resources.ARN <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/filtering-data-events.html#filtering-data-events-resourcearn>`_ in the *AWS CloudTrail User Guide* . .. 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`` .
|
|
3394
|
+
: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. The following are valid values for network activity events: - ``cloudtrail.amazonaws.com`` - ``ec2.amazonaws.com`` - ``kms.amazonaws.com`` - ``secretsmanager.amazonaws.com`` - *``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 information about filtering data events on the ``resources.ARN`` field, see `Filtering data events by resources.ARN <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/filtering-data-events.html#filtering-data-events-resourcearn>`_ in the *AWS CloudTrail User Guide* . .. 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`` .
|
|
3392
3395
|
: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`` .
|
|
3393
3396
|
: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.
|
|
3394
3397
|
: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`` .
|
|
@@ -3455,6 +3458,9 @@ class CfnTrail(
|
|
|
3455
3458
|
For CloudTrail network activity events, supported fields include ``eventCategory`` (required), ``eventSource`` (required), ``eventName`` , ``errorCode`` , and ``vpcEndpointId`` .
|
|
3456
3459
|
|
|
3457
3460
|
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`` .
|
|
3461
|
+
.. epigraph::
|
|
3462
|
+
|
|
3463
|
+
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.
|
|
3458
3464
|
|
|
3459
3465
|
- *``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.
|
|
3460
3466
|
- *``eventSource``* - This field is only used for management events, data events (for event data stores only), and network activity events.
|
|
@@ -988,6 +988,20 @@ codebuild.Project(self, "MyProject",
|
|
|
988
988
|
visibility=codebuild.ProjectVisibility.PUBLIC_READ
|
|
989
989
|
)
|
|
990
990
|
```
|
|
991
|
+
|
|
992
|
+
## Auto retry limit
|
|
993
|
+
|
|
994
|
+
You can automatically retry your builds in AWS CodeBuild by setting `autoRetryLimit` property.
|
|
995
|
+
|
|
996
|
+
With auto-retry enabled, CodeBuild will automatically call RetryBuild using the project's service role after a failed build up to a specified limit.
|
|
997
|
+
|
|
998
|
+
For example, if the auto-retry limit is set to two, CodeBuild will call the RetryBuild API to automatically retry your build for up to two additional times.
|
|
999
|
+
|
|
1000
|
+
```python
|
|
1001
|
+
codebuild.Project(self, "MyProject",
|
|
1002
|
+
auto_retry_limit=2
|
|
1003
|
+
)
|
|
1004
|
+
```
|
|
991
1005
|
'''
|
|
992
1006
|
from pkgutil import extend_path
|
|
993
1007
|
__path__ = extend_path(__path__, __name__)
|
|
@@ -8237,6 +8251,7 @@ class CloudWatchLoggingOptions:
|
|
|
8237
8251
|
jsii_struct_bases=[],
|
|
8238
8252
|
name_mapping={
|
|
8239
8253
|
"allow_all_outbound": "allowAllOutbound",
|
|
8254
|
+
"auto_retry_limit": "autoRetryLimit",
|
|
8240
8255
|
"badge": "badge",
|
|
8241
8256
|
"build_spec": "buildSpec",
|
|
8242
8257
|
"cache": "cache",
|
|
@@ -8265,6 +8280,7 @@ class CommonProjectProps:
|
|
|
8265
8280
|
self,
|
|
8266
8281
|
*,
|
|
8267
8282
|
allow_all_outbound: typing.Optional[builtins.bool] = None,
|
|
8283
|
+
auto_retry_limit: typing.Optional[jsii.Number] = None,
|
|
8268
8284
|
badge: typing.Optional[builtins.bool] = None,
|
|
8269
8285
|
build_spec: typing.Optional[BuildSpec] = None,
|
|
8270
8286
|
cache: typing.Optional[Cache] = None,
|
|
@@ -8289,6 +8305,7 @@ class CommonProjectProps:
|
|
|
8289
8305
|
) -> None:
|
|
8290
8306
|
'''
|
|
8291
8307
|
:param allow_all_outbound: Whether to allow the CodeBuild to send all network traffic. If set to false, you must individually add traffic rules to allow the CodeBuild project to connect to network targets. Only used if 'vpc' is supplied. Default: true
|
|
8308
|
+
:param auto_retry_limit: CodeBuild will automatically call retry build using the project's service role up to the auto-retry limit. ``autoRetryLimit`` must be between 0 and 10. Default: - no retry
|
|
8292
8309
|
:param badge: Indicates whether AWS CodeBuild generates a publicly accessible URL for your project's build badge. For more information, see Build Badges Sample in the AWS CodeBuild User Guide. Default: false
|
|
8293
8310
|
:param build_spec: Filename or contents of buildspec in JSON format. Default: - Empty buildspec.
|
|
8294
8311
|
:param cache: Caching strategy to use. Default: Cache.none
|
|
@@ -8342,6 +8359,7 @@ class CommonProjectProps:
|
|
|
8342
8359
|
|
|
8343
8360
|
common_project_props = codebuild.CommonProjectProps(
|
|
8344
8361
|
allow_all_outbound=False,
|
|
8362
|
+
auto_retry_limit=123,
|
|
8345
8363
|
badge=False,
|
|
8346
8364
|
build_spec=build_spec,
|
|
8347
8365
|
cache=cache,
|
|
@@ -8419,6 +8437,7 @@ class CommonProjectProps:
|
|
|
8419
8437
|
if __debug__:
|
|
8420
8438
|
type_hints = typing.get_type_hints(_typecheckingstub__45bdedf6c9b38dcb0797768fa0fdec382e282ebd8679405f7dd9df6cb022c272)
|
|
8421
8439
|
check_type(argname="argument allow_all_outbound", value=allow_all_outbound, expected_type=type_hints["allow_all_outbound"])
|
|
8440
|
+
check_type(argname="argument auto_retry_limit", value=auto_retry_limit, expected_type=type_hints["auto_retry_limit"])
|
|
8422
8441
|
check_type(argname="argument badge", value=badge, expected_type=type_hints["badge"])
|
|
8423
8442
|
check_type(argname="argument build_spec", value=build_spec, expected_type=type_hints["build_spec"])
|
|
8424
8443
|
check_type(argname="argument cache", value=cache, expected_type=type_hints["cache"])
|
|
@@ -8443,6 +8462,8 @@ class CommonProjectProps:
|
|
|
8443
8462
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
8444
8463
|
if allow_all_outbound is not None:
|
|
8445
8464
|
self._values["allow_all_outbound"] = allow_all_outbound
|
|
8465
|
+
if auto_retry_limit is not None:
|
|
8466
|
+
self._values["auto_retry_limit"] = auto_retry_limit
|
|
8446
8467
|
if badge is not None:
|
|
8447
8468
|
self._values["badge"] = badge
|
|
8448
8469
|
if build_spec is not None:
|
|
@@ -8500,6 +8521,17 @@ class CommonProjectProps:
|
|
|
8500
8521
|
result = self._values.get("allow_all_outbound")
|
|
8501
8522
|
return typing.cast(typing.Optional[builtins.bool], result)
|
|
8502
8523
|
|
|
8524
|
+
@builtins.property
|
|
8525
|
+
def auto_retry_limit(self) -> typing.Optional[jsii.Number]:
|
|
8526
|
+
'''CodeBuild will automatically call retry build using the project's service role up to the auto-retry limit.
|
|
8527
|
+
|
|
8528
|
+
``autoRetryLimit`` must be between 0 and 10.
|
|
8529
|
+
|
|
8530
|
+
:default: - no retry
|
|
8531
|
+
'''
|
|
8532
|
+
result = self._values.get("auto_retry_limit")
|
|
8533
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
8534
|
+
|
|
8503
8535
|
@builtins.property
|
|
8504
8536
|
def badge(self) -> typing.Optional[builtins.bool]:
|
|
8505
8537
|
'''Indicates whether AWS CodeBuild generates a publicly accessible URL for your project's build badge.
|
|
@@ -9029,6 +9061,12 @@ class EnvironmentType(enum.Enum):
|
|
|
9029
9061
|
'''Windows Server 2022 container.'''
|
|
9030
9062
|
MAC_ARM = "MAC_ARM"
|
|
9031
9063
|
'''MacOS ARM container.'''
|
|
9064
|
+
LINUX_EC2 = "LINUX_EC2"
|
|
9065
|
+
'''Linux EC2.'''
|
|
9066
|
+
ARM_EC2 = "ARM_EC2"
|
|
9067
|
+
'''ARM EC2.'''
|
|
9068
|
+
WINDOWS_EC2 = "WINDOWS_EC2"
|
|
9069
|
+
'''Windows EC2.'''
|
|
9032
9070
|
|
|
9033
9071
|
|
|
9034
9072
|
@jsii.enum(jsii_type="aws-cdk-lib.aws_codebuild.EventAction")
|
|
@@ -12789,6 +12827,7 @@ class PhaseChangeEvent(
|
|
|
12789
12827
|
jsii_struct_bases=[CommonProjectProps],
|
|
12790
12828
|
name_mapping={
|
|
12791
12829
|
"allow_all_outbound": "allowAllOutbound",
|
|
12830
|
+
"auto_retry_limit": "autoRetryLimit",
|
|
12792
12831
|
"badge": "badge",
|
|
12793
12832
|
"build_spec": "buildSpec",
|
|
12794
12833
|
"cache": "cache",
|
|
@@ -12817,6 +12856,7 @@ class PipelineProjectProps(CommonProjectProps):
|
|
|
12817
12856
|
self,
|
|
12818
12857
|
*,
|
|
12819
12858
|
allow_all_outbound: typing.Optional[builtins.bool] = None,
|
|
12859
|
+
auto_retry_limit: typing.Optional[jsii.Number] = None,
|
|
12820
12860
|
badge: typing.Optional[builtins.bool] = None,
|
|
12821
12861
|
build_spec: typing.Optional[BuildSpec] = None,
|
|
12822
12862
|
cache: typing.Optional[Cache] = None,
|
|
@@ -12841,6 +12881,7 @@ class PipelineProjectProps(CommonProjectProps):
|
|
|
12841
12881
|
) -> None:
|
|
12842
12882
|
'''
|
|
12843
12883
|
:param allow_all_outbound: Whether to allow the CodeBuild to send all network traffic. If set to false, you must individually add traffic rules to allow the CodeBuild project to connect to network targets. Only used if 'vpc' is supplied. Default: true
|
|
12884
|
+
:param auto_retry_limit: CodeBuild will automatically call retry build using the project's service role up to the auto-retry limit. ``autoRetryLimit`` must be between 0 and 10. Default: - no retry
|
|
12844
12885
|
:param badge: Indicates whether AWS CodeBuild generates a publicly accessible URL for your project's build badge. For more information, see Build Badges Sample in the AWS CodeBuild User Guide. Default: false
|
|
12845
12886
|
:param build_spec: Filename or contents of buildspec in JSON format. Default: - Empty buildspec.
|
|
12846
12887
|
:param cache: Caching strategy to use. Default: Cache.none
|
|
@@ -12929,6 +12970,7 @@ class PipelineProjectProps(CommonProjectProps):
|
|
|
12929
12970
|
if __debug__:
|
|
12930
12971
|
type_hints = typing.get_type_hints(_typecheckingstub__cad18ebbb1c05a6adb06360d9baca4a0658b2f85c2078bc257ed8d4f8467c35e)
|
|
12931
12972
|
check_type(argname="argument allow_all_outbound", value=allow_all_outbound, expected_type=type_hints["allow_all_outbound"])
|
|
12973
|
+
check_type(argname="argument auto_retry_limit", value=auto_retry_limit, expected_type=type_hints["auto_retry_limit"])
|
|
12932
12974
|
check_type(argname="argument badge", value=badge, expected_type=type_hints["badge"])
|
|
12933
12975
|
check_type(argname="argument build_spec", value=build_spec, expected_type=type_hints["build_spec"])
|
|
12934
12976
|
check_type(argname="argument cache", value=cache, expected_type=type_hints["cache"])
|
|
@@ -12953,6 +12995,8 @@ class PipelineProjectProps(CommonProjectProps):
|
|
|
12953
12995
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
12954
12996
|
if allow_all_outbound is not None:
|
|
12955
12997
|
self._values["allow_all_outbound"] = allow_all_outbound
|
|
12998
|
+
if auto_retry_limit is not None:
|
|
12999
|
+
self._values["auto_retry_limit"] = auto_retry_limit
|
|
12956
13000
|
if badge is not None:
|
|
12957
13001
|
self._values["badge"] = badge
|
|
12958
13002
|
if build_spec is not None:
|
|
@@ -13010,6 +13054,17 @@ class PipelineProjectProps(CommonProjectProps):
|
|
|
13010
13054
|
result = self._values.get("allow_all_outbound")
|
|
13011
13055
|
return typing.cast(typing.Optional[builtins.bool], result)
|
|
13012
13056
|
|
|
13057
|
+
@builtins.property
|
|
13058
|
+
def auto_retry_limit(self) -> typing.Optional[jsii.Number]:
|
|
13059
|
+
'''CodeBuild will automatically call retry build using the project's service role up to the auto-retry limit.
|
|
13060
|
+
|
|
13061
|
+
``autoRetryLimit`` must be between 0 and 10.
|
|
13062
|
+
|
|
13063
|
+
:default: - no retry
|
|
13064
|
+
'''
|
|
13065
|
+
result = self._values.get("auto_retry_limit")
|
|
13066
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
13067
|
+
|
|
13013
13068
|
@builtins.property
|
|
13014
13069
|
def badge(self) -> typing.Optional[builtins.bool]:
|
|
13015
13070
|
'''Indicates whether AWS CodeBuild generates a publicly accessible URL for your project's build badge.
|
|
@@ -13314,6 +13369,7 @@ class Project(
|
|
|
13314
13369
|
secondary_sources: typing.Optional[typing.Sequence[ISource]] = None,
|
|
13315
13370
|
source: typing.Optional[ISource] = None,
|
|
13316
13371
|
allow_all_outbound: typing.Optional[builtins.bool] = None,
|
|
13372
|
+
auto_retry_limit: typing.Optional[jsii.Number] = None,
|
|
13317
13373
|
badge: typing.Optional[builtins.bool] = None,
|
|
13318
13374
|
build_spec: typing.Optional[BuildSpec] = None,
|
|
13319
13375
|
cache: typing.Optional[Cache] = None,
|
|
@@ -13344,6 +13400,7 @@ class Project(
|
|
|
13344
13400
|
:param secondary_sources: The secondary sources for the Project. Can be also added after the Project has been created by using the ``Project#addSecondarySource`` method. Default: - No secondary sources.
|
|
13345
13401
|
:param source: The source of the build. *Note*: if ``NoSource`` is given as the source, then you need to provide an explicit ``buildSpec``. Default: - NoSource
|
|
13346
13402
|
:param allow_all_outbound: Whether to allow the CodeBuild to send all network traffic. If set to false, you must individually add traffic rules to allow the CodeBuild project to connect to network targets. Only used if 'vpc' is supplied. Default: true
|
|
13403
|
+
:param auto_retry_limit: CodeBuild will automatically call retry build using the project's service role up to the auto-retry limit. ``autoRetryLimit`` must be between 0 and 10. Default: - no retry
|
|
13347
13404
|
:param badge: Indicates whether AWS CodeBuild generates a publicly accessible URL for your project's build badge. For more information, see Build Badges Sample in the AWS CodeBuild User Guide. Default: false
|
|
13348
13405
|
:param build_spec: Filename or contents of buildspec in JSON format. Default: - Empty buildspec.
|
|
13349
13406
|
:param cache: Caching strategy to use. Default: Cache.none
|
|
@@ -13376,6 +13433,7 @@ class Project(
|
|
|
13376
13433
|
secondary_sources=secondary_sources,
|
|
13377
13434
|
source=source,
|
|
13378
13435
|
allow_all_outbound=allow_all_outbound,
|
|
13436
|
+
auto_retry_limit=auto_retry_limit,
|
|
13379
13437
|
badge=badge,
|
|
13380
13438
|
build_spec=build_spec,
|
|
13381
13439
|
cache=cache,
|
|
@@ -14317,6 +14375,7 @@ class ProjectNotifyOnOptions(_NotificationRuleOptions_dff73281):
|
|
|
14317
14375
|
jsii_struct_bases=[CommonProjectProps],
|
|
14318
14376
|
name_mapping={
|
|
14319
14377
|
"allow_all_outbound": "allowAllOutbound",
|
|
14378
|
+
"auto_retry_limit": "autoRetryLimit",
|
|
14320
14379
|
"badge": "badge",
|
|
14321
14380
|
"build_spec": "buildSpec",
|
|
14322
14381
|
"cache": "cache",
|
|
@@ -14349,6 +14408,7 @@ class ProjectProps(CommonProjectProps):
|
|
|
14349
14408
|
self,
|
|
14350
14409
|
*,
|
|
14351
14410
|
allow_all_outbound: typing.Optional[builtins.bool] = None,
|
|
14411
|
+
auto_retry_limit: typing.Optional[jsii.Number] = None,
|
|
14352
14412
|
badge: typing.Optional[builtins.bool] = None,
|
|
14353
14413
|
build_spec: typing.Optional[BuildSpec] = None,
|
|
14354
14414
|
cache: typing.Optional[Cache] = None,
|
|
@@ -14377,6 +14437,7 @@ class ProjectProps(CommonProjectProps):
|
|
|
14377
14437
|
) -> None:
|
|
14378
14438
|
'''
|
|
14379
14439
|
:param allow_all_outbound: Whether to allow the CodeBuild to send all network traffic. If set to false, you must individually add traffic rules to allow the CodeBuild project to connect to network targets. Only used if 'vpc' is supplied. Default: true
|
|
14440
|
+
:param auto_retry_limit: CodeBuild will automatically call retry build using the project's service role up to the auto-retry limit. ``autoRetryLimit`` must be between 0 and 10. Default: - no retry
|
|
14380
14441
|
:param badge: Indicates whether AWS CodeBuild generates a publicly accessible URL for your project's build badge. For more information, see Build Badges Sample in the AWS CodeBuild User Guide. Default: false
|
|
14381
14442
|
:param build_spec: Filename or contents of buildspec in JSON format. Default: - Empty buildspec.
|
|
14382
14443
|
:param cache: Caching strategy to use. Default: Cache.none
|
|
@@ -14430,6 +14491,7 @@ class ProjectProps(CommonProjectProps):
|
|
|
14430
14491
|
if __debug__:
|
|
14431
14492
|
type_hints = typing.get_type_hints(_typecheckingstub__98a249849c6dd1146c8e8d845c1f535b7a85df68782d9f343764b44702f1be04)
|
|
14432
14493
|
check_type(argname="argument allow_all_outbound", value=allow_all_outbound, expected_type=type_hints["allow_all_outbound"])
|
|
14494
|
+
check_type(argname="argument auto_retry_limit", value=auto_retry_limit, expected_type=type_hints["auto_retry_limit"])
|
|
14433
14495
|
check_type(argname="argument badge", value=badge, expected_type=type_hints["badge"])
|
|
14434
14496
|
check_type(argname="argument build_spec", value=build_spec, expected_type=type_hints["build_spec"])
|
|
14435
14497
|
check_type(argname="argument cache", value=cache, expected_type=type_hints["cache"])
|
|
@@ -14458,6 +14520,8 @@ class ProjectProps(CommonProjectProps):
|
|
|
14458
14520
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
14459
14521
|
if allow_all_outbound is not None:
|
|
14460
14522
|
self._values["allow_all_outbound"] = allow_all_outbound
|
|
14523
|
+
if auto_retry_limit is not None:
|
|
14524
|
+
self._values["auto_retry_limit"] = auto_retry_limit
|
|
14461
14525
|
if badge is not None:
|
|
14462
14526
|
self._values["badge"] = badge
|
|
14463
14527
|
if build_spec is not None:
|
|
@@ -14523,6 +14587,17 @@ class ProjectProps(CommonProjectProps):
|
|
|
14523
14587
|
result = self._values.get("allow_all_outbound")
|
|
14524
14588
|
return typing.cast(typing.Optional[builtins.bool], result)
|
|
14525
14589
|
|
|
14590
|
+
@builtins.property
|
|
14591
|
+
def auto_retry_limit(self) -> typing.Optional[jsii.Number]:
|
|
14592
|
+
'''CodeBuild will automatically call retry build using the project's service role up to the auto-retry limit.
|
|
14593
|
+
|
|
14594
|
+
``autoRetryLimit`` must be between 0 and 10.
|
|
14595
|
+
|
|
14596
|
+
:default: - no retry
|
|
14597
|
+
'''
|
|
14598
|
+
result = self._values.get("auto_retry_limit")
|
|
14599
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
14600
|
+
|
|
14526
14601
|
@builtins.property
|
|
14527
14602
|
def badge(self) -> typing.Optional[builtins.bool]:
|
|
14528
14603
|
'''Indicates whether AWS CodeBuild generates a publicly accessible URL for your project's build badge.
|
|
@@ -17823,6 +17898,7 @@ class PipelineProject(
|
|
|
17823
17898
|
id: builtins.str,
|
|
17824
17899
|
*,
|
|
17825
17900
|
allow_all_outbound: typing.Optional[builtins.bool] = None,
|
|
17901
|
+
auto_retry_limit: typing.Optional[jsii.Number] = None,
|
|
17826
17902
|
badge: typing.Optional[builtins.bool] = None,
|
|
17827
17903
|
build_spec: typing.Optional[BuildSpec] = None,
|
|
17828
17904
|
cache: typing.Optional[Cache] = None,
|
|
@@ -17849,6 +17925,7 @@ class PipelineProject(
|
|
|
17849
17925
|
:param scope: -
|
|
17850
17926
|
:param id: -
|
|
17851
17927
|
:param allow_all_outbound: Whether to allow the CodeBuild to send all network traffic. If set to false, you must individually add traffic rules to allow the CodeBuild project to connect to network targets. Only used if 'vpc' is supplied. Default: true
|
|
17928
|
+
:param auto_retry_limit: CodeBuild will automatically call retry build using the project's service role up to the auto-retry limit. ``autoRetryLimit`` must be between 0 and 10. Default: - no retry
|
|
17852
17929
|
:param badge: Indicates whether AWS CodeBuild generates a publicly accessible URL for your project's build badge. For more information, see Build Badges Sample in the AWS CodeBuild User Guide. Default: false
|
|
17853
17930
|
:param build_spec: Filename or contents of buildspec in JSON format. Default: - Empty buildspec.
|
|
17854
17931
|
:param cache: Caching strategy to use. Default: Cache.none
|
|
@@ -17877,6 +17954,7 @@ class PipelineProject(
|
|
|
17877
17954
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
17878
17955
|
props = PipelineProjectProps(
|
|
17879
17956
|
allow_all_outbound=allow_all_outbound,
|
|
17957
|
+
auto_retry_limit=auto_retry_limit,
|
|
17880
17958
|
badge=badge,
|
|
17881
17959
|
build_spec=build_spec,
|
|
17882
17960
|
cache=cache,
|
|
@@ -18971,6 +19049,7 @@ def _typecheckingstub__4e4467ca0465848107e106703feaa1c7e5b01e6c17278f397449aa39b
|
|
|
18971
19049
|
def _typecheckingstub__45bdedf6c9b38dcb0797768fa0fdec382e282ebd8679405f7dd9df6cb022c272(
|
|
18972
19050
|
*,
|
|
18973
19051
|
allow_all_outbound: typing.Optional[builtins.bool] = None,
|
|
19052
|
+
auto_retry_limit: typing.Optional[jsii.Number] = None,
|
|
18974
19053
|
badge: typing.Optional[builtins.bool] = None,
|
|
18975
19054
|
build_spec: typing.Optional[BuildSpec] = None,
|
|
18976
19055
|
cache: typing.Optional[Cache] = None,
|
|
@@ -19489,6 +19568,7 @@ def _typecheckingstub__088f043d10fcd15701414055dc0a14f58d71044ecaba5c848f1c97225
|
|
|
19489
19568
|
def _typecheckingstub__cad18ebbb1c05a6adb06360d9baca4a0658b2f85c2078bc257ed8d4f8467c35e(
|
|
19490
19569
|
*,
|
|
19491
19570
|
allow_all_outbound: typing.Optional[builtins.bool] = None,
|
|
19571
|
+
auto_retry_limit: typing.Optional[jsii.Number] = None,
|
|
19492
19572
|
badge: typing.Optional[builtins.bool] = None,
|
|
19493
19573
|
build_spec: typing.Optional[BuildSpec] = None,
|
|
19494
19574
|
cache: typing.Optional[Cache] = None,
|
|
@@ -19523,6 +19603,7 @@ def _typecheckingstub__98b7b3a6b3dbe1931f04b0f953f1ae252e81da8d9335e78d6f3748d71
|
|
|
19523
19603
|
secondary_sources: typing.Optional[typing.Sequence[ISource]] = None,
|
|
19524
19604
|
source: typing.Optional[ISource] = None,
|
|
19525
19605
|
allow_all_outbound: typing.Optional[builtins.bool] = None,
|
|
19606
|
+
auto_retry_limit: typing.Optional[jsii.Number] = None,
|
|
19526
19607
|
badge: typing.Optional[builtins.bool] = None,
|
|
19527
19608
|
build_spec: typing.Optional[BuildSpec] = None,
|
|
19528
19609
|
cache: typing.Optional[Cache] = None,
|
|
@@ -19748,6 +19829,7 @@ def _typecheckingstub__bc03cbcaf72adec5894eef2ab3574a0593c9df9cedc3c395bdaeb7adc
|
|
|
19748
19829
|
def _typecheckingstub__98a249849c6dd1146c8e8d845c1f535b7a85df68782d9f343764b44702f1be04(
|
|
19749
19830
|
*,
|
|
19750
19831
|
allow_all_outbound: typing.Optional[builtins.bool] = None,
|
|
19832
|
+
auto_retry_limit: typing.Optional[jsii.Number] = None,
|
|
19751
19833
|
badge: typing.Optional[builtins.bool] = None,
|
|
19752
19834
|
build_spec: typing.Optional[BuildSpec] = None,
|
|
19753
19835
|
cache: typing.Optional[Cache] = None,
|
|
@@ -20044,6 +20126,7 @@ def _typecheckingstub__cb5f1bed2a9bb9c41d6f93b4b1a4c9ce7347295312e04439f922446ae
|
|
|
20044
20126
|
id: builtins.str,
|
|
20045
20127
|
*,
|
|
20046
20128
|
allow_all_outbound: typing.Optional[builtins.bool] = None,
|
|
20129
|
+
auto_retry_limit: typing.Optional[jsii.Number] = None,
|
|
20047
20130
|
badge: typing.Optional[builtins.bool] = None,
|
|
20048
20131
|
build_spec: typing.Optional[BuildSpec] = None,
|
|
20049
20132
|
cache: typing.Optional[Cache] = None,
|
|
@@ -3249,7 +3249,7 @@ class CfnPipeline(
|
|
|
3249
3249
|
) -> None:
|
|
3250
3250
|
'''Represents information about an action type.
|
|
3251
3251
|
|
|
3252
|
-
:param category: A category defines what kind of action can be taken in the stage, and constrains the provider type for the action. Valid categories are limited to one of the values below. - ``Source`` - ``Build`` - ``Test`` - ``Deploy`` - ``Invoke`` - ``Approval``
|
|
3252
|
+
:param category: A category defines what kind of action can be taken in the stage, and constrains the provider type for the action. Valid categories are limited to one of the values below. - ``Source`` - ``Build`` - ``Test`` - ``Deploy`` - ``Invoke`` - ``Approval`` - ``Compute``
|
|
3253
3253
|
:param owner: The creator of the action being called. There are three valid values for the ``Owner`` field in the action category section within your pipeline structure: ``AWS`` , ``ThirdParty`` , and ``Custom`` . For more information, see `Valid Action Types and Providers in CodePipeline <https://docs.aws.amazon.com/codepipeline/latest/userguide/reference-pipeline-structure.html#actions-valid-providers>`_ .
|
|
3254
3254
|
:param provider: The provider of the service being called by the action. Valid providers are determined by the action category. For example, an action in the Deploy category type might have a provider of CodeDeploy, which would be specified as ``CodeDeploy`` . For more information, see `Valid Action Types and Providers in CodePipeline <https://docs.aws.amazon.com/codepipeline/latest/userguide/reference-pipeline-structure.html#actions-valid-providers>`_ .
|
|
3255
3255
|
:param version: A string that describes the action version.
|
|
@@ -3295,6 +3295,7 @@ class CfnPipeline(
|
|
|
3295
3295
|
- ``Deploy``
|
|
3296
3296
|
- ``Invoke``
|
|
3297
3297
|
- ``Approval``
|
|
3298
|
+
- ``Compute``
|
|
3298
3299
|
|
|
3299
3300
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-actiontypeid.html#cfn-codepipeline-pipeline-actiontypeid-category
|
|
3300
3301
|
'''
|