Skip to content

Releases: aws/aws-cdk

v1.64.0

24 Sep 08:37
9510201
Compare
Choose a tag to compare

Known Issues

  • eks: ❗ Upgrading an existing cluster with service accounts will cause them to be deleted. If you are using service accounts and upgrading to this version from 1.61.1 or below, please apply the workaround suggested here before deploying.
  • eks:FargateCluster and KubernetesPatch breaks deployment. See #10537.

⚠ BREAKING CHANGES TO EXPERIMENTAL FEATURES

  • codedeploy: the default policy for LambdaDeploymentGroup no longer contains sns:Publish on * permissions

  • cfn-include: the construction property 'nestedStacks' of class 'CfnInclude' has been renamed to 'loadNestedStacks'

  • rds: removed protected member subnetGroup from DatabaseCluster classes

  • rds: Cluster now has deletionProtection enabled if its removal policy is RETAIN

  • rds: Instance now has deletionProtection enabled by default only if its removal policy is RETAIN

  • eks: Clusters previously running k8s version other than 1.15 and bottlerocket AMI(aws-k8s-1.15 variant) will trigger AMI and node replacement.

Features

Bug Fixes

  • bootstrap: no longer creates KMS master key by default (#10365) (bedd4c0), closes #10115
  • bootstrapping: --cloudformation-execution-policies not checked (#10337) (ad9a705)
  • cfn-include: allow referring to Conditions in Outputs and Rules (#10373) (4751f42)
  • cfn-include: correctly handle the 'AWS::CloudFormation::CustomResource' resource type (#10415) (1a5a024)
  • cli: --profile is ignored if AWS_ variables are set (#10362) (957a12e)
  • cli: cdk synth fails if AWS_ credentials have expired (#10343) (406f665), closes #7849
  • cli: stack outputs aren't sorted (#10328) (9f430fc)
  • cloudwatch: LTE operator renders wrong symbol (#10418) (2543584), closes #8913
  • codebuild: Project.addFileSystemLocation does not work without providing locations at construction (#10460) (994d3c3), closes #10442
  • core: CfnParameter of Number type cannot be used as a string (#10422) (28adc88), closes #10228
  • diff: deepEqual may miss difference other than DependsOn (#10394) (9bcaf75), closes #10322
  • diff: allow strings to be passed for boolean properties (#10378) (673dd82)
  • diff: handle YAML short-forms like '!GetAtt' in diff (#10381) (457e109), closes #6537
  • dynamodb: cannot change serverSideEncryption from true to false (#8450) (7a266b5), clos...
Read more

v1.63.0

14 Sep 09:03
7a68125
Compare
Choose a tag to compare

Known Issues

  • eks: ❗ Upgrading an existing cluster with service accounts will cause them to be deleted. If you are using service accounts and upgrading to this version from 1.61.1 or below, please apply the workaround suggested here before deploying.
  • eks:FargateCluster and KubernetesPatch breaks deployment. See #10537.

⚠ BREAKING CHANGES TO EXPERIMENTAL FEATURES

  • appsync: force apiKeyConfig require a Expiration class instead of string
  • appsync: Parameter apiKeyConfig takes Expiration class instead of string
  • core: custom implementations of IStackSynthesizer
    must now implement synthesize() instead of
    synthesizeStackArtifacts().
  • aws-batch: Changed type of ComputeResources.computeResourcesTags from Tag to map

Features

Bug Fixes

Read more

v1.62.0

04 Sep 08:02
8c2d7fc
Compare
Choose a tag to compare

Known Issues

  • eks: ❗ Upgrading an existing cluster with service accounts will cause them to be deleted. If you are using service accounts and upgrading to this version from 1.61.1 or below, please apply the workaround suggested here before deploying.
  • eks:FargateCluster and KubernetesPatch breaks deployment. See #10537.

⚠ BREAKING CHANGES TO EXPERIMENTAL FEATURES

  • eks: when importing EKS clusters using eks.Cluster.fromClusterAttributes, the clusterArn attribute is not supported anymore, and will always be derived from clusterName.
  • eks: Only a single eks.Cluster is allowed per CloudFormation stack.
  • eks: The securityGroups attribute of ClusterAttributes is now securityGroupIds.
  • cli: --qualifier must be alphanumeric and not longer than 10 characters when bootstrapping using newStyleStackSynthesis.

Features

Bug Fixes

  • apigateway: burst and rate limits are set to unlimited when configured to 0 (#10088) (96f1772), closes #10071
  • appsync: GraphQLApi.UserPoolConfig requires DefaultAction (#10031) (6114045), closes #10028
  • aws-elasticloadbalancingv2: fix load balancer deletion protection to properly update when set to false (#9986) (a65dd19)
  • aws-sns: enable topic encryption with cross account keys (#10056) (327b72a), closes #10055
  • aws-stepfunctions-tasks: missing permission to get build status (#10081) (cbdd084), closes #8043
  • aws-stepfunctions-tasks: SageMaker create training job has incorrect property name for AttributeNames (#10026) (ba51ea3), closes #10014
  • cfn-include: allow Conditions to reference Mappings in their definitions (#10105) (aa2068f), closes #10099
  • cfn-include: allow parameters to be replaced across nested stacks (#9842) (9ea8d5c), closes #9838
  • cli: AssumeRole profiles require a [default] profile (#10032) (95c0332), closes #9937
  • cli: bootstrapping qualifier length not validated (#10121) (e069263), closes #9255
  • cli: Linux browser not supported for cdk docs (#9549) (663913f), closes #2847
  • cli: re-bootstrapping loses previous configuration (#10120) (4e5829a), closes #10091
  • cli: unable to upgrade new style bootstrap to version (#10030) (c5bb55c), closes #10016
  • cloudfront: Distribution does not add edgelambda trust policy (#10006) (9098e29), closes #9998
  • **custom...
Read more

v1.61.1

28 Aug 11:41
347918f
Compare
Choose a tag to compare

Bug Fixes

v1.61.0

27 Aug 09:57
72e6727
Compare
Choose a tag to compare

Features

  • appsync: implement resolvable fields for code-first schema (#9660) (9e3b798)
  • appsync: separating schema from graphql api (#9903) (8d71fa1)
  • cli: automatically determine region on EC2 instances (#9313) (1cf986d)
  • core: facility to warn when deprecated APIs are used (#9585) (b1d0ac0)
  • custom-resources: function name for AwsCustomResource (#9774) (6da6581), closes #9771
  • eks: envelope encryption for secrets (#9438) (65fd3e6), closes #9140
  • rds: deletion protection for RDS cluster (#9871) (ef98b9f), closes #6944
  • rds: grantConnect for database instances (#9887) (e893828), closes #1558
  • region-info: add information for af-south-1 and eu-south-1 regions (#9569) (9d76c26)
  • s3: imported buckets can have an explicit region (#9936) (f0c76ac), closes #8280 #9556
  • stepfunctions-tasks: add support for CodeBuild StartBuild API (#9757) (dae54ec), closes #8043

Bug Fixes

v1.60.0

20 Aug 00:46
8e3f53a
Compare
Choose a tag to compare

⚠ BREAKING CHANGES

  • cloudfront: Distribution: .domains must be specified if certificate is provided.
  • appsync: appsync.addXxxDataSource name and description props are now optional and in an DataSourceOptions interface.
  • appsync: the props name and description in addXxxDataSource have been moved into new props options of type DataSourceOptions
  • appsync: DataSourceOptions.name defaults to id
  • appsync: DataSourceOptions.description defaults to undefined

Features

Bug Fixes

  • apigateway: access log format does not allow tokens (#9769) (a7c5c75), closes #9687
  • build: Prereq check - support paths with spaces. (9ca1d02), closes #9749
  • cfn-include: handle numbers expressed as strings in templates (#9525) (e9a4102), closes #9524
  • cli: "fancy" progress reporting not disabled on all CI systems (#9516) (97ef371), closes #8696 #8893
  • cli: CLI does not use regional endpoints (#9835) (34450b0), closes #9223
  • cli: stack monitor reads complete stack history every 5 seconds (#9795) (cace51a), closes #9470
  • cli: SynthUtils is not used (#9836) (9f1007e)
  • cloudformation-diff: DependsOn singleton arrays aren't equal to string values (#9814) (49cdb47)
  • cloudfront: all origin access identities have identical names (#9829) (ca79188), closes #9580
  • cloudfront: Distribution ignores webAclId (#9828) (366c781), closes #9635 #9824
  • cloudfront: Update Suported Security Protocol enum and set TLS_V1_2_2019 as a default version (#9738) (f6c25ad), closes #9212
  • codebuild: fails on using PR Events together with FILE_PATH filters in a FilterGroup (#9725) (fdaf6bc), closes #8867
  • codepipeline: Service Catalog action generated incorrect file path (#9773) (286ff50), closes #9767
  • eks: AMI changes in managed SSM store param causes rolling update of ASG (#9746) (44f7753), closes #7273
  • elbv2: NLB Target Group does not inherit protocol (#9331) (#9651) (171ab59)
  • lambda: compute platform missing for autocreated profiling group (#9716) (a8f4c9f)
  • lambda-nodejs: cannot bundle when entry file is named index.ts (#9724) (bb90fbe), closes #9709
  • lambda-nodejs: NodejsFunction construct incompatible with lambda@edge (#9562) ([dfe2c5c](dfe2c5c665a5662972098...
Read more

v1.59.0

15 Aug 01:05
1d082f4
Compare
Choose a tag to compare

⚠ BREAKING CHANGES

  • eks: cluster.addResource was renamed to cluster.addManifest and KubernetesResource was renamed to KubernetesManifest
  • cloudfront: (cloudfront) Changed IDs for Distributions (will cause resource replacement).

Features

  • cfn-include: allow passing Parameters to the included template (#9543) (cb6de0a)
  • cfnspec: cloudformation spec v16.3.0 (#9452) (fb5068d)
  • cloudfront: Distribution support for logging, geo restrictions, http version and IPv6 (#9635) (4c62702)
  • codebuild: add support for GPU build images (#8879) (b1b4cee), closes #8408
  • codeguruprofiler: add support for ComputePlatform in ProfilingGroup (#9391) (5a64bc5)
  • ec2: CloudFormation-init support (#9065) (014c13a), closes #8788 #9063 #9063
  • eks: ability to query runtime information from the cluster (#9535) (4bc8188), closes #8394
  • synthetics: Synthetics L2 Support (#8824) (691b349), closes #7687

Bug Fixes

  • cloudfront: ensures origin groups are added with their own ID as a target (#9593) (246842f), closes #9561 #9561
  • cloudfront: Escape hatch support for Distribution (#9648) (cc229c2), closes #9620
  • codepipeline: S3 source Action with trigger=Events fails for bucketKey a Token (#9575) (43214b4), closes #9554
  • ec2: can't use imported Subnets in a SubnetSelection (#9579) (1c4eae8)

v1.58.0

12 Aug 20:23
09e12a6
Compare
Choose a tag to compare

Features

Bug Fixes

  • cfn-include: allowedValues aren't included when specified by a parameter (#9532) (e7dc82f)
  • codedeploy: ServerDeploymentGroup takes AutoScalingGroup instead of IAutoScalingGroup (#9252) (9ff55ae), closes #9175
  • docdb: autoMinorVersionUpgrade property was not set to true by default as stated in the docstring (#9505) (e878f9c)
  • ec2: Volume grants have an overly complicated API (#9115) (74e8391), closes #9114
  • efs: LifecyclePolicy of AFTER_7_DAYS is not applied (#9475) (f78c346), closes #9474
  • eks: clusters in a FAILED state are not detected (#9553) (d651948)
  • eks: private endpoint access doesn't work with Vpc.fromLookup (#9544) (dd0f4cb), closes #9542 #5383
  • lambda: cannot create lambda in public subnets (#9468) (b46fdc9)
  • pipelines: CodeBuild images have (too) old Node version (#9446) (bd45f34), closes #9070
  • pipelines: manual approval of changeset uses wrong ordering (#9508) (5c01da8), closes #9101 #9101

v1.57.0

07 Aug 20:59
2ccfc50
Compare
Choose a tag to compare

⚠ 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 key route.
  • eks: The experimental eks.Cluster construct no longer supports setting kubectlEnabled: false. A temporary drop-in alternative is eks.LegacyCluster, but we have plans to completely remove support for it in an upcoming release since eks.Cluster has matured and should provide all the needed capabilities. Please comment on #9332 if there are use cases that are not supported by eks.Cluster.
  • eks: endpoint access is configured to private and public by default instead of just public
  • lambda.Version and apigateway.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 via new Stack() will now have a prefix Default/ which represents an implicit App root.

Related: aws/aws-cdk-rfcs#192

  • cloudfront: the property OriginBase.originId has been removed

Features

Bug Fixes

v1.56.0

01 Aug 00:47
c1c174d
Compare
Choose a tag to compare

⚠ BREAKING CHANGES

  • appsync: appsync prop schemaDefinition no longer takes string, instead it is required to configure schema definition mode.
  • appsync: schemaDefinition takes param SchemaDefinition.XXX to declare how schema will be configured
    • SchemaDefinition.CODE allows schema definition through CDK
    • SchemaDefinition.FILE allows schema definition through schema.graphql file
  • cloudfront: Removed origin classes from the aws-cloudfront module.
  • aws-cloudfront: Removed S3Origin and HttpOrigin from the aws-cloudfront module. Use the S3Origin and HttpOrigin classes in the aws-cloudfront-origins module instead.
  • aws-cloudfront: Renamed Origin to OriginBase.
  • cloudfront: the property Origin.domainName has been removed

Features

Bug Fixes