Bug Fixes
- acm: validated certificate survives eventual consistency in service (#3528) (e7eabca), closes #3527
- ec2: allow adding gateway endpoints to imported VPC (#3509) (b5db88d), closes #3171 #3472
- typo in restapi.ts (#3530) (8381683)
- apigateway: allow reusing lambda integration for multiple apis (#3532) (6e6440a)
- apigateway: invalid schema generated due to un-mapped
ref
(#3258) (254f62c) - asg/ec2: fix value of
defaultChild
(#3572) (c95eab6), closes #3478 - aws-ecs: ensure cluster attributes are accessible from constructor’s props (#3020) (24ebec8)
- cdk-dasm: update README and fix small typo (#3565) (92b5c2d)
- ci: add "do-not-merge" label auto-merge block (#3553) (0c806a6)
- cli: support aws:// prefix for bootstrap command (#3599) (8ac7389)
- core: correct return type of Fn.getAtt (#3559) (02ef2dc)
- core: fix detection of references in Fn.join (#3569) (0a2540b), closes #3554
- core: fix use of references in toJsonString() (#3568) (0fc2c3b)
- ecs: update driverOpts type definition from array to map (#3358) (65e4a5d)
- events: simplify the cache key for cross-account targets (#3526) (db7dc2e)
- java: surpress maven output in cdk.json (#3624) (02e097b), closes #3571
- kms: allow multiple
addAlias
calls on single key (#3596) (54f8ea9) - lambda: allow ArnPrincipal in grantInvoke (#3501) (e222e87), closes #3264
- sqs: do not emit grants to the AWS-managed encryption key (#3169) (07f017b), closes #2794
- ssm: add GetParameters action to grantRead() (#3546) (ebaa1b5)
Code Refactoring
Features
- apigateway: support imported roles for integrations (#3369) (15df3c7), closes #2860
- autoscaling: blockDevices property (#3622) (6953e03)
- autoscaling: health check configuration (#3390) (#3436) (76e5173), closes #3381
- aws-codebuild: support pull_request_merged eventaction type (#3575) (5d4a275), closes #3557
- aws-stepfunctions-tasks: support step functions state machine execution from a task state (#3522) (ac77990), closes #3521
- bootstrap: add kms option to cdk bootstrap (#3634) (d915aac)
- cloudformation: update Resource Specification to v5.0.0 (#3605) (1509399)
- codepipeline: allow cross-account CloudFormation actions (#3208) (8df4b7e)
- ec2: add
GenericWindowsImage
(#3454) (f4ca41c), closes #3400 - ecs: container dependencies (#3032) (56656e0), closes #2490
- ecs-patterns: allow customizing logdriver (#3550) (8ffba4b)
- eks: add HKG (ap-east-1) EKS AMIs (#3533) (e9f9907)
- eks: default capacity (#3633) (91af473), closes #3541
- eks: default vpc (#3632) (3a96c27), closes #3541
- eks: programmatic definition of kubernetes resources (#3510) (4e11d86)
- elasticloadbalancing: add subnet selection (#2833) (#3415) (14e4bc9)
- iam: add Role.externalIds property (#3598) (ba2a4df)
- iam: customer managed policies (#3578) (4681d01)
- png and svg of official aws-cdk logo (#3567) (7158e45), closes #3561
- iam: support permissions boundary policy for User and Role (#3584) (661a95e)
- .net: templatized csharp sample app and moved from init to sample-app. Changed hook code to allow templating. (#3525) (dd52cec)
- route53: add classic elb target support (#3380) (b0720dd)
- route53-targets: s3 bucket website target support (#3618) (bccc11f)
- s3: website routing rules (#3411) (33f3554)
- s3-deployment: CloudFront invalidation (#3213) (e84bdd6), closes #3106
BREAKING CHANGES
- eks: clusters will be created with a default capacity of x2 m5.large instances.
You can specifydefaultCapacity: 0
if you wish to disable. - stepfunctions-tasks: To define a callback task, users should specify "serviceIntegrationPattern: sfn.ServiceIntegrationPattern.WAIT_FOR_TASK_TOKEN" instead of "waitForTaskToken: true".
For a sync task, users should use "serviceIntegrationPattern: sfn.ServiceIntegrationPattern.SYNC" in the place of "synchronous: true".