Skip to content

Releases: aws/aws-cdk

v1.47.0

24 Jun 20:05
c2b499a
Compare
Choose a tag to compare

⚠ BREAKING CHANGES

  • stepfunctions-tasks: Dynamo* tasks no longer implementIStepFunctionsTask and have been replaced by constructs that can be instantiated directly. See README for examples

Features

Bug Fixes

  • appsync: Not to throw an Error even if 'additionalAuthorizationModes' is undefined (#8673) (6b5d77b), closes #8666 #8668
  • cli: cannot change policies or trust after initial bootstrap (#8677) (6e6b23e), closes #6581
  • cli: crash on tiny reported terminal width (#8675) (a186c24), closes #8667
  • toolkit: CLI tool fails on CloudFormation Throttling (#8711) (e512a40), closes #5637

v1.46.0

20 Jun 02:57
63860b2
Compare
Choose a tag to compare

⚠ BREAKING CHANGES

  • stepfunctions-tasks: constructs for EMR* have been introduced to replace
    previous implementation which implemented IStepFUnctionsTask.
  • stepfunctions-tasks: sizeInGB property in VolumeSpecification has been renamed to volumeSize and is of type cdk.Size as we want to enable specifying any unit
  • stepfunctions-tasks: ebsRootVolumeSize property in EmrCreateCluster is now of type cdk.Size as we want to enable specifying any unit
  • stepfunctions-tasks: Tags in EmrCreateCluster type has changed from cdk.CfnTag[] to a map of string to string as we do not want to leak Cfn types
  • rds: the attribute securityGroupId has been removed from IDatabaseCluster,
    use cluster.connections.securityGroups instead
  • rds: DatabaseClusterAttributes.securityGroup has been changed to securityGroups, and its type to an array
  • rds: InstanceProps.securityGroup has been changed to securityGroups, and its type to an array
  • rds: the property engine can no longer be passed when creating a DatabaseInstanceReadReplica
  • rds: the property 'instanceClass' in DatabaseInstanceNewProps has been renamed to 'instanceType'
  • appsync: Changes way of auth config even for existing supported methods viz., User Pools and API Key.

Features

Bug Fixes

  • apigateway: deployment fails when domain name has uppercase letters (#8456) (1e6a8e9), closes #8428
  • appsync: don't mix the json result with setting variables (#8290) (7ca74e0), closes #7026
  • autoscaling: can't configure notificationTypes (#8294) (01ef1ca)
  • cli: bootstrapping cannot be retried (#8577) (cad6649)
  • cloudtrail: Invalid arn partition for GovCloud (#8248) (5189170), closes #8247
  • core: asset bundling runs as root (#8492) (6df546f), closes #8489
  • core: asset staging custom hash ...
Read more

v1.45.0

09 Jun 17:46
0cfab15
Compare
Choose a tag to compare

⚠ BREAKING CHANGES

  • stepfunctions-tasks: constructs for SageMakerCreateTrainingJob and
    SageMakerCreateTransformJob replace previous implementation that
    implemented IStepFunctionsTask.
  • stepfunctions-tasks: volumeSizeInGB property in ResourceConfig for
    SageMaker tasks are now type core.Size
  • stepfunctions-tasks: maxPayload property in SagemakerTransformProps
    is now type core.Size
  • stepfunctions-tasks: volumeKmsKeyId property in SageMakerCreateTrainingJob is now volumeEncryptionKey
  • cognito: requiredAttributes on UserPool construct is now replaced with standardAttributes with a slightly modified signature.
  • rds: DatabaseClusterProps.kmsKey has been renamed to storageEncryptionKey
  • rds: DatabaseInstanceNewProps.performanceInsightKmsKey has been renamed to performanceInsightEncryptionKey
  • rds: DatabaseInstanceSourceProps.secretKmsKey has been renamed to masterUserPasswordEncryptionKey
  • rds: DatabaseInstanceProps.kmsKey has been renamed to storageEncryptionKey
  • rds: DatabaseInstanceReadReplicaProps.kmsKey has been renamed to storageEncryptionKey
  • rds: Login.kmsKey has been renamed to encryptionKey

Features

  • assert: more powerful matchers (#8444) (ed6f763)
  • cloud9: support AWS CodeCommit repository clone on launch (#8205) (4781f94), closes #8204
  • codestar: support the GitHubRepository resource (#8209) (02ddab8), closes #8210
  • cognito: allow mutable attributes for requiredAttributes (#7754) (1fabd98)
  • core,s3-assets,lambda: custom asset bundling (#7898) (888b412)
  • rds: rename 'kmsKey' properties to 'encryptionKey' (#8324) (4eefbbe)
  • secretsmanager: deletionPolicy for secretsmanager (#8188) (f6fe36a), closes #6527
  • secretsmanager: Secret.grantRead() also gives DescribeSecret permissions (#8409) (f44ae60), closes #6444 #7953
  • stepfunctions-tasks: task constructs for creating and transforming SageMaker jobs (#8391) (480d4c0)

Bug Fixes

  • apigateway: authorizerUri does not resolve to the correct partition (#8152) (f455273), closes #8098
  • apigateway: methodArn not replacing path parameters with asterisks (#8206) (8fc3751), closes #8036
  • aws-s3-deployment: Set proper s-maxage Cache Control header (#8434) (8d5b801), closes #6292
  • cognito: error when using parameter for domainPrefix (#8399) (681b3bb), closes #8314
  • dynamodb: old global table replicas cannot be deleted (#8224) (00884c7), closes #7189
  • elbv2: addAction ignores conditions (#8385) (729cc0b), closes #8328
  • elbv2: missing permission to write NLB access logs to S3 bucket (#8114) (d6a1265), closes #8113

v1.44.0

04 Jun 15:23
1cd832b
Compare
Choose a tag to compare

Features

  • ecs-patterns: support min and max health percentage in queueprocessingservice (#8312) (6da564d)

v1.43.0

04 Jun 02:01
b1c232c
Compare
Choose a tag to compare

⚠ BREAKING CHANGES

  • rds: the default retention policy for RDS Cluster and DbInstance is now 'Snapshot'
  • cognito: OAuth flows authorizationCodeGrant and
    implicitCodeGrant in UserPoolClient are enabled by default.
  • cognito: callbackUrl property in UserPoolClient is now
    optional and has a default.
  • cognito: All OAuth scopes in a UserPoolClient are now enabled
    by default.

Features

  • cfn-include: add support for Conditions (#8144) (33212d2)
  • cognito: addDomain() on an imported user pool (#8123) (49c9f99)
  • cognito: sign in url for a UserPoolDomain (#8155) (e942936)
  • cognito: user pool identity provider with support for Facebook & Amazon (#8134) (1ad919f)
  • dynamodb: allow providing indexes when importing a Table (#8245) (9ee61eb), closes #6392
  • events-targets: kinesis stream as event rule target (#8176) (21ebc2d), closes #2997
  • lambda-nodejs: allow passing env vars to container (#8169) (1755cf2), closes #8031
  • rds: change the default retention policy of Cluster and DB Instance to Snapshot (#8023) (2d83328), closes #3298
  • redshift: add initial L2 Redshift construct (#5730) (703f0fa), closes #5711
  • s3: supports RemovalPolicy for BucketPolicy (#8158) (cb71f34), closes #7415
  • stepfunctions-tasks: start a nested state machine execution as a construct (#8178) (3000dd5)
  • stepfunctions-tasks: task state construct to submit a job to AWS Batch (#8115) (bc41cd5)

Bug Fixes

  • apigateway: deployment is not updated when OpenAPI definition is updated (#8207) (d28c947), closes #8159
  • app-delivery: could not use PipelineDeployStackAction more than once in a Stage (#8217) (9a54447), closes #3984 #8183
  • cli: termination protection not updated when change set has no changes (#8275) (29d3145)
  • codepipeline: allow multiple CodeCommit source actions using events (#8018) (103c144), closes #7802
  • codepipeline: correctly handle CODEBUILD_CLONE_REF in BitBucket source (#7107) (ac001b8)
  • codepipeline: unhelpful artifact validation messages (#8256) (2a2406e)
  • core: CFN version and description template sections were merged incorrectly (#8251) (b7e328d), closes #8151
  • lambda: SingletonFunction.grantInvoke() API fails with error 'No child with id' (#8296) (a8b1815), closes #8240
  • rds: cannot delete a stack with DbCluster set to 'Retain' (#8110) (c2e534e), closes #5282
  • sqs: unable to use CfnParameter 'valueAsNumber' to specify queue properties (#8252) (8ec405f), closes #7126

v1.42.1

01 Jun 17:54
a4797b4
Compare
Choose a tag to compare

Bug Fixes

  • lambda: SingletonFunction.grantInvoke() API fails with error 'No child with id' (#8296) (b4e264c), closes #8240

v1.42.0

27 May 12:37
3b64241
Compare
Choose a tag to compare

⚠ BREAKING CHANGES

  • cloudtrail: API signatures of addS3EventSelectors and
    addLambdaEventSelectors have changed. Their parameters are now
    strongly typed to accept IBucket and IFunction respectively.
  • cloudtrail: addS3EventSelectors and addLambdaEventSelectors
    can no longer be used to configure all S3 data events or all Lambda data
    events. Two new APIs logAllS3DataEvents() and
    logAllLambdaDataEvents() have been introduced to achieve this.
  • cloudtrail: The property snsTopic is now of the type ITopic.

Features

  • cfnspec: cloudformation spec v14.4.0 (#8195) (99e7330)
  • cloudtrail: create cloudwatch event without needing to create a Trail (#8076) (0567a23), closes #6716
  • cloudtrail: user specified log group (#8079) (0a3785b), closes #6162
  • codeguruprofiler: ProfilingGroup (#7895) (995088a)
  • codepipeline: use a special bootstrapless synthesizer for cross-region support Stacks (#8091) (575f1db), closes #8082
  • cognito: user pool - case sensitivity for sign in (460394f), closes #7988 #7235
  • core: CfnJson enables intrinsics in hash keys (#8099) (195cd40), closes #8084
  • eks: improve security using IRSA conditions (#8084) (35a01a0)
  • elbv2: Supports new types of listener rule conditions (#7848) (3d30ffa), closes #3888
  • secretsmanager: adds grantWrite to Secret (#7858) (3fed84b)
  • sns: add support for subscription DLQ in SNS (383cdb8)
  • stepfunctions: new service integration classes for Lambda, SNS, and SQS (#7946) (c038848), closes #6715 #6489
  • stepfunctions: support paths in Pass state (#8070) (86eac6a), closes #7181
  • stepfunctions-tasks: task for starting a job run in AWS Glue (#8143) (a721e67)

Bug Fixes

  • apigateway: contextAccountId in AccessLogField incorrectly resolves to requestId (7b89e80), closes #7952 #7951
  • autoscaling: add noDevice as a volume type (#7253) (751958b), closes #7242
  • aws-eks: kubectlEnabled: false conflicts with addNodegroup (#8119) (8610889), closes #7993
  • cli: paper cuts (#8164) (af2ea60)
  • dynamodb: the maximum number of nonKeyAttributes is 100, not 20 (#8186) (0393528), closes #8095
  • eks: unable to add multiple service accounts (#8122) (524440c)
  • events: cannot use the same target account for 2 cross-account event sources (#8068) (395c07c), closes #8010
  • lambda-nodejs: build fails on Windows (#8140) (04490b1), closes #8107
  • cloudtrail: better typed event selector apis (#8097) (0028778)

v1.41.0

21 May 12:04
9e071d2
Compare
Choose a tag to compare

Features

  • cloudtrail: create cloudwatch event without needing to create a Trail (#8076) (0567a23), closes #6716
  • cognito: user pool - case sensitivity for sign in (460394f), closes #7988 #7235
  • core: CfnJson enables intrinsics in hash keys (#8099) (195cd40), closes #8084
  • secretsmanager: adds grantWrite to Secret (#7858) (3fed84b)
  • sns: add support for subscription DLQ in SNS (383cdb8)
  • stepfunctions: new service integration classes for Lambda, SNS, and SQS (#7946) (c038848), closes #6715 #6489

Bug Fixes

  • apigateway: contextAccountId in AccessLogField incorrectly resolves to requestId (7b89e80), closes #7952 #7951
  • autoscaling: add noDevice as a volume type (#7253) (751958b), closes #7242

v1.40.0

20 May 14:35
b2c3043
Compare
Choose a tag to compare

Features

v1.39.0

16 May 01:51
5d727c1
Compare
Choose a tag to compare

⚠ BREAKING CHANGES

  • cognito: An invalid template placeholder has been removed
    from the default verification email body in a user pool.

Features

  • apigateway: create RestApi from an OpenAPI spec (31014ca), closes #4421
  • apigateway: import existing VpcLink (#7811) (7b42f7f), closes #4178
  • initial version of an improved CloudFormation template include experience (0132251), closes #3537
  • apigateway: specify API key name and value in addApiKey() (#7714) (e93da2c), closes #3233 #7767
  • apigatewayv2: HTTP API - configure CORS preflight (#7923) (9f35104), closes #7922
  • cognito: user pool client - prevent user existence errors (c7f15f2), closes #7406
  • dynamodb: support for Customer-managed CMK (#7425) (ff8219b), closes #7142
  • ec2: lookup available AZs for Interface Endpoints (9fa3221)
  • events-targets: support multiple security groups for an ECS task (#7857) (c6504e6), closes #3312
  • init/java: model CDK version in property in Maven POMs (#7931) (ce5b8fb), closes #7862

Bug Fixes