Releases: aws/aws-cdk
v2.231.0
Features
- lambda: support for capacity providers (#36255) (2e4c1cf)
- update L1 CloudFormation resource definitions (#36253) (8410b13)
- aws-cdk-lib: add
arnFor<ResourceName>for 47 more resources (#36231) (5a8be4f) - aws-cdk-lib: all L1s now have a
isCfn<ResourceName>static helper to check if a value is this L1 resource (#36243) (dc9db9b) - ec2: expose EC2 instance MetadataOptions (#35369) (4056e14), closes #35357
Bug Fixes
Alpha modules (2.231.0-alpha.0)
Features
- glue-alpha: support Glue Version 5.1 (#36223) (b956492)
- imagebuilder-alpha: add support for Image Construct (#36154) (eee3ae6), closes aws/aws-cdk-rfcs#789 aws/aws-cdk-rfcs#789
v2.230.0
Features
- apigateway: support response streaming with response transfer mode (#36155) (f431021), closes #36156
- update L1 CloudFormation resource definitions (f203b8e)
- update L1 CloudFormation resource definitions (#36193) (d074024)
- events: the L2
EventPatterninterfaces can be used withCfnRule(#36191) (efc135e) - update L1 CloudFormation resource definitions (#36180) (5cddd7e)
Bug Fixes
- ecs: wrong ARN generated in
Cluster.grantTaskProtectionmethod (#36207) (9b337df) - ecs-patterns: target group ID changes without setting feature flag (#36199) (b7ca082), closes #36149
- scheduler: wrong ARN generated in
ScheduleGroup.grant*methods (#36175) (eae8838)
Alpha modules (2.230.0-alpha.0)
Features
- bedrock-agentcore-alpha: update resources on grantInvokeXXX for runtime (#35864) (5dad62f)
- imagebuilder-alpha: add support for Image Pipeline Construct (#36153) (d8c324a), closes aws/aws-cdk-rfcs#789 aws/aws-cdk-rfcs#789
- imagebuilder-alpha: add support for Lifecycle Policy Construct (#36152) (7e31eb6), closes aws/aws-cdk-rfcs#789 aws/aws-cdk-rfcs#789
- mixins-preview: adds LogDelivery Mixins for 47 resources (#36158) (6607ce9)
- mixins-preview: vended log deliveries (#36138) (69442a8)
- mixins-preview: helpers to generate EventBridge event patterns for 26 services (#36121) (073185d)
Bug Fixes
- mixins-preview:
AutoDeleteObjectsmixin fails with cannot find file error (#36188) (3ef337d), closes aws-cdk/mixins-preview/lib/custom-resource-handlers/aws-s3/auto-delete-objects-provider.ts#L21 - mixins-preview:
ResourcePolicy with this name already existserror when setting upLogDelivery(#36195) (f9aa31d) - mixins-preview: cannot use string literal types for
S3LogsDeliveryProps.permissionsVersion(#36197) (cc491df)
v2.229.1
v2.229.0
Features
- agentcore: add new properties for runtime, browser (#36003) (439495f)
- route53: add
HostedZoneGrants(#36109) (d24305c)
Bug Fixes
Alpha modules (2.229.0-alpha.0)
Features
- imagebuilder-alpha: add support for Container Recipe Construct (#36091) (875e0e7), closes aws/aws-cdk-rfcs#789 aws/aws-cdk-rfcs#789
- imagebuilder-alpha: add support for Image Recipe Construct (#36092) (4361f8b), closes aws/aws-cdk-rfcs#789 aws/aws-cdk-rfcs#789
- imagebuilder-alpha: add support for Workflow Construct (#36007) (616d32a), closes aws/aws-cdk-rfcs#789 aws/aws-cdk-rfcs#789
- mixins-preview: developer preview of CDK Mixins (#36136) (0c6ee1d)
Bug Fixes
v2.228.0
v2.227.0
CHANGES TO L1 RESOURCES: L1 resources are automatically generated from public CloudFormation Resource Schemas. They are built to closely reflect the real state of CloudFormation. Sometimes these updates can contain changes that are incompatible with previous types, but more accurately reflect reality. In this release we have changed:
- aws-backup: AWS::Backup::LogicallyAirGappedBackupVault: EncryptionKeyArn attribute removed.
Features
- stepfunctions: add
StateMachineGrants(#36094) (59ef00d) - update L1 CloudFormation resource definitions (#36122) (51d805e)
- core: cfn constructs (L1s) can now accept constructs as parameters for known resource relationships (#35838) (6be7b4b)
- factory methods for Grants made public (#36123) (f9a894f)
- dynamodb: add
TableGrantsandStreamGrants(#36093) (d0b074a) - rds: support instance and iam-db-auth-error CloudWatch log exports (#35058) (e71a8b1), closes #35018
- s3: add
BucketGrants(#36102) (5891172) - grants are now available through a separate class (#35782) (21fd959)
Alpha modules (2.227.0-alpha.0)
Features
- bedrock-agentcore-alpha: agentcore gateway L2 construct (#35771) (07c4a0d)
- imagebuilder-alpha: add support for Component Construct (#36107) (93a76e4), closes #36006 #36104
- imagebuilder-alpha: add support for Distribution Configuration Construct (#36108) (6051039), closes #36005
Bug Fixes
v2.226.0
v2.225.0
⚠ BREAKING CHANGES
-
** L1 resources are automatically generated from public CloudFormation Resource Schemas. They are built to closely reflect the real state of CloudFormation. Sometimes these updates can contain changes that are incompatible with previous types, but more accurately reflect reality. In this release we have changed:
- aws-dynamodb: AWS::DynamoDB::GlobalTable: ResourcePolicy property is now required.
Features
- update L1 CloudFormation resource definitions (#36082) (3df1d81)
- custom-resource: add External ID support for AwsCustomResource (#35252) (9f6c02b), closes #34018
- route53: support restricting delegated zone names when using grantDelegation (#35129) (d832aca)
Bug Fixes
- aws-cdk-lib: temporary Cloud Assemblies are not cleaned up (#36043) (1ace1ef), closes #802
- cognito: remove overly strict validation for threat protection on non-PLUS plans (#36027) (172c65f), closes #36023
- s3-deployment:
Source.jsonData()fails with null JSON values (#36054) (67b85f2), closes #36052
Reverts
- (dynamodb) revert Table.table field to private to fix .NET naming (#36029) (d84fce8), closes #36025 #35554
Alpha modules (2.225.0-alpha.0)
v2.224.0
⚠ BREAKING CHANGES
- aws-cdk-lib: Reference interfaces (such as
IBucketRef,IRoleRef,etc.) were moved to a newaws-cdk-lib.interfacessubmodule to prevent cyclic dependencies between service modules. If you are importing reference interfaces, you have to update import statements accordingly. See #36060 for full details. - Amazon.CDK.Lib (.NET): The .NET namespace for multiple submodules has changed. If you are using any of the renamed submodules, you have to update
usingstatements for these submodules. See #36037 for full details. - L1 resources are automatically generated from public CloudFormation Resource Schemas. They are built to closely reflect the real state of CloudFormation. Sometimes these updates can contain changes that are incompatible with previous types, but more accurately reflect reality. In this release we have changed:
aws-opensearchserverless: AWS::OpenSearchServerless::Collection: StandbyReplicas property is now immutable.
aws-servicecatalog: AWS::ServiceCatalog::PortfolioPrincipalAssociation: Id attribute removed.
Features
- apigateway: add option for consolidating lambda permissions for rest and http lambda integrations (#36021) (35f8e46), closes #9327 #19535 #35705
- update L1 CloudFormation resource definitions (#35994) (47a9a20)
- core: add methods to SecretValue and aws-secretsmanager Secret to obtain a literal (unresolved by CloudFormation) dynamic reference key (#34397) (#35105) (457aa99), closes /github.com/aws/aws-cdk/blob/main/packages/aws-cdk-lib/core/lib/secret-value.ts#L98C17-L98C31 /github.com/aws/aws-cdk/blob/main/packages/aws-cdk-lib/aws-secretsmanager/lib/secret.ts#L499
- eks: add support for Kubernetes version 1.34 (#36016) (60096ac), closes #35717
- lambda: add nodejs24.x runtime for Lambda (#36001) (404bf1a)
- sagemaker: add support for serverless inference endpoints (#35557) (3f5c5ac), closes #23148 #23148
- stepfunctions-tasks: add architecture support to EvaluateExpression (#35468) (771ea13), closes #34974
Bug Fixes
- aws-cdk-lib: move reference interfaces to their own submodules (#35971) (1e4dfe6)
- aws-cdk-lib: multiple submodules use an incorrect namespace for .NET (#36002) (e48e584)
- dynamodb: resolve circular dependency with AccountRootPrincipal grants (#35983) (24d2adf), closes #35967
- ecs: allow empty placementStrategies on EC2Service (#35580) (0d773b1), closes #30382 /github.com/aws/aws-cdk/pull/27572#issuecomment-1766287866
Alpha modules (2.224.0-alpha.0)
Features
- imagebuilder-alpha: add support for EC2 Image Builder L2 Constructs - Infrastructure Configuration (#35882) (db1d964), closes aws/aws-cdk-rfcs#789 aws/aws-cdk-rfcs#789
v2.223.0
⚠ BREAKING CHANGES
L1 resources are automatically generated from public CloudFormation Resource Schemas. They are built to closely reflect the real state of CloudFormation. Sometimes these updates can contain changes that are incompatible with previous types, but more accurately reflect reality. In this release we have changed:
- aws-dynamodb: AWS::DynamoDB::GlobalTable: GlobalTableSettingsReplicationMode property removed.
- aws-dynamodb: AWS::DynamoDB::GlobalTable: GlobalTableSourceArn property removed.
- aws-dynamodb: AWS::DynamoDB::Table: GlobalTableSettingsReplicationMode property removed.
- aws-events: AWS::Events::EventBusPolicy: Id attribute removed.
Features
- update L1 CloudFormation resource definitions (#35926) (3f4d585)
- ec2: support for Cloud Wan Core Network routes (#35008) (fba027b)
- s3-deployment: support securityGroups in BucketDeploymentProps (#33233) (f2a3166), closes #33229
Bug Fixes
- stepfunctions:
DistributedMapResultWriter correct query language selection (#35834) (75b8ead), closes #35403 - onEvent function to pass all the options to rule resource (#35829) (3d7023d)