- ecs-patterns: the
desiredCount
property stored on the above constructs will be optional, allowing them to be undefined. This is enabled through the@aws-cdk/aws-ecs-patterns:removeDefaultDesiredCount
feature flag. We would recommend all CDK users to set the@aws-cdk/aws-ecs-patterns:removeDefaultDesiredCount
flag totrue
for all of their existing applications.
⚠ BREAKING CHANGES TO EXPERIMENTAL FEATURES
- apigatewayv2:
HttpApiMapping
(and related interfaces forAttributed
andProps
) has been renamed toApiMapping
- apigatewayv2:
CommonStageOptions
has been renamed toStageOptions
- apigatewayv2:
HttpStage.fromStageName
has been removed in favour ofHttpStage.fromHttpStageAttributes
- apigatewayv2:
DefaultDomainMappingOptions
has been removed in favour ofDomainMappingOptions
- apigatewayv2:
HttpApiProps.defaultDomainMapping
has been changed fromDefaultDomainMappingOptions
toDomainMappingOptions
- apigatewayv2:
HttpApi.defaultStage
has been changed fromHttpStage
toIStage
- apigatewayv2:
IHttpApi.defaultStage
has been removed - aws-appsync: RdsDataSource now takes a ServerlessCluster instead of a DatabaseCluster
- aws-appsync: graphqlapi.addRdsDataSource now takes databaseName as its fourth argument
Features
- apigateway: integrate with aws services in a different region (#13251) (d942699), closes #7009
- apigatewayv2: websocket api (#13031) (fe1c839), closes #2872
- aws-appsync: add databaseName to rdsDataSource (#12575) (f92b65e), closes #12572
- aws-events: Event Bus target (#12926) (ea91aa3), closes #9473
- aws-route53-targets: add global accelerator target to route53 alias targets (#13407) (2672a55), closes #12839
- aws-s3: adds s3 bucket AWS FSBP option (#12804) (b9cdd52), closes #10969
- cfnspec: cloudformation spec v28.0.0 (#13101) (13c9859)
- cfnspec: cloudformation spec v29.0.0 (#13249) (6318e26)
- cfnspec: cloudformation spec v30.0.0 (#13365) (ae0185d)
- cli: Configurable --change-set-name CLI flag (#13024) (18184df), closes #11075 #12683
- cloudwatch: EC2 actions (#13281) (319cfcd), closes #13228
- cognito: user pools - sign in with apple (#13160) (b965589)
- core:
description
parameter in the CustomResourceProvider (#13275) (78831cf), closes #13277 #13276 - core: customize bundling output packaging (#13152) (6eca979)
- ec2: Add VPC endpoint for RDS (#12497) (fc87574), closes #12402
- ecs: add port mappings to containers with props (#13262) (f511639), closes #13261
- ecs: allow selection of container and port for SRV service discovery records (#12798) (a452bc3), closes #12796
- ecs-patterns: Add support for assignPublicIp for QueueProcessingFargateService (#13122) (3fb4600), closes #12815
- ecs-patterns: remove default desiredCount to align with cfn behaviour (under feature flag) (#13130) (a9caa45)
- elasticloadbalancingv2: Add support for application cookies (#13142) (23385dd)
- elbv2: allow control of ingress rules on redirect listener (#12768) (b7b441f), closes #12766
- events: archive events (#12060) (465cd9c), closes #11531
- events: dead letter queue for Lambda Targets (#11617) (1bb3650), closes #11612
- lambda: code signing config (#12656) (778ea27), closes #12216
- lambda: Code.fromDockerBuild (#13318) (ad01099), closes #13273
- lambda: Code.fromDockerBuildAsset (#12258) (09afed5), closes #11914
- neptune: high level constructs for db clusters and instances (#12763) (c366837), closes aws#12762
- stepfunctions-tasks: add EKS call to SFN-tasks (#12779) (296a10d)
- synthetics: Update CloudWatch Synthetics NodeJS runtimes (#12907) (6aac3b6), closes #12906
Bug Fixes
- appsync: revert to allow resolver creation from data source (#12973) (d35f032), closes #12635 #11522
- aws-appsync: use serverlessCluster on rdsDataSource (#13206) (45cf387), closes #12567
- cfn-diff: handle Fn::If inside policies and statements (#12975) (daf4e47), closes #12887
- cfn-include: allow dynamic mappings to be used in Fn::FindInMap (#13428) (623675d)
- cloudfront: cannot add two EdgeFunctions with same aliases (#13324) (1f35351), closes #13237
- cloudwatch: MathExpression period of <5 minutes is not respected (#13078) (d9ee914), closes #9156
- cloudwatch: metric
label
not rendered into Alarms (#13070) (cbcc712) - codebuild: allow FILE_PATH webhook filter for BitBucket (#13186) (cbed348), closes #13175
- core: custom resource provider NODEJS_12 now looks like Lambda's NODEJS_12_X, add Node 14 (#13301) (3413b2f)
- core: ENOTDIR invalid cwd on "cdk deploy" (#13145) (cd7a3ed), closes #12258 #13076 #13131
- custom-resources: unable to use a resource attributes as dictionary keys in AwsCustomResource (#13074) (3cb3104), closes #13063
- dynamodb: replicas not created on table replacement (#13300) (c7c424f), closes #12332
- ec2: NAT provider's default outbound rules cannot be disabled (#12674) (664133a), closes #12673
- ec2: readme grammar (#13180) (fe4f056)
- ec2: Throw error on empty InitFile content (#13009) (#13119) (81a78a3)
- ecr: Allow referencing an EcrImage by digest instead of tag (#13299) (266a621), closes #5082
- ecr: Generate valid CloudFormation for imageScanOnPush (#13420) (278fba5), closes #13418
- ecs: services essential container exceptions thrown too soon (#13240) (c174f6c), closes #13239
- eks:
KubectlProvider
creates un-necessary security group (#13178) (c5e8b6d) - UserPool, Volume, ElasticSearch, FSx are now RETAIN by default (#12920) (5a54741), closes #12563
- eks: Deployment fails for the first deployment in an account (#13103) (e042879), closes #9027
- incorrect peerDependency on "constructs" (#13255) (17244af)
- elasticloadbalancingv2: should allow more than 2 certificates (#13332) (d3155e9), closes #13150
- events: cannot trigger multiple Lambdas from the same Rule (#13260) (c8c1762), closes #13231
- events: imported ECS Task Definition cannot be used as target (#13293) (6f7cebd), closes #12811
- lambda-nodejs: 'must use "outdir"' error with spaces in paths (#13268) (09723f5), closes #13210
- lambda-nodejs: invalid sample in documentation (#12404) (520c263)
- lambda-nodejs: paths with spaces break esbuild (#13312) (f983fbb), closes #13311
- lambda-python: asset hash is non-deterministic (#12984) (37debc0), closes #12770 #12684
- stepfunctions:
SageMakeUpdateEndpoint
adds insufficient permissions (#13170) (6126e49), closes #11594