Releases: aws/aws-cdk
Releases · aws/aws-cdk
v2.137.0
Features
- assertions: add stack tagging assertions (#29247) (72f189d), closes #27620
- cloudfront: adding support for inline KeyValueStore sources (#29419) (5675010), closes #29204
- ec2:
NatInstanceProviderV2
improvements (#29729) (4eb02a4), closes #29720 - elasticloadbalancingv2: application load balancer attributes (#29586) (067c4a5), closes #29585
Bug Fixes
- appsync: source api association does not depend on schema (#29455) (92a160b), closes #29044
- s3-deployment:
BucketDeployment
fails when bootstrap stack'sStagingBucket
is encrypted with customer managed KMS key (#29540) (0b429fb), closes #25100 #25100 #25100 - sns: contentBasedDeduplication is always false for imported topic (#29542) (4a9e683), closes #29532
Alpha modules (2.137.0-alpha.0)
Bug Fixes
v2.136.1
v2.136.0
Features
- rds: specify PreferredMaintenanceWindow in reader or writer props (#29686) (615ee2d), closes #29687
- stepfunction: add enableExecuteCommand to sfn ECSRunTask (#29638) (d5b8594), closes #29637
Bug Fixes
- cli: diff with changeset fails if deploy role cannot be assumed (#29718) (21dba21), closes #29650
- cloudwatch-actions:
LambdaAction
fails if added to multiple action types (#29515) (a12887b), closes #29514 - iam: grantAssumeRole silently fails with service and account principals (#29452) (36fd79d), closes #24507
- pipelines: codeStar connection accepts nested repository (#29631) (10357c0), closes #27504
- s3-assets: throw if path property is empty (#29425) (2814011), closes #29410
Alpha modules (2.136.0-alpha.0)
v2.135.0
Features
- lambda: adding support for Ruby3.3 lambda runtime (#29680) (e63c777)
- update L1 CloudFormation resource definitions (#29677) (99e9589), closes /docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.requirements.html#aurora-serverless-v2 /docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.requirements.html#aurora-serverless-v2
- route53: allow specifying an STS region when creating a cross-account zone delegation (#29466) (fe4bc1d)
- sns: add signature version prop (#29543) (dffedca), closes #29539
Bug Fixes
- cli: cdk watch for Lambdas with Advanced Logging Controls do not stream logs to the terminal (#29451) (4dbf5c8), closes #29448 /github.com/aws/aws-cdk/blob/main/packages/aws-cdk/lib/api/logs/find-cloudwatch-logs.ts#L114
- cli: ecs hotswap deployment waits correctly for success or failure (#28448) (5c30255)
- ec2: global vpc endpoint support (#29563) (df48fd7), closes #29560 10.0.0.2#53 10.0.0.2#53
- eks: missing support for "InstanceTypes" attribute assignment for AL2023 AMIs (#29505) (e77ce26), closes #29335
- events-targets: hardcoded AWS partition in ECS task resource ARN (#29633) (69cff2e), closes #29610
- route53: allow records with a weight of 0 (#29595) (cc7e95b), closes #29556
- add validation for ALB access log bucket when KMS key is provided (#29382) (2cc2449), closes #22031
Alpha modules (2.135.0-alpha.0)
v2.134.0
Features
- update L1 CloudFormation resource definitions (#29605) (bf34b6c)
- update L1 CloudFormation resource definitions (#29606) (432f97d)
- apigatewayv2: add missing
WebSocketIntegration
props (#29566) (7534dcd), closes #29562 - appsync: queryDepthLimit and resolverCountLimit props on GraphqlApi (#29182) (ba6d0b3)
- cli: warn of non-existent stacks in
cdk destroy
(#27921) (f0d1d67), closes #27179 - codepipeline-actions: show status reason in the pipeline for failed change set executions (#29534) (6d16337)
- eks: trainium instance types (#29155) (507b709), closes #29131
- elasticloadbalancingv2:
denyAllIgwTraffic
andclientRoutingPolicy
for NLB (#29521) (7fe8ad3), closes #29520 - elasticloadbalancingv2: client keepalive for ALB (#29504) (9b79f94), closes #29503
- elasticloadbalancingv2: enforce security group inbound rules prop (#29522) (8df2823), closes #29516
- update L1 CloudFormation resource definitions (#29530) (1fdac0c)
- update L1 CloudFormation resource definitions (#29569) (c9fb4f7)
- update L1 CloudFormation resource definitions (#29573) (53d2094)
- rds: eliminating the need for explicit
secret.grantRead()
invokes when using DataAPI with Aurora cluster (#29399) (bc9d0b4), closes #29362 /github.com/aws/aws-cdk/pull/29338#discussion_r1512026791
Bug Fixes
- CLI:
cdk diff
stack deletion causes a race condition (#29492) (067539a), closes #29265 - cloudformation-diff: move aws-sdk to dependency for cfn-diff to get CFN types resolved in exports (#28768) (28c4be3), closes #28680 #28679
- cloudwatch: cloudwatch ec2 alarm action with multiple dimension results in error (#29364) (cc37778)
- cloudwatch: unrecognized statistic warning when using percentileRank statistic in Stats helper (#29498) (f2ad980), closes #29465
- ecs-patterns: integ test unable to create ECS service (#29490) (6faa60e), closes /github.com/aws/aws-cdk/pull/29186#issuecomment-1959231406
- elasticloadbalancingv2: allow alb slow start duration of 0 seconds (#29445) (cf2351b), closes #29437
- kms: kms key grant methods misidentify region when enclosing stack is different region (#29315) (9076d6e)
- opensearch: cannot disable cluster logging (#29205) (c7fcaf7), closes #29294
Reverts
- "feat(cli): warn of non-existent stacks in
cdk destroy
" (#29577) (f60e6e9), closes aws/aws-cdk#27921 40aws-cdk-testing/cli-integ/tests/cli-integ-tests/cli.integtest.ts#L190 /github.com/aws/aws-cdk/blob/07ce8ecc42782475d099b89944571375341c28d3/packages/aws-cdk/lib/api/cxapp/cloud-executable.ts#L86
Alpha modules (2.134.0-alpha.0)
Features
- kinesisanalytics-flink: add support for Flink 1.18 (#29554) (8fd8ee8), closes /docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisanalyticsv2-application.html#aws-resource-kinesisanalyticsv2
Bug Fixes
v2.133.0
Features
- CLI: improved nested stack diff (#29172) (135b520)
- codepipeline: change default pipeline type to V2 (under feature flag) (#29096) (e85231c), closes /github.com/aws/aws-cdk/pull/28538#discussion_r1471761574 /github.com/aws/aws-cdk/blob/main/packages/aws-cdk-lib/aws-codepipeline/lib/pipeline.ts#L492
- ec2: add APPCONFIG and APPCONFIGDATA to InterfaceVpcEndpointAwsService (#29408) (baaa50c)
- ecs-patterns: support
securityGroups
inNetworkLoadBalancedFargateService
(#29431) (00e8a7b), closes #29430 /github.com/aws/aws-cdk/pull/29186#issuecomment-1959231406 - opensearchservice: cold storage option (#29387) (ce52c7e), closes #29366
- rds: proxy for mariadb (#29412) (6fef789), closes #29402
- stepfunctions-tasks: start glue crawler (#29016) (5592553), closes #24188
- update L1 CloudFormation resource definitions (#29438) (5b910f0)
Bug Fixes
- cli:
cdk ls
returns stack id instead of stack display name (#29447) (77189be), closes #29420 - lambda-nodejs: fixing esbuildArgs to take in account re-specified keys (#29167) (919d16f), closes #25385
- stepfunctions: the retry field in CustomState is not iterable (#29403) (a1fbd51), closes #29274
Reverts
Alpha modules (2.133.0-alpha.0)
v2.132.1
v2.132.0
Features
- autoscaling: add support for InstanceRefresh suspended process (#29113) (f5e7717)
- autoscaling: support custom termination policy with lambda (#29340) (2ebb409), closes #19750
- codepipeline:
executionMode
property for Pipeline (#29148) (3bb2944), closes #29147 - ec2: add NAT instance V2 support using AL2023 (#29013) (7fa6bbf)
- elasticloadbalancingv2: health check interval greater than timeout (#29075) (576d034), closes #29062
- rds: add ability to specify PreferredMaintenanceWindow to RDS cluster database instances (#29033) (9c82bca), closes #16954
- rds: enable data api for aurora cluster (#29338) (82690f7), closes #28574
- stepfunctions-tasks: start build batch integration (#29296) (4f2b757), closes #29119
- list stack dependencies (#28995) (a7fac9d)
- update L1 CloudFormation resource definitions (#29349) (8b01f45)
Bug Fixes
- batch: windows does not support readonlyRootFilesystem (#29145) (7205143), closes #29140
- changelog: changelog for v2.131.0 has some errors (#29352) (1b56897)
- cli: prevent changeset diff for non-deployed stacks (#29394) (d33caff), closes #29265
- cloudwatch: allow up to 30 dimensions for metric (#29341) (ebe2adf), closes #29322
- custom-resources: correctly convert values to Date type (#28398) (38bdb92), closes /github.com/aws/aws-cdk/blob/1a9c30e55e58203bd0a61de82711cf10f1e04851/packages/aws-cdk-lib/custom-resources/lib/helpers-internal/sdk-v3-metadata.json#L174 #27962
- custom-resources: log statement exposes information prohibited by security guideline (#29406) (11621e7)
- ecs-patterns: resolve not being able to create ECS service in
integ.alb-ecs-service-command-entry-point
(#29333) (6a69d5b), closes /github.com/aws/aws-cdk/pull/29186#issuecomment-1959231406 - events_targets: installing latest aws sdk fails in cn partition (#29374) (f0383d6)
- events-targets: ecs:TagResource permission (#28898) (4af0dfc), closes #28854
- lambda-nodejs: support bundling aws-sdk as part of the bundled code asset (#29207) (2378635), closes #25492 #25492
- rds:
DatabaseCluster.instanceEndpoints
doesn't include writer endpoint (#29337) (ca59616), closes #29279 - rds: incorrect error message for rds proxies (#29404) (2dbb381), closes #29402
- spec2cdk: use modern type when building tag type (#29389) (3fb0254)
- sqs:
redrivePermission
is set tobyQueue
no matter what value is specified (#29130) (aa8484a), closes #29129 #29129 - stepfunctions: maxConcurrency does not support JsonPath (#29330) (b19f822), closes #20835 #20279
Alpha modules (2.132.0-alpha.0)
Bug Fixes
v2.131.0
Features
- apigatewayv2-integrations: stepfunctions integration (#28982) (19d75d6), closes #28904
- applicationautoscaling: add missing PredefinedMetricType enum values (#29066) (63390e1), closes #29065
- appsync:
environmentVariables
property for GraphqlApi (#29064) (f0af5b1) - appsync: add the
grant
method to the importedGraphqlApi
(#29086) (7e8239b), closes #23031 - core: add
description
toexportValue
andexportStringListValue
methods (#29150) (2e080fe), closes #29092 - docdb: support snapshot removal policy (#28798) (05b1bb0), closes #28773
- ec2: support for the credit configuration mode for burstable instances (#28728) (3cbad4a), closes #19166
- ecs-patterns: allow custom ephemeral storage for ECS Fargate services (#29275) (9156b13), closes #18105
- update L1 CloudFormation resource definitions (#29257) (f3d74bb)
Bug Fixes
- autoscaling: step scaling without adjustment type fails (#29158) (a7de7fe)
- cli: add skip-tests.txt file for v2.130.0 (#29320) (fdacbe0), closes #29313
- CLI: sam resources hidden in changeset diffs (#29223) (aa186ac), closes #29185
- cli-integ: add regression patch for cli integ fix (#29313) (f803cf6), closes #29305
- cli-integ: use
Python_3_12
instead ofPython_3_7
lambda runtime (#29305) (8d07b85) - cloudtrail: isOrganizationTrail attaches insufficient permissions to bucket (#29242) (457afa9)
- core: a number of resources are not taggable with
Tags.of()
(#28989) (7a4c189) - custom-resources: custom resource response may silently get dropped (#28826) (c52ff08)
- ec2: internet gateway is created even if public subnets are reserved (#28607) (985c7e4), closes #28593
- ecs:
autoscalingGroup
attribute does not exist onImportedCluster
(#29244) (98b9bf2), closes #29241 - ecs: stack name can result in noncompliant capacity provider name (#29235) (aca68ba), closes #29151
- stepfunctions: escaped curly braces result in error during state machine execution (#29267) (a21e429), closes #29261
Alpha modules (2.131.0-alpha.0)
v2.130.0
Features
Bug Fixes
- custom-resources-handlers: s3 deployment handler log injection vulnerability (#28599) (83aa395), closes #28469
- pipelines: generates warning since CDK 2.128.0 due to addition of v2 pipeline support in aws-codepipeline (#29199) (eca1bcf), closes #29190 /github.com/aws/aws-cdk/blob/main/packages/aws-cdk-lib/pipelines/lib/codepipeline/codepipeline.ts#L467-L480