Releases
v2.4.0
⚠ BREAKING CHANGES TO EXPERIMENTAL FEATURES
cfn2ts: some "complex" property types within the generated
CloudFormation interfaces (i.e: properties of Cfn*
constructs) with
names starting with a capital letter I
followed by another capital
letter are no longer incorrectly treated as behavioral interfaces, and
might hence have different usage patterns in non-TypeScript languages.
Such interfaces were previously very difficult to use in non-TypeScript
languages, and required convoluted workarounds, which can now be removed.
opensearchservice: imported domain property domainEndpoint
used to contain https://
prefix, now the prefix is dropped and it returns the same value as a domainEndpoint
on a created domain
Features
apigateway: Add stage ARN attribute (#18170 ) (be7acfd ), closes /docs.aws.amazon.com/apigateway/latest/developerguide/arn-format-reference.html#apigateway-v1
aws-autoscaling: Add support for termination policies (#17936 ) (9e6f977 ), closes #15654
aws-ec2: add g4ad instance types (#17927 ) (8cb6a76 ), closes /docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html#cfn-ec2 #17565
aws-kinesis: add support for data streams capacity modes (#18074 ) (b265e46 ), closes #18050
aws-s3: Adding Intelligent Tiering to Bucket (#18013 ) (890c4c5 ), closes #16191
backup: support continuous backup and point-in-time restores (#17602 ) (24c6ef5 ), closes #15922
bootstrap: ECR ScanOnPush
is now enabled by default (#17994 ) (7588b51 )
cfnspec: add CloudFormation documentation to L1 classes (#18101 ) (0ed661d )
cfnspec: cloudformation spec v51.0.0 (#18274 ) (c208e60 )
cli: add message when resource is hotswapped (#18058 ) (e828c22 ), closes #17778
cli: hotswap deployments for CodeBuild projects (#18161 ) (4ae4df8 )
cli: show how long cdk deploy
steps take (#18230 ) (82fa742 ), closes #18213
cli: support for hotswapping Lambda Versions and Aliases (#18145 ) (13d77b7 ), closes #18058 #17043
cli: support hotswapping Lambda function tags (#17818 ) (e4485f4 ), closes #17664
cli: watch command now starts with a deployment (#18057 ) (ace37a2 ), closes #17776
codecommit: allow initializing a Repository with contents (#17968 ) (54b6cc6 ), closes #17967 #16958
codedeploy: loadbalancer support for imported Target Groups (#17848 ) (32f1c80 ), closes #9677
codepipeline: add ability to not reuse cross-region support Stacks (#18043 ) (dcc9e59 ), closes #18018 #18018
codepipeline: variables for CodeStar Connections source Action (#18086 ) (c99da16 ), closes #17807
custom-resources: NoEcho for sensitive data in provider framework (#18097 ) (621a410 )
docdb: allow setting log retention (#18120 ) (002202f ), closes #13191
ec2: add Windows Server 2022 WindowsVersions (#18203 ) (dee732d ), closes #18199
efs: add support for transitioning files from infrequent access to primary storage (#16522 ) (65414c6 )
eks: imported kubectl provider for imported clusters (#14689 ) (19a287f ), closes issue#12107
eks: install helm chart from asset (#17217 ) (d3fc8c0 ), closes #13496 #15899 /github.com/aws/aws-cdk/pull/15899/files#r683431181 #9273
iam: session tagging (#17689 ) (9f22b2f ), closes #15908 #16725 #2041 #1578
pipelines: step dependencies (#18256 ) (e3359e0 ), closes #17945
pipelines: support timeout in CodeBuildStep (#17351 ) (2aa3b8e )
rds: Aurora clusters from snapshots (#17759 ) (e5259ee ), closes #10936 #10130
secretsmanager: create secrets with specified values (#18098 ) (dd90b8e ), closes #5810
sqs: add DLQ readonly property to Queue (#18232 ) (caa6788 ), closes #18083
ssm: reference latest version of secure string parameters (#18187 ) (7d0680a ), closes #17091
Bug Fixes
acm: DnsValidatedCertificate intermittently fails with "Cannot read property 'Name' of undefined" (#18033 ) (2b6c2da ), closes #8282
apigateway: race condition between Stage and CfnAccount (#18011 ) (f11766e )
cfn2ts: some property times have behavioral-interface names (#18275 ) (6359c12 )
cloudfront-origins: policy not added for custom OAI (#18192 ) (c894ba1 ), closes #18185
codebuild: setting Cache.none() renders nothing in the template (#18194 ) (cd51a5d ), closes #18165
core: Duration.toString()
throws an error (#18243 ) (df03df8 ), closes #18176
core: overriding of Stack.addFileAsset()
no longer has effect (#18116 ) (2290681 ), closes #17328
eks: can't deploy with Bottlerocket amiType (#17775 ) (b7be71c ), closes #17641 #17641
eks: cannot customize alb controller repository and version (#18081 ) (e4256c8 ), closes #18054
eks: the defaultChild
of a KubernetesManifest
is not a CfnResource
(#18052 ) (ef8ab72 )
events: event bus name only generated if no props passed (#18153 ) (9b81662 ), closes #18070
lambda: imported Function still has region and account from its Stack, instead of its ARN (#18255 ) (01bbe4c ), closes #18228
logs: respect region when importing log group (#18215 ) (be909bc ), closes #18214
opensearchservice: imported domain's domainendpoint
is a url not an endpoint (#18027 ) (fd149b1 ), closes #18017
pipelines: can't use exports from very long stack names (#18039 ) (465dabf ), closes #17436
rds: unable to use tokens as port in DatabaseInstance
(#17995 ) (0745193 ), closes #17948
region-info: ssm service principal - fix more regions (#18135 ) (ed30c44 ), closes #16188
region-info: ssm service principal is wrong in majority of regions (#17984 ) (77144f5 ), closes #16188 #17646
route53: support multiple cross account DNS delegations (#17837 ) (76b5c0d ), closes #17836
ResponseURL is logged by S3Deployment (#18048 ) (ed19828 )
Reverts
cfnspec: add CloudFormation documentation to L1 classes (#18177 ) (2530016 )
Alpha modules (2.4.0-alpha.0)
⚠ BREAKING CHANGES TO EXPERIMENTAL FEATURES
lambda-python: assetHashType
and assetHash
properties moved to new bundling
property.
lambda-python: Runtime is now required for LambdaPython
appsync: The CachingConfig#ttl
property is now required.
Features
Bug Fixes
You can’t perform that action at this time.