⚠ BREAKING CHANGES
- apigatewayv2: The parameter for the method
bind()
on
IHttpRouteIntegration
has changed to accept one of type
HttpRouteIntegrationBindOptions
. The previous parameter
IHttpRoute
is now a property inside the new parameter under
the keyroute
. - eks: The experimental
eks.Cluster
construct no longer supports settingkubectlEnabled: false
. A temporary drop-in alternative iseks.LegacyCluster
, but we have plans to completely remove support for it in an upcoming release sinceeks.Cluster
has matured and should provide all the needed capabilities. Please comment on #9332 if there are use cases that are not supported byeks.Cluster
. - eks: endpoint access is configured to private and public by default instead of just public
lambda.Version
andapigateway.Deployment
resources with auto-generated IDs will be replaced as we fixed a bug which ignored resource dependencies when generating these logical IDs.- core: in unit tests, the
node.path
of constructs within stacks created the root of the tree vianew Stack()
will now have a prefixDefault/
which represents an implicitApp
root.
Related: aws/aws-cdk-rfcs#192
- cloudfront: the property OriginBase.originId has been removed
Features
- apigateway: additionalProperties in RestApi Model supports JsonSchema type (#8848) (5e087e5), closes #8069
- apigateway: configure endpoint types on SpecRestApi (#9068) (7673e48), closes #9060
- apigateway: import API keys (#9155) (e3f6ae3), closes #8367
- appsync: add x-ray parameter to AppSync (#9389) (51921ad)
- cloudfront: add support for Origin Groups (#9360) (11e146c), closes #9109
- cloudfront: Behaviors support cached methods, compression, viewer protocol, and smooth streaming (#9411) (2451fa9), closes #7086 #9107
- core: implicit app for root stacks (#9342) (1d85a9f)
- core: warn if an aspect was added via another aspect (#8639) (9d7bef7)
- eks: default masters role (#9464) (b80c271), closes #9463
- eks: deprecate "kubectlEnabled: false" (#9454) (2791017), closes #9332
- eks: endpoint access customization (#9095) (692864c), closes #5220 /github.com/aws/aws-cdk/pull/9095#issuecomment-665621701
- s3: Introduce S3 Inventory (#9102) (b0f359e)
Bug Fixes
-
apigatewayv2: cyclic dependency between HttpApi and the lambda function (#9100) (7b29774), closes #9075
-
athena: WorkGroup tags corruption (#9085) (b688913), closes #6936
-
aws-lambda-python: use cp instead of rsync (#9355) (056bcaf), closes #9349
-
cfn-include: no longer concatenate elements of Fn::Join without tokens (#9476) (d038b61)
-
core: can't have multiple CfnRules in a Stack (#9500) (76a7bfd), closes #8251 #9485
-
core: docs for CfnMapping are not clear (#9451) (c1e3c57), closes #9432
-
dynamodb: allow using PhysicalName.GENERATE_IF_NEEDED as the Table name (#9377) (8ab7b10), closes #9374
-
ecs: Scope-down IAM permissions for ECS drain (#9502) (9fbeec3)
-
ecs: Scope-down IAM permissions on Cluster ASG (#9493) (1670289)
-
ecs-patterns: Adds missing option to secure ingress of ALB in Ap… (#9434) (ba1427f)
-
lambda: bundling docker image does not exist for Go runtime (#9465) (7666d9b), closes #9435
-
cloudfront: remove the originId property from OriginBase (#9380) (70b9f63)
-
do not use "synthesize" and "prepare" in the cdk (#9410) (e3ae645), closes /github.com/aws/aws-cdk/pull/9410#issuecomment-668552361