⚠ BREAKING CHANGES TO EXPERIMENTAL FEATURES
- cfn2ts: some "complex" property types within the generated
CloudFormation interfaces (i.e: properties ofCfn*
constructs) with
names starting with a capital letterI
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 containhttps://
prefix, now the prefix is dropped and it returns the same value as adomainEndpoint
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 aKubernetesManifest
is not aCfnResource
(#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
Alpha modules (2.4.0-alpha.0)
⚠ BREAKING CHANGES TO EXPERIMENTAL FEATURES
- lambda-python:
assetHashType
andassetHash
properties moved to newbundling
property. - lambda-python: Runtime is now required for
LambdaPython
- appsync: The
CachingConfig#ttl
property is now required.
Features
- amplify: Add Amplify asset deployment resource (#16922) (499ba85), closes #16208
- apigatewayv2: http api - IAM authorizer support (#17519) (fd8e0e3), closes #15123 /github.com/aws/aws-cdk/pull/14853#discussion_r648952691 #10534
- apigatewayv2: Lambda authorizer for WebSocket API (#16886) (67cce37), closes #13869
- glue: support partition index on tables (#17998) (c071367), closes #17589
- iot: Action to send messages to SQS queues (#18087) (37537fe), closes #17699
- iot: add Action to set a CloudWatch alarm (#18021) (de2369c), closes #17705
- lambda-python: support for providing a custom bundling docker image (#18082) (c3c4a97), closes #10298 #12949 #15391 #16234 #15306
- msk: add Kafka versions 2.6.3, 2.7.1 and 2.7.2 (#18191) (8832df1)