Skip to content

v1.22.0

Compare
Choose a tag to compare
@aws-cdk-automation aws-cdk-automation released this 23 Jan 23:36
309ac1b

⚠ BREAKING CHANGES

  • eks: (experimental module) the Mapping struct was renamed to AwsAuthMapping.
  • core: Arn.parseArn now returns empty string for nullable Arn components. Users who were depending on an undefined value will now receive the falsy empty string.
  • ecr-assets: all docker image assets are now pushed to a single ECR repository named aws-cdk/assets with an image tag based on the hash of the docker build source directory (the directory where your Dockerfile resides). See PR #5733 for details and discussion.
  • autoscaling: AutoScaling by using scaleOnMetric will no longer force the alarm period to 1 minute, but use the period from the Metric object instead (5 minutes by default). Use metric.with({ period: Duration.minute(1) }) to create a high-frequency scaling policy.

Features

  • apigatewayv2: fork APIGatewayV2 into its own package (#5816) (d58667e)
  • cloudformation: upgrade the CloudFormation resource specification to v10.3.0 (#5882) (e5e4725)
  • ecr-assets: simplify docker asset publishing (#5733) (b52b43d), closes #3463 #5807
  • eks: fargate profiles (#5589) (450a127), closes #5303
  • lambda: allow inline code for nodejs12.x runtime (#5710) (a1cd743)
  • lambda-destinations: option to auto-extract the payload when using LambdaDestination (#5503) (321372f)
  • route53-targets: Add aws-route53-targets/InterfaceVpcEndpointTarget (#4868) (6969562)
  • bump JSII to version 0.21.2 (#5919) (dd18456)

Bug Fixes

  • apigateway: LambdaRestApi fails when a user defined Stage is attached (#5838) (05719d7), closes #5744
  • autoscaling: can't use MathExpression in scaleOnMetric (d4c1b0e), closes #5776
  • SecretsManagerRDSPostgreSQLRotationMultiUser not working (49032ee)
  • autoscaling: can't use block devices (fee1324), closes #5868
  • core: allow empty string components in parseArn (#5875) (5ed5eb4), closes #5808
  • lambda: setting log retention to INFINITE causes failure (#5876) (19ed739)
  • route53: incorrect domain name produced when using HTTPS in ApplicationLoadBalancedFargateService (#5802) (5ba5a5e)