aws-cdk-lib 2.125.0__py3-none-any.whl → 2.127.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.
- aws_cdk/__init__.py +0 -2
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.125.0.jsii.tgz → aws-cdk-lib@2.127.0.jsii.tgz} +0 -0
- aws_cdk/aws_acmpca/__init__.py +18 -6
- aws_cdk/aws_amazonmq/__init__.py +3 -2
- aws_cdk/aws_amplifyuibuilder/__init__.py +1212 -666
- aws_cdk/aws_apigateway/__init__.py +7 -3
- aws_cdk/aws_appconfig/__init__.py +108 -19
- aws_cdk/aws_appsync/__init__.py +43 -0
- aws_cdk/aws_autoscaling/__init__.py +37 -14
- aws_cdk/aws_cassandra/__init__.py +810 -4
- aws_cdk/aws_cloudfront/__init__.py +35 -37
- aws_cdk/aws_cloudfront/experimental/__init__.py +21 -0
- aws_cdk/aws_codebuild/__init__.py +43 -3
- aws_cdk/aws_codecommit/__init__.py +1 -0
- aws_cdk/aws_codepipeline/__init__.py +7 -3
- aws_cdk/aws_codepipeline_actions/__init__.py +11 -1
- aws_cdk/aws_codestarnotifications/__init__.py +24 -15
- aws_cdk/aws_cognito/__init__.py +180 -116
- aws_cdk/aws_datasync/__init__.py +8 -4
- aws_cdk/aws_dynamodb/__init__.py +80 -11
- aws_cdk/aws_ec2/__init__.py +207 -45
- aws_cdk/aws_ecs/__init__.py +171 -78
- aws_cdk/aws_ecs_patterns/__init__.py +24 -0
- aws_cdk/aws_efs/__init__.py +64 -8
- aws_cdk/aws_eks/__init__.py +52 -41
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +12 -9
- aws_cdk/aws_fis/__init__.py +32 -12
- aws_cdk/aws_fsx/__init__.py +61 -43
- aws_cdk/aws_glue/__init__.py +449 -0
- aws_cdk/aws_guardduty/__init__.py +0 -8
- aws_cdk/aws_iam/__init__.py +3 -3
- aws_cdk/aws_inspectorv2/__init__.py +989 -0
- aws_cdk/aws_internetmonitor/__init__.py +10 -12
- aws_cdk/aws_iot/__init__.py +112 -0
- aws_cdk/aws_iotwireless/__init__.py +32 -19
- aws_cdk/aws_lambda/__init__.py +129 -32
- aws_cdk/aws_lambda_event_sources/__init__.py +95 -4
- aws_cdk/aws_lambda_nodejs/__init__.py +21 -0
- aws_cdk/aws_location/__init__.py +8 -2
- aws_cdk/aws_logs/__init__.py +7 -3
- aws_cdk/aws_networkmanager/__init__.py +1 -1
- aws_cdk/aws_opensearchserverless/__init__.py +4 -4
- aws_cdk/aws_osis/__init__.py +13 -13
- aws_cdk/aws_personalize/__init__.py +1 -1
- aws_cdk/aws_pinpoint/__init__.py +5 -5
- aws_cdk/aws_pipes/__init__.py +7 -10
- aws_cdk/aws_rds/__init__.py +449 -8
- aws_cdk/aws_redshiftserverless/__init__.py +282 -0
- aws_cdk/aws_rolesanywhere/__init__.py +53 -41
- aws_cdk/aws_route53/__init__.py +282 -0
- aws_cdk/aws_s3/__init__.py +11 -6
- aws_cdk/aws_sagemaker/__init__.py +1398 -39
- aws_cdk/aws_sns/__init__.py +56 -13
- aws_cdk/aws_sqs/__init__.py +13 -10
- aws_cdk/aws_stepfunctions/__init__.py +3612 -1395
- aws_cdk/aws_stepfunctions_tasks/__init__.py +267 -181
- aws_cdk/aws_transfer/__init__.py +1 -1
- aws_cdk/aws_verifiedpermissions/__init__.py +55 -55
- aws_cdk/aws_workspacesweb/__init__.py +6 -3
- aws_cdk/cx_api/__init__.py +17 -0
- aws_cdk/triggers/__init__.py +21 -0
- {aws_cdk_lib-2.125.0.dist-info → aws_cdk_lib-2.127.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.125.0.dist-info → aws_cdk_lib-2.127.0.dist-info}/RECORD +68 -69
- aws_cdk/aws_ssmguiconnect/__init__.py +0 -540
- {aws_cdk_lib-2.125.0.dist-info → aws_cdk_lib-2.127.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.125.0.dist-info → aws_cdk_lib-2.127.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.125.0.dist-info → aws_cdk_lib-2.127.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.125.0.dist-info → aws_cdk_lib-2.127.0.dist-info}/top_level.txt +0 -0
|
@@ -5688,7 +5688,7 @@ class CfnDistribution(
|
|
|
5688
5688
|
:param default_ttl: This field is deprecated. We recommend that you use the ``DefaultTTL`` field in a cache policy instead of this field. For more information, see `Creating cache policies <https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy>`_ or `Using the managed cache policies <https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html>`_ in the *Amazon CloudFront Developer Guide* . The default amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. The value that you specify applies only when your origin does not add HTTP headers such as ``Cache-Control max-age`` , ``Cache-Control s-maxage`` , and ``Expires`` to objects. For more information, see `Managing How Long Content Stays in an Edge Cache (Expiration) <https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html>`_ in the *Amazon CloudFront Developer Guide* . Default: - 86400
|
|
5689
5689
|
:param field_level_encryption_id: The value of ``ID`` for the field-level encryption configuration that you want CloudFront to use for encrypting specific fields of data for the default cache behavior. Default: - ""
|
|
5690
5690
|
:param forwarded_values: This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field. For more information, see `Working with policies <https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/working-with-policies.html>`_ in the *Amazon CloudFront Developer Guide* . If you want to include values in the cache key, use a cache policy. For more information, see `Creating cache policies <https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy>`_ or `Using the managed cache policies <https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html>`_ in the *Amazon CloudFront Developer Guide* . If you want to send values to the origin but not include them in the cache key, use an origin request policy. For more information, see `Creating origin request policies <https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html#origin-request-create-origin-request-policy>`_ or `Using the managed origin request policies <https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-origin-request-policies.html>`_ in the *Amazon CloudFront Developer Guide* . A ``DefaultCacheBehavior`` must include either a ``CachePolicyId`` or ``ForwardedValues`` . We recommend that you use a ``CachePolicyId`` . A complex type that specifies how CloudFront handles query strings, cookies, and HTTP headers.
|
|
5691
|
-
:param function_associations: A list of CloudFront functions that are associated with this cache behavior.
|
|
5691
|
+
:param function_associations: A list of CloudFront functions that are associated with this cache behavior. Your functions must be published to the ``LIVE`` stage to associate them with a cache behavior.
|
|
5692
5692
|
:param lambda_function_associations: A complex type that contains zero or more Lambda@Edge function associations for a cache behavior.
|
|
5693
5693
|
:param max_ttl: This field is deprecated. We recommend that you use the ``MaxTTL`` field in a cache policy instead of this field. For more information, see `Creating cache policies <https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy>`_ or `Using the managed cache policies <https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html>`_ in the *Amazon CloudFront Developer Guide* . The maximum amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. The value that you specify applies only when your origin adds HTTP headers such as ``Cache-Control max-age`` , ``Cache-Control s-maxage`` , and ``Expires`` to objects. For more information, see `Managing How Long Content Stays in an Edge Cache (Expiration) <https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html>`_ in the *Amazon CloudFront Developer Guide* . Default: - 31536000
|
|
5694
5694
|
:param min_ttl: This field is deprecated. We recommend that you use the ``MinTTL`` field in a cache policy instead of this field. For more information, see `Creating cache policies <https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy>`_ or `Using the managed cache policies <https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html>`_ in the *Amazon CloudFront Developer Guide* . The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. For more information, see `Managing How Long Content Stays in an Edge Cache (Expiration) <https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html>`_ in the *Amazon CloudFront Developer Guide* . You must specify ``0`` for ``MinTTL`` if you configure CloudFront to forward all headers to your origin (under ``Headers`` , if you specify ``1`` for ``Quantity`` and ``*`` for ``Name`` ). Default: - 0
|
|
@@ -5958,7 +5958,7 @@ class CfnDistribution(
|
|
|
5958
5958
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnDistribution.FunctionAssociationProperty"]]]]:
|
|
5959
5959
|
'''A list of CloudFront functions that are associated with this cache behavior.
|
|
5960
5960
|
|
|
5961
|
-
|
|
5961
|
+
Your functions must be published to the ``LIVE`` stage to associate them with a cache behavior.
|
|
5962
5962
|
|
|
5963
5963
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-defaultcachebehavior.html#cfn-cloudfront-distribution-defaultcachebehavior-functionassociations
|
|
5964
5964
|
'''
|
|
@@ -9177,7 +9177,7 @@ class CfnFunction(
|
|
|
9177
9177
|
|
|
9178
9178
|
:param comment: A comment to describe the function.
|
|
9179
9179
|
:param runtime: The function's runtime environment version.
|
|
9180
|
-
:param key_value_store_associations: The configuration for the
|
|
9180
|
+
:param key_value_store_associations: The configuration for the key value store associations.
|
|
9181
9181
|
|
|
9182
9182
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-function-functionconfig.html
|
|
9183
9183
|
:exampleMetadata: fixture=_generated
|
|
@@ -9234,7 +9234,7 @@ class CfnFunction(
|
|
|
9234
9234
|
def key_value_store_associations(
|
|
9235
9235
|
self,
|
|
9236
9236
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnFunction.KeyValueStoreAssociationProperty"]]]]:
|
|
9237
|
-
'''The configuration for the
|
|
9237
|
+
'''The configuration for the key value store associations.
|
|
9238
9238
|
|
|
9239
9239
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-function-functionconfig.html#cfn-cloudfront-function-functionconfig-keyvaluestoreassociations
|
|
9240
9240
|
'''
|
|
@@ -9316,9 +9316,9 @@ class CfnFunction(
|
|
|
9316
9316
|
)
|
|
9317
9317
|
class KeyValueStoreAssociationProperty:
|
|
9318
9318
|
def __init__(self, *, key_value_store_arn: builtins.str) -> None:
|
|
9319
|
-
'''The
|
|
9319
|
+
'''The key value store association.
|
|
9320
9320
|
|
|
9321
|
-
:param key_value_store_arn: The Amazon Resource Name (ARN) of the
|
|
9321
|
+
:param key_value_store_arn: The Amazon Resource Name (ARN) of the key value store association.
|
|
9322
9322
|
|
|
9323
9323
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-function-keyvaluestoreassociation.html
|
|
9324
9324
|
:exampleMetadata: fixture=_generated
|
|
@@ -9342,7 +9342,7 @@ class CfnFunction(
|
|
|
9342
9342
|
|
|
9343
9343
|
@builtins.property
|
|
9344
9344
|
def key_value_store_arn(self) -> builtins.str:
|
|
9345
|
-
'''The Amazon Resource Name (ARN) of the
|
|
9345
|
+
'''The Amazon Resource Name (ARN) of the key value store association.
|
|
9346
9346
|
|
|
9347
9347
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-function-keyvaluestoreassociation.html#cfn-cloudfront-function-keyvaluestoreassociation-keyvaluestorearn
|
|
9348
9348
|
'''
|
|
@@ -9793,9 +9793,9 @@ class CfnKeyValueStore(
|
|
|
9793
9793
|
metaclass=jsii.JSIIMeta,
|
|
9794
9794
|
jsii_type="aws-cdk-lib.aws_cloudfront.CfnKeyValueStore",
|
|
9795
9795
|
):
|
|
9796
|
-
'''The
|
|
9796
|
+
'''The key value store.
|
|
9797
9797
|
|
|
9798
|
-
Use this to separate data from function code, allowing you to update data without having to publish a new version of a function. The
|
|
9798
|
+
Use this to separate data from function code, allowing you to update data without having to publish a new version of a function. The key value store holds keys and their corresponding values.
|
|
9799
9799
|
|
|
9800
9800
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-keyvaluestore.html
|
|
9801
9801
|
:cloudformationResource: AWS::CloudFront::KeyValueStore
|
|
@@ -9831,9 +9831,9 @@ class CfnKeyValueStore(
|
|
|
9831
9831
|
'''
|
|
9832
9832
|
:param scope: Scope in which this resource is defined.
|
|
9833
9833
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
9834
|
-
:param name: The name of the
|
|
9835
|
-
:param comment: A comment for the
|
|
9836
|
-
:param import_source: The import source for the
|
|
9834
|
+
:param name: The name of the key value store.
|
|
9835
|
+
:param comment: A comment for the key value store.
|
|
9836
|
+
:param import_source: The import source for the key value store.
|
|
9837
9837
|
'''
|
|
9838
9838
|
if __debug__:
|
|
9839
9839
|
type_hints = typing.get_type_hints(_typecheckingstub__39a9c43a6e994ac270417da8b032b21384dbcc2f5eb680a69e9a420bb725c8a3)
|
|
@@ -9878,7 +9878,7 @@ class CfnKeyValueStore(
|
|
|
9878
9878
|
@builtins.property
|
|
9879
9879
|
@jsii.member(jsii_name="attrArn")
|
|
9880
9880
|
def attr_arn(self) -> builtins.str:
|
|
9881
|
-
'''The Amazon Resource Name (ARN) of the
|
|
9881
|
+
'''The Amazon Resource Name (ARN) of the key value store.
|
|
9882
9882
|
|
|
9883
9883
|
:cloudformationAttribute: Arn
|
|
9884
9884
|
'''
|
|
@@ -9887,7 +9887,7 @@ class CfnKeyValueStore(
|
|
|
9887
9887
|
@builtins.property
|
|
9888
9888
|
@jsii.member(jsii_name="attrId")
|
|
9889
9889
|
def attr_id(self) -> builtins.str:
|
|
9890
|
-
'''The unique Id for the
|
|
9890
|
+
'''The unique Id for the key value store.
|
|
9891
9891
|
|
|
9892
9892
|
:cloudformationAttribute: Id
|
|
9893
9893
|
'''
|
|
@@ -9896,8 +9896,7 @@ class CfnKeyValueStore(
|
|
|
9896
9896
|
@builtins.property
|
|
9897
9897
|
@jsii.member(jsii_name="attrStatus")
|
|
9898
9898
|
def attr_status(self) -> builtins.str:
|
|
9899
|
-
'''
|
|
9900
|
-
|
|
9899
|
+
'''
|
|
9901
9900
|
:cloudformationAttribute: Status
|
|
9902
9901
|
'''
|
|
9903
9902
|
return typing.cast(builtins.str, jsii.get(self, "attrStatus"))
|
|
@@ -9910,7 +9909,7 @@ class CfnKeyValueStore(
|
|
|
9910
9909
|
@builtins.property
|
|
9911
9910
|
@jsii.member(jsii_name="name")
|
|
9912
9911
|
def name(self) -> builtins.str:
|
|
9913
|
-
'''The name of the
|
|
9912
|
+
'''The name of the key value store.'''
|
|
9914
9913
|
return typing.cast(builtins.str, jsii.get(self, "name"))
|
|
9915
9914
|
|
|
9916
9915
|
@name.setter
|
|
@@ -9923,7 +9922,7 @@ class CfnKeyValueStore(
|
|
|
9923
9922
|
@builtins.property
|
|
9924
9923
|
@jsii.member(jsii_name="comment")
|
|
9925
9924
|
def comment(self) -> typing.Optional[builtins.str]:
|
|
9926
|
-
'''A comment for the
|
|
9925
|
+
'''A comment for the key value store.'''
|
|
9927
9926
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "comment"))
|
|
9928
9927
|
|
|
9929
9928
|
@comment.setter
|
|
@@ -9938,7 +9937,7 @@ class CfnKeyValueStore(
|
|
|
9938
9937
|
def import_source(
|
|
9939
9938
|
self,
|
|
9940
9939
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnKeyValueStore.ImportSourceProperty"]]:
|
|
9941
|
-
'''The import source for the
|
|
9940
|
+
'''The import source for the key value store.'''
|
|
9942
9941
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnKeyValueStore.ImportSourceProperty"]], jsii.get(self, "importSource"))
|
|
9943
9942
|
|
|
9944
9943
|
@import_source.setter
|
|
@@ -9963,10 +9962,10 @@ class CfnKeyValueStore(
|
|
|
9963
9962
|
source_arn: builtins.str,
|
|
9964
9963
|
source_type: builtins.str,
|
|
9965
9964
|
) -> None:
|
|
9966
|
-
'''The import source for the
|
|
9965
|
+
'''The import source for the key value store.
|
|
9967
9966
|
|
|
9968
|
-
:param source_arn: The Amazon Resource Name (ARN) of the import source for the
|
|
9969
|
-
:param source_type: The source type of the import source for the
|
|
9967
|
+
:param source_arn: The Amazon Resource Name (ARN) of the import source for the key value store.
|
|
9968
|
+
:param source_type: The source type of the import source for the key value store.
|
|
9970
9969
|
|
|
9971
9970
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-keyvaluestore-importsource.html
|
|
9972
9971
|
:exampleMetadata: fixture=_generated
|
|
@@ -9993,7 +9992,7 @@ class CfnKeyValueStore(
|
|
|
9993
9992
|
|
|
9994
9993
|
@builtins.property
|
|
9995
9994
|
def source_arn(self) -> builtins.str:
|
|
9996
|
-
'''The Amazon Resource Name (ARN) of the import source for the
|
|
9995
|
+
'''The Amazon Resource Name (ARN) of the import source for the key value store.
|
|
9997
9996
|
|
|
9998
9997
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-keyvaluestore-importsource.html#cfn-cloudfront-keyvaluestore-importsource-sourcearn
|
|
9999
9998
|
'''
|
|
@@ -10003,7 +10002,7 @@ class CfnKeyValueStore(
|
|
|
10003
10002
|
|
|
10004
10003
|
@builtins.property
|
|
10005
10004
|
def source_type(self) -> builtins.str:
|
|
10006
|
-
'''The source type of the import source for the
|
|
10005
|
+
'''The source type of the import source for the key value store.
|
|
10007
10006
|
|
|
10008
10007
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-keyvaluestore-importsource.html#cfn-cloudfront-keyvaluestore-importsource-sourcetype
|
|
10009
10008
|
'''
|
|
@@ -10042,9 +10041,9 @@ class CfnKeyValueStoreProps:
|
|
|
10042
10041
|
) -> None:
|
|
10043
10042
|
'''Properties for defining a ``CfnKeyValueStore``.
|
|
10044
10043
|
|
|
10045
|
-
:param name: The name of the
|
|
10046
|
-
:param comment: A comment for the
|
|
10047
|
-
:param import_source: The import source for the
|
|
10044
|
+
:param name: The name of the key value store.
|
|
10045
|
+
:param comment: A comment for the key value store.
|
|
10046
|
+
:param import_source: The import source for the key value store.
|
|
10048
10047
|
|
|
10049
10048
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-keyvaluestore.html
|
|
10050
10049
|
:exampleMetadata: fixture=_generated
|
|
@@ -10081,7 +10080,7 @@ class CfnKeyValueStoreProps:
|
|
|
10081
10080
|
|
|
10082
10081
|
@builtins.property
|
|
10083
10082
|
def name(self) -> builtins.str:
|
|
10084
|
-
'''The name of the
|
|
10083
|
+
'''The name of the key value store.
|
|
10085
10084
|
|
|
10086
10085
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-keyvaluestore.html#cfn-cloudfront-keyvaluestore-name
|
|
10087
10086
|
'''
|
|
@@ -10091,7 +10090,7 @@ class CfnKeyValueStoreProps:
|
|
|
10091
10090
|
|
|
10092
10091
|
@builtins.property
|
|
10093
10092
|
def comment(self) -> typing.Optional[builtins.str]:
|
|
10094
|
-
'''A comment for the
|
|
10093
|
+
'''A comment for the key value store.
|
|
10095
10094
|
|
|
10096
10095
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-keyvaluestore.html#cfn-cloudfront-keyvaluestore-comment
|
|
10097
10096
|
'''
|
|
@@ -10102,7 +10101,7 @@ class CfnKeyValueStoreProps:
|
|
|
10102
10101
|
def import_source(
|
|
10103
10102
|
self,
|
|
10104
10103
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnKeyValueStore.ImportSourceProperty]]:
|
|
10105
|
-
'''The import source for the
|
|
10104
|
+
'''The import source for the key value store.
|
|
10106
10105
|
|
|
10107
10106
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-keyvaluestore.html#cfn-cloudfront-keyvaluestore-importsource
|
|
10108
10107
|
'''
|
|
@@ -10595,7 +10594,7 @@ class CfnOriginAccessControl(
|
|
|
10595
10594
|
|
|
10596
10595
|
For more information about using a CloudFront origin access control, see `Restricting access to an AWS origin <https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-restricting-access-to-origin.html>`_ in the *Amazon CloudFront Developer Guide* .
|
|
10597
10596
|
|
|
10598
|
-
:param name: A name to identify the origin access control.
|
|
10597
|
+
:param name: A name to identify the origin access control. You can specify up to 64 characters.
|
|
10599
10598
|
:param origin_access_control_origin_type: The type of origin that this origin access control is for.
|
|
10600
10599
|
:param signing_behavior: Specifies which requests CloudFront signs (adds authentication information to). Specify ``always`` for the most common use case. For more information, see `origin access control advanced settings <https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-restricting-access-to-s3.html#oac-advanced-settings>`_ in the *Amazon CloudFront Developer Guide* . This field can have one of the following values: - ``always`` – CloudFront signs all origin requests, overwriting the ``Authorization`` header from the viewer request if one exists. - ``never`` – CloudFront doesn't sign any origin requests. This value turns off origin access control for all origins in all distributions that use this origin access control. - ``no-override`` – If the viewer request doesn't contain the ``Authorization`` header, then CloudFront signs the origin request. If the viewer request contains the ``Authorization`` header, then CloudFront doesn't sign the origin request and instead passes along the ``Authorization`` header from the viewer request. *WARNING: To pass along the ``Authorization`` header from the viewer request, you *must* add the ``Authorization`` header to a `cache policy <https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html>`_ for all cache behaviors that use origins associated with this origin access control.*
|
|
10601
10600
|
:param signing_protocol: The signing protocol of the origin access control, which determines how CloudFront signs (authenticates) requests. The only valid value is ``sigv4`` .
|
|
@@ -10640,6 +10639,8 @@ class CfnOriginAccessControl(
|
|
|
10640
10639
|
def name(self) -> builtins.str:
|
|
10641
10640
|
'''A name to identify the origin access control.
|
|
10642
10641
|
|
|
10642
|
+
You can specify up to 64 characters.
|
|
10643
|
+
|
|
10643
10644
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-originaccesscontrol-originaccesscontrolconfig.html#cfn-cloudfront-originaccesscontrol-originaccesscontrolconfig-name
|
|
10644
10645
|
'''
|
|
10645
10646
|
result = self._values.get("name")
|
|
@@ -13585,7 +13586,7 @@ class CfnResponseHeadersPolicy(
|
|
|
13585
13586
|
:param content_type_options: Determines whether CloudFront includes the ``X-Content-Type-Options`` HTTP response header with its value set to ``nosniff`` . For more information about the ``X-Content-Type-Options`` HTTP response header, see `X-Content-Type-Options <https://docs.aws.amazon.com/https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Content-Type-Options>`_ in the MDN Web Docs.
|
|
13586
13587
|
:param frame_options: Determines whether CloudFront includes the ``X-Frame-Options`` HTTP response header and the header's value. For more information about the ``X-Frame-Options`` HTTP response header, see `X-Frame-Options <https://docs.aws.amazon.com/https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options>`_ in the MDN Web Docs.
|
|
13587
13588
|
:param referrer_policy: Determines whether CloudFront includes the ``Referrer-Policy`` HTTP response header and the header's value. For more information about the ``Referrer-Policy`` HTTP response header, see `Referrer-Policy <https://docs.aws.amazon.com/https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy>`_ in the MDN Web Docs.
|
|
13588
|
-
:param strict_transport_security: Determines whether CloudFront includes the ``Strict-Transport-Security`` HTTP response header and the header's value. For more information about the ``Strict-Transport-Security`` HTTP response header, see `Strict-Transport-Security <https://docs.aws.amazon.com/https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Strict-Transport-Security>`_ in the MDN Web Docs.
|
|
13589
|
+
:param strict_transport_security: Determines whether CloudFront includes the ``Strict-Transport-Security`` HTTP response header and the header's value. For more information about the ``Strict-Transport-Security`` HTTP response header, see `Security headers <https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/understanding-response-headers-policies.html#understanding-response-headers-policies-security>`_ in the *Amazon CloudFront Developer Guide* and `Strict-Transport-Security <https://docs.aws.amazon.com/https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Strict-Transport-Security>`_ in the MDN Web Docs.
|
|
13589
13590
|
:param xss_protection: Determines whether CloudFront includes the ``X-XSS-Protection`` HTTP response header and the header's value. For more information about the ``X-XSS-Protection`` HTTP response header, see `X-XSS-Protection <https://docs.aws.amazon.com/https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-XSS-Protection>`_ in the MDN Web Docs.
|
|
13590
13591
|
|
|
13591
13592
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-securityheadersconfig.html
|
|
@@ -13711,7 +13712,7 @@ class CfnResponseHeadersPolicy(
|
|
|
13711
13712
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnResponseHeadersPolicy.StrictTransportSecurityProperty"]]:
|
|
13712
13713
|
'''Determines whether CloudFront includes the ``Strict-Transport-Security`` HTTP response header and the header's value.
|
|
13713
13714
|
|
|
13714
|
-
For more information about the ``Strict-Transport-Security`` HTTP response header, see `Strict-Transport-Security <https://docs.aws.amazon.com/https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Strict-Transport-Security>`_ in the MDN Web Docs.
|
|
13715
|
+
For more information about the ``Strict-Transport-Security`` HTTP response header, see `Security headers <https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/understanding-response-headers-policies.html#understanding-response-headers-policies-security>`_ in the *Amazon CloudFront Developer Guide* and `Strict-Transport-Security <https://docs.aws.amazon.com/https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Strict-Transport-Security>`_ in the MDN Web Docs.
|
|
13715
13716
|
|
|
13716
13717
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-securityheadersconfig.html#cfn-cloudfront-responseheaderspolicy-securityheadersconfig-stricttransportsecurity
|
|
13717
13718
|
'''
|
|
@@ -14307,10 +14308,7 @@ class CfnStreamingDistribution(
|
|
|
14307
14308
|
@builtins.property
|
|
14308
14309
|
@jsii.member(jsii_name="attrId")
|
|
14309
14310
|
def attr_id(self) -> builtins.str:
|
|
14310
|
-
'''
|
|
14311
|
-
|
|
14312
|
-
For example: ``EGTXBD79EXAMPLE`` .
|
|
14313
|
-
|
|
14311
|
+
'''
|
|
14314
14312
|
:cloudformationAttribute: Id
|
|
14315
14313
|
'''
|
|
14316
14314
|
return typing.cast(builtins.str, jsii.get(self, "attrId"))
|
|
@@ -64,6 +64,7 @@ from ...aws_lambda import (
|
|
|
64
64
|
InvokeMode as _InvokeMode_e7b50559,
|
|
65
65
|
LambdaInsightsVersion as _LambdaInsightsVersion_9dfbfef9,
|
|
66
66
|
LogRetentionRetryOptions as _LogRetentionRetryOptions_ad797a7a,
|
|
67
|
+
LoggingFormat as _LoggingFormat_30be8e01,
|
|
67
68
|
ParamsAndSecretsLayerVersion as _ParamsAndSecretsLayerVersion_dce97f06,
|
|
68
69
|
Permission as _Permission_9def3964,
|
|
69
70
|
Runtime as _Runtime_b4eaa844,
|
|
@@ -151,6 +152,7 @@ class EdgeFunction(
|
|
|
151
152
|
insights_version: typing.Optional[_LambdaInsightsVersion_9dfbfef9] = None,
|
|
152
153
|
layers: typing.Optional[typing.Sequence[_ILayerVersion_5ac127c8]] = None,
|
|
153
154
|
log_format: typing.Optional[builtins.str] = None,
|
|
155
|
+
logging_format: typing.Optional[_LoggingFormat_30be8e01] = None,
|
|
154
156
|
log_group: typing.Optional[_ILogGroup_3c4fa718] = None,
|
|
155
157
|
log_retention: typing.Optional[_RetentionDays_070f99f0] = None,
|
|
156
158
|
log_retention_retry_options: typing.Optional[typing.Union[_LogRetentionRetryOptions_ad797a7a, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -202,6 +204,7 @@ class EdgeFunction(
|
|
|
202
204
|
:param insights_version: Specify the version of CloudWatch Lambda insights to use for monitoring. Default: - No Lambda Insights
|
|
203
205
|
:param layers: A list of layers to add to the function's execution environment. You can configure your Lambda function to pull in additional code during initialization in the form of layers. Layers are packages of libraries or other dependencies that can be used by multiple functions. Default: - No layers.
|
|
204
206
|
:param log_format: Sets the logFormat for the function. Default: "Text"
|
|
207
|
+
:param logging_format: Sets the loggingFormat for the function. Default: LoggingFormat.TEXT
|
|
205
208
|
:param log_group: The log group the function sends logs to. By default, Lambda functions send logs to an automatically created default log group named /aws/lambda/<function name>. However you cannot change the properties of this auto-created log group using the AWS CDK, e.g. you cannot set a different log retention. Use the ``logGroup`` property to create a fully customizable LogGroup ahead of time, and instruct the Lambda function to send logs to it. Providing a user-controlled log group was rolled out to commercial regions on 2023-11-16. If you are deploying to another type of region, please check regional availability first. Default: ``/aws/lambda/${this.functionName}`` - default log group created by Lambda
|
|
206
209
|
:param log_retention: The number of days log events are kept in CloudWatch Logs. When updating this property, unsetting it doesn't remove the log retention policy. To remove the retention policy, set the value to ``INFINITE``. This is a legacy API and we strongly recommend you move away from it if you can. Instead create a fully customizable log group with ``logs.LogGroup`` and use the ``logGroup`` property to instruct the Lambda function to send logs to it. Migrating from ``logRetention`` to ``logGroup`` will cause the name of the log group to change. Users and code and referencing the name verbatim will have to adjust. In AWS CDK code, you can access the log group name directly from the LogGroup construct:: import * as logs from 'aws-cdk-lib/aws-logs'; declare const myLogGroup: logs.LogGroup; myLogGroup.logGroupName; Default: logs.RetentionDays.INFINITE
|
|
207
210
|
:param log_retention_retry_options: When log retention is specified, a custom resource attempts to create the CloudWatch log group. These options control the retry policy when interacting with CloudWatch APIs. This is a legacy API and we strongly recommend you migrate to ``logGroup`` if you can. ``logGroup`` allows you to create a fully customizable log group and instruct the Lambda function to send logs to it. Default: - Default AWS SDK retry options.
|
|
@@ -255,6 +258,7 @@ class EdgeFunction(
|
|
|
255
258
|
insights_version=insights_version,
|
|
256
259
|
layers=layers,
|
|
257
260
|
log_format=log_format,
|
|
261
|
+
logging_format=logging_format,
|
|
258
262
|
log_group=log_group,
|
|
259
263
|
log_retention=log_retention,
|
|
260
264
|
log_retention_retry_options=log_retention_retry_options,
|
|
@@ -873,6 +877,7 @@ class EdgeFunction(
|
|
|
873
877
|
"insights_version": "insightsVersion",
|
|
874
878
|
"layers": "layers",
|
|
875
879
|
"log_format": "logFormat",
|
|
880
|
+
"logging_format": "loggingFormat",
|
|
876
881
|
"log_group": "logGroup",
|
|
877
882
|
"log_retention": "logRetention",
|
|
878
883
|
"log_retention_retry_options": "logRetentionRetryOptions",
|
|
@@ -926,6 +931,7 @@ class EdgeFunctionProps(_FunctionProps_a308e854):
|
|
|
926
931
|
insights_version: typing.Optional[_LambdaInsightsVersion_9dfbfef9] = None,
|
|
927
932
|
layers: typing.Optional[typing.Sequence[_ILayerVersion_5ac127c8]] = None,
|
|
928
933
|
log_format: typing.Optional[builtins.str] = None,
|
|
934
|
+
logging_format: typing.Optional[_LoggingFormat_30be8e01] = None,
|
|
929
935
|
log_group: typing.Optional[_ILogGroup_3c4fa718] = None,
|
|
930
936
|
log_retention: typing.Optional[_RetentionDays_070f99f0] = None,
|
|
931
937
|
log_retention_retry_options: typing.Optional[typing.Union[_LogRetentionRetryOptions_ad797a7a, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -976,6 +982,7 @@ class EdgeFunctionProps(_FunctionProps_a308e854):
|
|
|
976
982
|
:param insights_version: Specify the version of CloudWatch Lambda insights to use for monitoring. Default: - No Lambda Insights
|
|
977
983
|
:param layers: A list of layers to add to the function's execution environment. You can configure your Lambda function to pull in additional code during initialization in the form of layers. Layers are packages of libraries or other dependencies that can be used by multiple functions. Default: - No layers.
|
|
978
984
|
:param log_format: Sets the logFormat for the function. Default: "Text"
|
|
985
|
+
:param logging_format: Sets the loggingFormat for the function. Default: LoggingFormat.TEXT
|
|
979
986
|
:param log_group: The log group the function sends logs to. By default, Lambda functions send logs to an automatically created default log group named /aws/lambda/<function name>. However you cannot change the properties of this auto-created log group using the AWS CDK, e.g. you cannot set a different log retention. Use the ``logGroup`` property to create a fully customizable LogGroup ahead of time, and instruct the Lambda function to send logs to it. Providing a user-controlled log group was rolled out to commercial regions on 2023-11-16. If you are deploying to another type of region, please check regional availability first. Default: ``/aws/lambda/${this.functionName}`` - default log group created by Lambda
|
|
980
987
|
:param log_retention: The number of days log events are kept in CloudWatch Logs. When updating this property, unsetting it doesn't remove the log retention policy. To remove the retention policy, set the value to ``INFINITE``. This is a legacy API and we strongly recommend you move away from it if you can. Instead create a fully customizable log group with ``logs.LogGroup`` and use the ``logGroup`` property to instruct the Lambda function to send logs to it. Migrating from ``logRetention`` to ``logGroup`` will cause the name of the log group to change. Users and code and referencing the name verbatim will have to adjust. In AWS CDK code, you can access the log group name directly from the LogGroup construct:: import * as logs from 'aws-cdk-lib/aws-logs'; declare const myLogGroup: logs.LogGroup; myLogGroup.logGroupName; Default: logs.RetentionDays.INFINITE
|
|
981
988
|
:param log_retention_retry_options: When log retention is specified, a custom resource attempts to create the CloudWatch log group. These options control the retry policy when interacting with CloudWatch APIs. This is a legacy API and we strongly recommend you migrate to ``logGroup`` if you can. ``logGroup`` allows you to create a fully customizable log group and instruct the Lambda function to send logs to it. Default: - Default AWS SDK retry options.
|
|
@@ -1057,6 +1064,7 @@ class EdgeFunctionProps(_FunctionProps_a308e854):
|
|
|
1057
1064
|
check_type(argname="argument insights_version", value=insights_version, expected_type=type_hints["insights_version"])
|
|
1058
1065
|
check_type(argname="argument layers", value=layers, expected_type=type_hints["layers"])
|
|
1059
1066
|
check_type(argname="argument log_format", value=log_format, expected_type=type_hints["log_format"])
|
|
1067
|
+
check_type(argname="argument logging_format", value=logging_format, expected_type=type_hints["logging_format"])
|
|
1060
1068
|
check_type(argname="argument log_group", value=log_group, expected_type=type_hints["log_group"])
|
|
1061
1069
|
check_type(argname="argument log_retention", value=log_retention, expected_type=type_hints["log_retention"])
|
|
1062
1070
|
check_type(argname="argument log_retention_retry_options", value=log_retention_retry_options, expected_type=type_hints["log_retention_retry_options"])
|
|
@@ -1134,6 +1142,8 @@ class EdgeFunctionProps(_FunctionProps_a308e854):
|
|
|
1134
1142
|
self._values["layers"] = layers
|
|
1135
1143
|
if log_format is not None:
|
|
1136
1144
|
self._values["log_format"] = log_format
|
|
1145
|
+
if logging_format is not None:
|
|
1146
|
+
self._values["logging_format"] = logging_format
|
|
1137
1147
|
if log_group is not None:
|
|
1138
1148
|
self._values["log_group"] = log_group
|
|
1139
1149
|
if log_retention is not None:
|
|
@@ -1445,6 +1455,15 @@ class EdgeFunctionProps(_FunctionProps_a308e854):
|
|
|
1445
1455
|
result = self._values.get("log_format")
|
|
1446
1456
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
1447
1457
|
|
|
1458
|
+
@builtins.property
|
|
1459
|
+
def logging_format(self) -> typing.Optional[_LoggingFormat_30be8e01]:
|
|
1460
|
+
'''Sets the loggingFormat for the function.
|
|
1461
|
+
|
|
1462
|
+
:default: LoggingFormat.TEXT
|
|
1463
|
+
'''
|
|
1464
|
+
result = self._values.get("logging_format")
|
|
1465
|
+
return typing.cast(typing.Optional[_LoggingFormat_30be8e01], result)
|
|
1466
|
+
|
|
1448
1467
|
@builtins.property
|
|
1449
1468
|
def log_group(self) -> typing.Optional[_ILogGroup_3c4fa718]:
|
|
1450
1469
|
'''The log group the function sends logs to.
|
|
@@ -1792,6 +1811,7 @@ def _typecheckingstub__b2f96e5632f259adb036f7aba2bbc7c19fd9840c647d67a10a8135cb3
|
|
|
1792
1811
|
insights_version: typing.Optional[_LambdaInsightsVersion_9dfbfef9] = None,
|
|
1793
1812
|
layers: typing.Optional[typing.Sequence[_ILayerVersion_5ac127c8]] = None,
|
|
1794
1813
|
log_format: typing.Optional[builtins.str] = None,
|
|
1814
|
+
logging_format: typing.Optional[_LoggingFormat_30be8e01] = None,
|
|
1795
1815
|
log_group: typing.Optional[_ILogGroup_3c4fa718] = None,
|
|
1796
1816
|
log_retention: typing.Optional[_RetentionDays_070f99f0] = None,
|
|
1797
1817
|
log_retention_retry_options: typing.Optional[typing.Union[_LogRetentionRetryOptions_ad797a7a, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -1946,6 +1966,7 @@ def _typecheckingstub__709cdcb05c7a5fc7f7bcd1d72557097c39c5c534076a00b6b8db807bd
|
|
|
1946
1966
|
insights_version: typing.Optional[_LambdaInsightsVersion_9dfbfef9] = None,
|
|
1947
1967
|
layers: typing.Optional[typing.Sequence[_ILayerVersion_5ac127c8]] = None,
|
|
1948
1968
|
log_format: typing.Optional[builtins.str] = None,
|
|
1969
|
+
logging_format: typing.Optional[_LoggingFormat_30be8e01] = None,
|
|
1949
1970
|
log_group: typing.Optional[_ILogGroup_3c4fa718] = None,
|
|
1950
1971
|
log_retention: typing.Optional[_RetentionDays_070f99f0] = None,
|
|
1951
1972
|
log_retention_retry_options: typing.Optional[typing.Union[_LogRetentionRetryOptions_ad797a7a, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -4450,8 +4450,11 @@ class CfnProject(
|
|
|
4450
4450
|
)
|
|
4451
4451
|
class ProjectFleetProperty:
|
|
4452
4452
|
def __init__(self, *, fleet_arn: typing.Optional[builtins.str] = None) -> None:
|
|
4453
|
-
'''
|
|
4454
|
-
|
|
4453
|
+
'''Information about the compute fleet of the build project.
|
|
4454
|
+
|
|
4455
|
+
For more information, see `Working with reserved capacity in AWS CodeBuild <https://docs.aws.amazon.com/codebuild/latest/userguide/fleets.html>`_ .
|
|
4456
|
+
|
|
4457
|
+
:param fleet_arn: Specifies the compute fleet ARN for the build project.
|
|
4455
4458
|
|
|
4456
4459
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projectfleet.html
|
|
4457
4460
|
:exampleMetadata: fixture=_generated
|
|
@@ -4475,7 +4478,8 @@ class CfnProject(
|
|
|
4475
4478
|
|
|
4476
4479
|
@builtins.property
|
|
4477
4480
|
def fleet_arn(self) -> typing.Optional[builtins.str]:
|
|
4478
|
-
'''
|
|
4481
|
+
'''Specifies the compute fleet ARN for the build project.
|
|
4482
|
+
|
|
4479
4483
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projectfleet.html#cfn-codebuild-project-projectfleet-fleetarn
|
|
4480
4484
|
'''
|
|
4481
4485
|
result = self._values.get("fleet_arn")
|
|
@@ -10181,6 +10185,24 @@ class LinuxArmLambdaBuildImage(
|
|
|
10181
10185
|
'''The ``aws/codebuild/amazonlinux-aarch64-lambda-standard:ruby3.2`` build image.'''
|
|
10182
10186
|
return typing.cast(IBuildImage, jsii.sget(cls, "AMAZON_LINUX_2_RUBY_3_2"))
|
|
10183
10187
|
|
|
10188
|
+
@jsii.python.classproperty
|
|
10189
|
+
@jsii.member(jsii_name="AMAZON_LINUX_2023_CORRETTO_21")
|
|
10190
|
+
def AMAZON_LINUX_2023_CORRETTO_21(cls) -> IBuildImage:
|
|
10191
|
+
'''The ``aws/codebuild/amazonlinux-aarch64-lambda-standard:corretto21`` build image.'''
|
|
10192
|
+
return typing.cast(IBuildImage, jsii.sget(cls, "AMAZON_LINUX_2023_CORRETTO_21"))
|
|
10193
|
+
|
|
10194
|
+
@jsii.python.classproperty
|
|
10195
|
+
@jsii.member(jsii_name="AMAZON_LINUX_2023_NODE_20")
|
|
10196
|
+
def AMAZON_LINUX_2023_NODE_20(cls) -> IBuildImage:
|
|
10197
|
+
'''The ``aws/codebuild/amazonlinux-aarch64-lambda-standard:nodejs20`` build image.'''
|
|
10198
|
+
return typing.cast(IBuildImage, jsii.sget(cls, "AMAZON_LINUX_2023_NODE_20"))
|
|
10199
|
+
|
|
10200
|
+
@jsii.python.classproperty
|
|
10201
|
+
@jsii.member(jsii_name="AMAZON_LINUX_2023_PYTHON_3_12")
|
|
10202
|
+
def AMAZON_LINUX_2023_PYTHON_3_12(cls) -> IBuildImage:
|
|
10203
|
+
'''The ``aws/codebuild/amazonlinux-aarch64-lambda-standard:python3.12`` build image.'''
|
|
10204
|
+
return typing.cast(IBuildImage, jsii.sget(cls, "AMAZON_LINUX_2023_PYTHON_3_12"))
|
|
10205
|
+
|
|
10184
10206
|
@builtins.property
|
|
10185
10207
|
@jsii.member(jsii_name="defaultComputeType")
|
|
10186
10208
|
def default_compute_type(self) -> ComputeType:
|
|
@@ -10704,6 +10726,24 @@ class LinuxLambdaBuildImage(
|
|
|
10704
10726
|
'''The ``aws/codebuild/amazonlinux-x86_64-lambda-standard:ruby3.2`` build image.'''
|
|
10705
10727
|
return typing.cast(IBuildImage, jsii.sget(cls, "AMAZON_LINUX_2_RUBY_3_2"))
|
|
10706
10728
|
|
|
10729
|
+
@jsii.python.classproperty
|
|
10730
|
+
@jsii.member(jsii_name="AMAZON_LINUX_2023_CORRETTO_21")
|
|
10731
|
+
def AMAZON_LINUX_2023_CORRETTO_21(cls) -> IBuildImage:
|
|
10732
|
+
'''The ``aws/codebuild/amazonlinux-x86_64-lambda-standard:corretto21`` build image.'''
|
|
10733
|
+
return typing.cast(IBuildImage, jsii.sget(cls, "AMAZON_LINUX_2023_CORRETTO_21"))
|
|
10734
|
+
|
|
10735
|
+
@jsii.python.classproperty
|
|
10736
|
+
@jsii.member(jsii_name="AMAZON_LINUX_2023_NODE_20")
|
|
10737
|
+
def AMAZON_LINUX_2023_NODE_20(cls) -> IBuildImage:
|
|
10738
|
+
'''The ``aws/codebuild/amazonlinux-x86_64-lambda-standard:nodejs20`` build image.'''
|
|
10739
|
+
return typing.cast(IBuildImage, jsii.sget(cls, "AMAZON_LINUX_2023_NODE_20"))
|
|
10740
|
+
|
|
10741
|
+
@jsii.python.classproperty
|
|
10742
|
+
@jsii.member(jsii_name="AMAZON_LINUX_2023_PYTHON_3_12")
|
|
10743
|
+
def AMAZON_LINUX_2023_PYTHON_3_12(cls) -> IBuildImage:
|
|
10744
|
+
'''The ``aws/codebuild/amazonlinux-x86_64-lambda-standard:python3.12`` build image.'''
|
|
10745
|
+
return typing.cast(IBuildImage, jsii.sget(cls, "AMAZON_LINUX_2023_PYTHON_3_12"))
|
|
10746
|
+
|
|
10707
10747
|
@builtins.property
|
|
10708
10748
|
@jsii.member(jsii_name="defaultComputeType")
|
|
10709
10749
|
def default_compute_type(self) -> ComputeType:
|
|
@@ -1243,6 +1243,7 @@ class ArtifactPath(
|
|
|
1243
1243
|
}
|
|
1244
1244
|
|
|
1245
1245
|
codepipeline.Pipeline(stack, "Pipeline",
|
|
1246
|
+
cross_account_keys=True,
|
|
1246
1247
|
stages=[source_stage, prod_stage
|
|
1247
1248
|
]
|
|
1248
1249
|
)
|
|
@@ -6429,7 +6430,7 @@ class Pipeline(
|
|
|
6429
6430
|
:param scope: -
|
|
6430
6431
|
:param id: -
|
|
6431
6432
|
:param artifact_bucket: The S3 bucket used by this Pipeline to store artifacts. Default: - A new S3 bucket will be created.
|
|
6432
|
-
:param cross_account_keys: Create KMS keys for cross-account deployments. This controls whether the pipeline is enabled for cross-account deployments. By default cross-account deployments are enabled, but this feature requires that KMS Customer Master Keys are created which have a cost of $1/month. If you do not need cross-account deployments, you can set this to ``false`` to not create those keys and save on that cost (the artifact bucket will be encrypted with an AWS-managed key). However, cross-account deployments will no longer be possible. Default: true
|
|
6433
|
+
:param cross_account_keys: Create KMS keys for cross-account deployments. This controls whether the pipeline is enabled for cross-account deployments. By default cross-account deployments are enabled, but this feature requires that KMS Customer Master Keys are created which have a cost of $1/month. If you do not need cross-account deployments, you can set this to ``false`` to not create those keys and save on that cost (the artifact bucket will be encrypted with an AWS-managed key). However, cross-account deployments will no longer be possible. Default: false - false if the feature flag ``CODEPIPELINE_CROSS_ACCOUNT_KEYS_DEFAULT_VALUE_TO_FALSE`` is true, true otherwise
|
|
6433
6434
|
:param cross_region_replication_buckets: A map of region to S3 bucket name used for cross-region CodePipeline. For every Action that you specify targeting a different region than the Pipeline itself, if you don't provide an explicit Bucket for that region using this property, the construct will automatically create a Stack containing an S3 Bucket in that region. Default: - None.
|
|
6434
6435
|
:param enable_key_rotation: Enable KMS key rotation for the generated KMS keys. By default KMS key rotation is disabled, but will add an additional $1/month for each year the key exists when enabled. Default: - false (key rotation is disabled)
|
|
6435
6436
|
:param pipeline_name: Name of the pipeline. Default: - AWS CloudFormation generates an ID and uses that for the pipeline name.
|
|
@@ -7018,7 +7019,7 @@ class PipelineProps:
|
|
|
7018
7019
|
) -> None:
|
|
7019
7020
|
'''
|
|
7020
7021
|
:param artifact_bucket: The S3 bucket used by this Pipeline to store artifacts. Default: - A new S3 bucket will be created.
|
|
7021
|
-
:param cross_account_keys: Create KMS keys for cross-account deployments. This controls whether the pipeline is enabled for cross-account deployments. By default cross-account deployments are enabled, but this feature requires that KMS Customer Master Keys are created which have a cost of $1/month. If you do not need cross-account deployments, you can set this to ``false`` to not create those keys and save on that cost (the artifact bucket will be encrypted with an AWS-managed key). However, cross-account deployments will no longer be possible. Default: true
|
|
7022
|
+
:param cross_account_keys: Create KMS keys for cross-account deployments. This controls whether the pipeline is enabled for cross-account deployments. By default cross-account deployments are enabled, but this feature requires that KMS Customer Master Keys are created which have a cost of $1/month. If you do not need cross-account deployments, you can set this to ``false`` to not create those keys and save on that cost (the artifact bucket will be encrypted with an AWS-managed key). However, cross-account deployments will no longer be possible. Default: false - false if the feature flag ``CODEPIPELINE_CROSS_ACCOUNT_KEYS_DEFAULT_VALUE_TO_FALSE`` is true, true otherwise
|
|
7022
7023
|
:param cross_region_replication_buckets: A map of region to S3 bucket name used for cross-region CodePipeline. For every Action that you specify targeting a different region than the Pipeline itself, if you don't provide an explicit Bucket for that region using this property, the construct will automatically create a Stack containing an S3 Bucket in that region. Default: - None.
|
|
7023
7024
|
:param enable_key_rotation: Enable KMS key rotation for the generated KMS keys. By default KMS key rotation is disabled, but will add an additional $1/month for each year the key exists when enabled. Default: - false (key rotation is disabled)
|
|
7024
7025
|
:param pipeline_name: Name of the pipeline. Default: - AWS CloudFormation generates an ID and uses that for the pipeline name.
|
|
@@ -7118,7 +7119,10 @@ class PipelineProps:
|
|
|
7118
7119
|
encrypted with an AWS-managed key). However, cross-account deployments will
|
|
7119
7120
|
no longer be possible.
|
|
7120
7121
|
|
|
7121
|
-
:default:
|
|
7122
|
+
:default:
|
|
7123
|
+
|
|
7124
|
+
false - false if the feature flag ``CODEPIPELINE_CROSS_ACCOUNT_KEYS_DEFAULT_VALUE_TO_FALSE``
|
|
7125
|
+
is true, true otherwise
|
|
7122
7126
|
'''
|
|
7123
7127
|
result = self._values.get("cross_account_keys")
|
|
7124
7128
|
return typing.cast(typing.Optional[builtins.bool], result)
|
|
@@ -663,6 +663,7 @@ prod_stage = {
|
|
|
663
663
|
}
|
|
664
664
|
|
|
665
665
|
codepipeline.Pipeline(stack, "Pipeline",
|
|
666
|
+
cross_account_keys=True,
|
|
666
667
|
stages=[source_stage, prod_stage
|
|
667
668
|
]
|
|
668
669
|
)
|
|
@@ -753,7 +754,9 @@ lambda_.Function(lambda_stack, "Lambda",
|
|
|
753
754
|
# other resources that your Lambda needs, added to the lambdaStack...
|
|
754
755
|
|
|
755
756
|
pipeline_stack = cdk.Stack(app, "PipelineStack")
|
|
756
|
-
pipeline = codepipeline.Pipeline(pipeline_stack, "Pipeline"
|
|
757
|
+
pipeline = codepipeline.Pipeline(pipeline_stack, "Pipeline",
|
|
758
|
+
cross_account_keys=True
|
|
759
|
+
)
|
|
757
760
|
|
|
758
761
|
# add the source code repository containing this code to your Pipeline,
|
|
759
762
|
# and the source code of the Lambda Function, if they're separate
|
|
@@ -2196,6 +2199,7 @@ class CloudFormationCreateReplaceChangeSetAction(
|
|
|
2196
2199
|
}
|
|
2197
2200
|
|
|
2198
2201
|
codepipeline.Pipeline(stack, "Pipeline",
|
|
2202
|
+
cross_account_keys=True,
|
|
2199
2203
|
stages=[source_stage, prod_stage
|
|
2200
2204
|
]
|
|
2201
2205
|
)
|
|
@@ -2421,6 +2425,7 @@ class CloudFormationCreateReplaceChangeSetActionProps(_CommonAwsActionProps_8b80
|
|
|
2421
2425
|
}
|
|
2422
2426
|
|
|
2423
2427
|
codepipeline.Pipeline(stack, "Pipeline",
|
|
2428
|
+
cross_account_keys=True,
|
|
2424
2429
|
stages=[source_stage, prod_stage
|
|
2425
2430
|
]
|
|
2426
2431
|
)
|
|
@@ -4116,6 +4121,7 @@ class CloudFormationExecuteChangeSetAction(
|
|
|
4116
4121
|
}
|
|
4117
4122
|
|
|
4118
4123
|
codepipeline.Pipeline(stack, "Pipeline",
|
|
4124
|
+
cross_account_keys=True,
|
|
4119
4125
|
stages=[source_stage, prod_stage
|
|
4120
4126
|
]
|
|
4121
4127
|
)
|
|
@@ -4280,6 +4286,7 @@ class CloudFormationExecuteChangeSetActionProps(_CommonAwsActionProps_8b809bb6):
|
|
|
4280
4286
|
}
|
|
4281
4287
|
|
|
4282
4288
|
codepipeline.Pipeline(stack, "Pipeline",
|
|
4289
|
+
cross_account_keys=True,
|
|
4283
4290
|
stages=[source_stage, prod_stage
|
|
4284
4291
|
]
|
|
4285
4292
|
)
|
|
@@ -5010,6 +5017,7 @@ class CodeCommitSourceAction(
|
|
|
5010
5017
|
}
|
|
5011
5018
|
|
|
5012
5019
|
codepipeline.Pipeline(stack, "Pipeline",
|
|
5020
|
+
cross_account_keys=True,
|
|
5013
5021
|
stages=[source_stage, prod_stage
|
|
5014
5022
|
]
|
|
5015
5023
|
)
|
|
@@ -5186,6 +5194,7 @@ class CodeCommitSourceActionProps(_CommonAwsActionProps_8b809bb6):
|
|
|
5186
5194
|
}
|
|
5187
5195
|
|
|
5188
5196
|
codepipeline.Pipeline(stack, "Pipeline",
|
|
5197
|
+
cross_account_keys=True,
|
|
5189
5198
|
stages=[source_stage, prod_stage
|
|
5190
5199
|
]
|
|
5191
5200
|
)
|
|
@@ -5530,6 +5539,7 @@ class CodeCommitTrigger(enum.Enum):
|
|
|
5530
5539
|
}
|
|
5531
5540
|
|
|
5532
5541
|
codepipeline.Pipeline(stack, "Pipeline",
|
|
5542
|
+
cross_account_keys=True,
|
|
5533
5543
|
stages=[source_stage, prod_stage
|
|
5534
5544
|
]
|
|
5535
5545
|
)
|