⚠ BREAKING CHANGES
- route53: the value of
hostedZoneId
will no longer include/hostedzone/
prefix and only includes the hostedZoneId when usingHostedZone.fromLookup
orfromHostedZoneAttributes
- cloudfront: (experimental module)
S3OriginConfig.originAccessIdentityId
or typestring
has been removed in favor ofS3OriginConfig.originAccessIdentity
of typeIOriginAccessIdentity
. - cli:
cdk diff
now exits with 0 even when there's a diff, use--fail
to exit with 1. To enable this feature for old projects, add the context key"aws-cdk:diffNoFail": "true"
in yourcdk.json
file.
Features
- appsync: add L2 constuct for AppSync (#4438) (226b27a)
- cfnspec: Update CloudFormation spec to v10.1.0 (#5431) (ac905ac)
- cli: always exit with 0 on cdk diff (under feature flag) (#4721) (3ffd810), closes #4650 #4708
- cloudformation: import CloudFormation resource specification v9.1.1 (#5297) (7f33541)
- cloudformation: update Resource Specification to v10.0.0 (#5339) (3db8565), closes #5302
- cloudfront: CloudFrontOriginAccessIdentity (#4491) (8623fe5)
- codebuild: support AL2 2.0 & Standard 3.0 (#5226) (e6ef981)
- codebuild: Support ARM-based AL2 image (#5233) (8fc5622)
- codepipeline: allow retrieving created stages and actions (#5206) (a5b056b), closes #4878
- ec2: access gateways created by NatProvider (#4948) (5907055), closes #4858
- ec2: Add missing EC2 instance types (#5349) (#5350) (bc161d6)
- ec2: Add REKOGNITION_FIPS interface endpoint (#5316) (b291280), closes #5314
- ecs: Add support for ECS DeploymentController (#5402) (58e67e6)
- ecs-patterns: healthyPercent on ALB, NLB, Fargate (#4820) (150e65c)
- events: add static grantPutEvents() to EventBus (#5133) (0823396)
- lambda: function can be attached to a list of security groups in the vpc (#5049) (4c1a9ec)
- region-info: throw exception when no fact found (#5166) (88df1eb), closes #3194
- sns: support KMS masterKey on SNS (#5052) (edd5395), closes #1729
- Make activating Python virtualenv easier on Windows (#5014) (fc73747)
Bug Fixes
- apigateway: unable to enable cors with a root proxy and LambdaRestApi (#5249) (f3d5fc9), closes #5232
- cdk-dasm: prevent duplicate imports (#5293) (d4562b7)
- cli: fix the behaviour for the
--generate-only
flag (#5253) (ecbe0b6) - cli: this.node.addError does not cause
cdk diff
to fail #4700 (#5284) (1b12dba) - cloudfront: associated lambda role requires edgelambda.amazonaws.com (#5191) (173d886), closes #5180
- codebuild: add deprecation warning for UBUNTU_14_04 (#5234) (c1b575f)
- codepipeline: CloudFormation deployment role always gets pipeline bucket and key permissions (#5190) (d5c0f3e), closes #5183
- core: dependencies across stack boundaries of all kinds (#5211) (d1f0dd5), closes #4460 #4474
- dockerfile:
docker build
is missingdotnet
(#5091) (18fa3aa) - docs: update removed subscribeLambda method example (#5060) (d2a86a5)
- dynamodb: add missing permission for read stream data (#5074) (22688ce)
- dynamodb: stacks created by GlobalTable correctly inherit their account. (#5202) (5ad5407), closes #4882
- ec2: can't add non-default routes to subnets (#5332) (e4309ab)
- ec2: CIDR for "any" IPv6 too long (#5179) (3695d8c)
- ec2: Fix CODEBUILD_FIPS interface endpoint (#5315) (465c848)
- ecr: remove deprecated requirement on docs and comments (#5428) (40ec78e), closes #2857 #2857 #3273
- init-templates: use pytest for Python sample-app init template (#5325) (6c25da7), closes #5313
- route53: return plain hosted zone id without /hostedzone/ prefix (#5230) (5e08753)
- sfn: Task
parameters
property does nothing (#5408) (01df7c6), closes #5267 - test: fix .nycrc symlinking (#5245) (d2496e0)