Releases: aws/aws-cdk
Releases · aws/aws-cdk
v2.185.0
Features
- s3-deployment: backfill missing enums for s3-deployment (#33819) (2623e00), closes /docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-serversideencryptionbydefault.html#aws-properties-s3
- update L1 CloudFormation resource definitions (#33800) (fada917)
- ecs: add validation checks to memory cpu combinations of FARGATE compatible task definitions (#33608) (734ca66), closes #22216 /github.com/aws/aws-cdk/issues/31106#issuecomment-2289166090
- ecs: backfill missing enums for ecs (#33644) (28c6a22)
- eks: backfill missing enums for eks (#33646) (f67a88b)
- logs: throw
ValidationError
instead of untyped Errors (#33753) (1fea9f1)
Bug Fixes
- core: remove whitespaces in tree.json (#33784) (73b9138), closes #27261 #27261
- s3: add validation for lifecycle rule transitions (#33731) (4128ff4), closes #22103 #22103
- s3-deployment: handle properly quoted strings in JSON files (#33698) (bff85e8), closes #22661 #22661
- stepfunctions-tasks: jobQueueArn support JsonPath or JSONata (#33670) (1c09c8b), closes #33580
Alpha modules (2.185.0-alpha.0)
⚠ BREAKING CHANGES TO EXPERIMENTAL FEATURES
- scheduler-targets-alpha: The class
KinesisDataFirehosePutRecord
has been renamed toFirehosePutRecord
.
Bug Fixes
v2.184.1
Reverts
- iam: fix(iam): adding organization id pattern verification (#33773) (f7ed316), closes aws/aws-cdk#33768
Alpha modules (2.184.1-alpha.0)
v2.184.0
Features
- ecr: throw ValidationError instead of untyped Errors (#33750) (242690f)
- lambda: support s3 OFD for Kinesis/DynamoDB (#33739) (3f1fecf)
- rds: allow to specify availability zone for Aurora instances (#33515) (583d5f2), closes #33503 #30618
Bug Fixes
- codepipeline: replace account root principal with current pipeline role in the trust policy under ff: @aws-cdk/pipelines:reduceStageRoleTrustScope (#33742) (a64b01c), closes #33709
- core: message including tokens from annotations cannot output correctly (#33706) (55a3c4c), closes #33707
- events-targets: add LogGroupTargetInput.fromObjectV2() method (#33720) (584a58c)
Alpha modules (2.184.0-alpha.0)
⚠ BREAKING CHANGES TO EXPERIMENTAL FEATURES
- glue-alpha: Updated casing of
workflow.addconditionalTrigger
toworkflow.addConditionalTrigger
.
Bug Fixes
v2.183.0
Features
- bedrock: support DeepSeek R1 (#33727) (3de0818)
- rds: add MySQL enginge versions 5.7.44(patch), 8.0.41 and 8.4.4 (#33732) (d1a8cbe)
- update L1 CloudFormation resource definitions (#33718) (c4fceb2)
- codebuild: throw
ValidationError
instead of untyped Errors (#33700) (d12854a), closes #32569 - core:
RemovalPolicies.of(scope)
(#32283) (34c547c) - logs: add support for fieldIndexPolicies in log group L2 Construct (#33416) (6c882e0), closes #33366
- lambda: backfill missing enums for lambda (#33651) (4227747)
- rds: add new MariaDB engine versions 10.5.28, 10.6.21, 10.11.11, and 11.4.5 (#33665) (7f5bf4e)
- ec2: add VPC interface endpoints for Location Service (#33667) (4bc151b)
- ec2: add VPC interface endpoints for WAFV2 (#33685) (5eb11d2)
- ec2: add VPC interface endpoints for Emr Serverless (#33715) (25619a0)
- ec2: add VPC interface endpoints for Security Lake (#33728) (5fcbe2a)
Bug Fixes
- core: pressing Ctrl-C when content is bundled leaves broken asset (#33692) (00ef50d), closes #33201 #32869 #14474
- custom-resources: fix circular dependency when a custom role provided to Provider (#33600) (77b6fa9), closes #20360
- efs: cannot run an integ test when
transitionToArchivePolicy
is specified andthroughputMode
isundefined
(#33713) (842201c) - eks: cluster deployment issue when the authentication mode is not changing (#33680) (ba2dfd1)
Alpha modules (2.183.0-alpha.0)
⚠ BREAKING CHANGES TO EXPERIMENTAL FEATURES
- scheduler-targets-alpha: The
InspectorStartAssessmentRun
target's constructor now acceptsIAssessmentTemplate
instead ofCfnAssessmentTemplate
as its parameter type. To migrate existing code, use theAssessmentTemplate.fromCfnAssessmentTemplate()
method to convert yourCfnAssessmentTemplate
instances toIAssessmentTemplate
.
Features
- kinesisanalytics-flink-alpha: backfill missing enums for kinesisanalytics-flink-alpha (#33632) (b55199a)
- kinesisfirehose-destinations-alpha: backfill missing enums for kinesisfirehose-destinations-alpha (#33633) (6ed7a45)
Bug Fixes
v2.182.0
Features
- assertions: added getResourceId method to Template (#33521) (a96b0f1)
- autoscaling: add new
HealthChecks
for multiple health check types, including EBS and VPC_LATTICE types (#31286) (b3edd0d), closes #31289 /github.com/aws/aws-cdk/blob/main/packages/aws-cdk-lib/aws-autoscaling/lib/auto-scaling-group.ts#L233 /github.com/aws/aws-cdk/blob/main/packages/aws-cdk-lib/aws-autoscaling/lib/auto-scaling-group.ts#L2232-L2258 /github.com/aws/aws-cdk/pull/31286#discussion_r1740763781 - ecs: encrypting managed storage (#33535) (07f0fe3), closes #33380
- inspector: add minimal L2 interface for Inspector assessment template and fromCfnAssessmentTemplate() (#33614) (d51f70a)
- opensearchservice: nodeoptions for domain (#32936) (1b6f0c3), closes #32553
- rds:
DatabaseCluster
supportreplicationSourceIdentifier
(#33471) (878ad54), closes #33280 - update L1 CloudFormation resource definitions (#33676) (92dba49)
- upgrade @aws-cdk/cloud-assembly-schema to v40 (#33620) (127059e)
Bug Fixes
- apigateway: move endpointConfiguration to RestApiBaseProps (#33514) (e07a89c), closes #33295
- appsync: appsync Event API integration assertion tests (#33572) (6f966a6)
- cloudwatch: update regex expression that prevents CloudWatch:Mah:UnknownIdentifier warnings (#33591) (#33592) (97744e7)
- iam: adding organization id pattern verification (#33555) (6df9bfe), closes #32756
- lambda-nodejs: do not require a frozen lockfile for bun (#32908) (a21190e), closes #32906 #32906
- s3: cannot deploy multiple replication source buckets (under feature flag) (#33360) (d580853), closes #33355
- sns: for SSE topics, add KMS permissions in grantPublish (#32794) (f1c0926), closes #18387 #31012 #24848 #16271 #29511 /github.com/aws/aws-cdk/issues/16271#issuecomment-917221985
Alpha modules (2.182.0-alpha.0)
Features
- pipes-alpha: support for customer-managed KMS keys to encrypt pipe data (#33546) (dd0d62f), closes #31453
Bug Fixes
v2.181.1
Alpha modules (2.181.1-alpha.0)
⚠ BREAKING CHANGES TO EXPERIMENTAL FEATURES
- cognito-identitypool-alpha: Any
IdentityPool
resources deployed in versions>=2.179.0
will now fail to deploy. You will need to delete theIdentityPoolRoleAttachment
from your stack via the console before redeploying.
Bug Fixes
v2.181.0
Features
- update L1 CloudFormation resource definitions (#33579) (a6bfe3c)
- rds: scheduling modifications in the next scheduled maintenance window (#33448) (be2c7d0), closes #33447
- stepfunctions: add support for custom CSV delimiters in S3CsvItemReader (#33558) (43ae4fc), closes #33418
Bug Fixes
- cognito: re-adding threat protection capabilities and clarifying feature plans (#33565) (2f9bc41), closes #33393 #32367 #32367 #33393
- core:
serviceTimeout
forCustomResource
does not work with token (#33541) (bc91c70), closes #33513 /github.com/go-to-k/aws-cdk/blob/75e52619cd09f363882ff62561a53cd5cd79ab30/packages/aws-cdk-lib/core/lib/custom-resource.ts#L169 /github.com/go-to-k/aws-cdk/blob/75e52619cd09f363882ff62561a53cd5cd79ab30/packages/aws-cdk-lib/core/lib/duration.ts#L332 - core: cross-stack references to NestedStack list values produces invalid outputs (#32575) (f9252ab), closes #27233
- core: wrong priority for tag aspects (#33460) (0b9ffeb)
- rds:
monitoringInterval
inDatabaseClusterProps
does not work with token (#33516) (f9b28b9), closes #33504 - stepfunctions-tasks:
SageMakerCreateTrainingJob
add sagemaker:AddTags permission (#32536) (3b07346), closes #32294
Alpha modules (2.181.0-alpha.0)
Features
v2.180.0
Features
- cloudfront-origins: read versioned access level (#33038) (315be88), closes #33034
- update L1 CloudFormation resource definitions (#33531) (93a3348), closes /docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group.html#cfn-ec2
- cloudfront: support gRPC for distribution (#32535) (1b116b9), closes #32534
- cloudfront: vpc origins (#33318) (8f3e793), closes #32396
- cloudwatch: throw
ValidationErrors
instead of untyped Errors (#33456) (6098816), closes #32569 - codepipeline-actions: support
timeout
forManualApprovalAction
(#33472) (7901f07), closes #33473 - kinesis: support stream consumers (#32087) (f4453c7), closes #32050
- ses: configurationset support default event bus and firehose as destination (#33093) (d8b0da7), closes #32835 #30671
Bug Fixes
- core: adding warnings to alert when properties will be overwritten (#33507) (b06daf8), closes #32468
- lambda: updating addToRolePolicy to avoid circular dependency potential (under feature flag) (#33291) (d946eb7)
- logs:
DataProtectionPolicy
template key must be PascalCase (#33462) (0379878), closes #33408 #26728 - stepfunctions: disabling logging still requires LogGroup (#30816) (a2cd7ae), closes #30814
- stepfunctions: various JSONata query language fix (#33404) (b16fac2), closes #33403 #33374 #33396 /github.com/aws/aws-cdk/blob/main/packages/aws-cdk-lib/aws-stepfunctions/lib/states/state.ts#L398
Alpha modules (2.180.0-alpha.0)
Features
v2.179.0
⚠ BREAKING CHANGES TO EXPERIMENTAL FEATURES
- eks:
kubectlLayer
property is now required in EKSCluster
andFargateCluster
constructs. The default value forkubectlLayer
is outdated and hence being removed. You can specify your own kubectlLayer version based on your Kubernetes version.
Features
- reset L1 CloudFormation resource definitions to last known working version (#33481)
- cloudtrail: throw
ValidationErrors
instead of untyped Errors (#33455) (11a75b2), closes #32569 - update L1 CloudFormation resource definitions (#33445) (531280f)
- update L1 CloudFormation resource definitions (#33475) (a7cacb8)
- update L1 CloudFormation resource definitions (#33476) (3a61695)
- update L1 CloudFormation resource definitions (#33480) (67e596e)
- apigateway: resource policy configuration for private API (#32719) (628e649), closes #31660 #31692
- apigatewayv2: stage support
detailedMetricsEnabled
property (#33267) (0abcacf), closes #33222 - apigatewayv2-integrations: sqs integrations (#29646) (775c009), closes #24785
- appconfig: throw
ValidationError
instead of untyped Errors (#33386) (b4efb1e), closes #32569 - assertions: throw typed errors (#33382) (0f57bd3), closes #32569
- assets: throw
ValidationError
instead of untyped Errors (#33383) (19cf902), closes #32569 - autoscaling: throw
ValidationError
instead of untyped Errors (#33388) (d3f3309), closes #32569 - backup: throw
ValidationError
instead of untyped Errors (#33387) (48f2bf7), closes #32569 - batch: throw
ValidationError
instead of untyped Errors (#33389) (c83ca82), closes #32569 - certificatemanager: throw
ValidationErrors
instead of untyped Errors (#33440) (76848e4), closes #32569 - chatbot: throw
ValidationError
instead of untyped Error (#33439) (ede5842), closes #32569 - cloudformation-include: throw
ValidationError
instead of untyped Errors (#33391) (92a9a73), closes #32569 - cloudfront: throw
ValidationErrors
instead of untyped Errors (#33438) (c08c7f0), closes #32569 - codebuild: attribute-based compute type for Fleet (#32251) (9fd62cb)
- codepipeline-actions: support commands action (#31667) (2637d46), closes #31666
- cognito: add analyticsConfiguration to UserPoolClient (#32862) (1c98881), closes #32837
- cognito: choice-based authentication (passwordless sign-in / passkey sign-in) (#32369) (9a6e5cc), closes #32265 #32367 #32273
- cx-api: throw
CloudAssemblyError
instead of untyped Errors (#33390) (ae95d95), closes #32569 - eks: add L2 constructs to support EKS Hybrid Nodes (#32389) (b91965c)
- eks: make kubectlLayer property required from optional (#32930) (b11f663), closes /github.com/aws/aws-cdk/blob/main/packages/aws-cdk-lib/package.json#L123
- eks: support eks with k8s 1.32 (#33339) (3490d2e)
- elasticloadbalancingv2: minimum Loadbalancer Capacity Unit (LCU) reservation (#32382) (9b178c1)
- events-targets: allow all ECS TaskOverrides (#32344) (aebb331), closes #32217 #32217 /github.com/aws/aws-cdk/blob/1b7265bf5cc623b2e362266c96ce866df539581f/packages/aws-cdk-lib/aws-events-targets/lib/ecs-task.ts#L225-L227
- logs: support regex patterns for JSON Metrics filters (#30741) (c89afe3), closes #30451
- pipelines: throw
ValidationError
instead of untyped Errors (#33385) (14b1098), closes #32569 - stepfunctions-tasks: allow region override in call-rest-api task (#33252) (59470c5)
- update L1 CloudFormation resource definitions (#33363) (ba485ef), closes /docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group.html#cfn-ec2
- rds: support Database Insights for Aurora databases (#32851) (f6ed4be), closes #32680