Skip to content

Releases: aws/aws-cdk

v2.235.1

19 Jan 14:33
84c92a4

Choose a tag to compare

Bug Fixes

  • apigatewayv2: use custom domain name instead of regional domain name when importing domain name via fromDomainNameAttributes (#36710) (29e5642)

Alpha modules (2.235.1-alpha.0)

v2.235.0

15 Jan 18:32
7686e1d

Choose a tag to compare

⚠ 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-ecs: AWS::ECS::CapacityProvider: ManagedInstancesNetworkConfiguration.SecurityGroups property is now required.
  • ecs: securityGroups is now required in ManagedInstancesCapacityProviderProps. CloudFormation has always required this field, so any code that omitted it would have failed at deployment time with a validation error. This change catches the error at compile time instead, improving the developer experience. If your code previously omitted securityGroups, you must now explicitly provide at least one security group.
  • aws-cdk-lib: JobQueue.computeEnvironments contains an computeEnvironment: IComputeEnvironment → IComputeEnvironmentRef. BackupPlanRule.props contains a backupVault: IBackupVault → IBackupVaultRef. ApiDestination.fromApiDestinationAttributes() return type ApiDestination → IApiDestination. This should never have returned a class but always an interface, as is the standard for referencing factories. EventDestination.bus changed IEventBus →IEventBusRef; FlowLogDestination.bind() now returns and ICluster.executeCommandConfiguration contains a member changing type ILogGroup → ILogGroupRef.
  • events: ApiDestination.fromApiDestinationAttributes() now returns an IApiDestination. It used to return an ApiDestination but this was a mistake, referencing methods always return a type by interface, not by class.EventDestination.bus used to be an IEventBus but is now an IEventBusRef; it needs to be type tested to assert it is actually an IEventBus if that is necessary.
  • logs: the return types of FlowLogDestination.bind() and ICluster.executeCommandConfiguration now contain an ILogGroupRef instead of an ILogGroup, which guarantees less. These fields are for communication between constructs, and their values should not be used by application builders. If they do, they will need to add a cast or a type check.
  • iot-actions: enableBatchConfig property is explicitly disabled by default. Even with this modification, the behavior of HttpAction remains unchanged from before, but only the Cfn template will be modified.

Features

Bug Fixes

Miscellaneous Chores


Alpha modules (2.235.0-alpha.0)

⚠ BREAKING CHANGES

  • bedrock-agentcore-alpha: The User Pool Client will be replaced and new Resource Server and Domain resources will be added for existing Gateway stacks using the default Cognito authorizer.

Checklist

Bug Fixes

  • bedrock-agentcore-alpha: default Cognito User Pool for AgentCore Gateway is not set up for M2M authentication. (#36323) (5a5605a)

v2.234.1

09 Jan 12:38
068c9f9

Choose a tag to compare

Bug Fixes

  • RuntimeError: apiEndpoint is not configured on the imported HttpApi (revert of "chore(apigatewayv2): reference interfaces") (#36623) (1c10d49), closes aws/aws-cdk#36378

Alpha modules (2.234.1-alpha.0)

v2.234.0

08 Jan 17:37
526d193

Choose a tag to compare

⚠ BREAKING CHANGES

  • batch: unfortunately JobQueue exposes public readonly computeEnvironments: OrderedComputeEnvironment[]. The computeEnvironment member of that structure now fewer guarantees, and needs casting. This should not have been exposed, and we assume the use of the exposed property here is rare.
  • backup: unfortunately BackupPlanRule exposes public readonly props: BackupPlanRuleProps. The backupVault member of that structure now guarantees less, and needs casting. This should never have been exposed, and we assume the use of the exposed property here is rare.
  • ** 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-securityhub: AWS::SecurityHub::ConnectorV2: Provider.JiraCloud.AuthStatus attribute removed.
aws-securityhub: AWS::SecurityHub::ConnectorV2: Provider.JiraCloud.AuthUrl attribute removed.
aws-securityhub: AWS::SecurityHub::ConnectorV2: Provider.JiraCloud.CloudId attribute removed.
aws-securityhub: AWS::SecurityHub::ConnectorV2: Provider.JiraCloud.Domain attribute removed.
aws-securityhub: AWS::SecurityHub::ConnectorV2: Provider.ServiceNow.AuthStatus attribute removed.
aws-securityhub: AWS::SecurityHub::ConnectorV2: JiraCloud type removed, replaced by JiraCloudProviderConfiguration.
aws-securityhub: AWS::SecurityHub::ConnectorV2: ServiceNow type removed, replaced by ServiceNowProviderConfiguration.
aws-ssm: AWS::SSM::MaintenanceWindowTarget: Id attribute removed.

Features

Bug Fixes

  • cloudwatch: skip MathExpression validation when prop is a token (#36487) (2845d47)
  • core: App.of() returns incorrect values (#36475) (78034d3)
  • core: arnForXxxx() helpers ignore environments from referenced resources (#36599) (4744c59)
  • core: account for { Ref } incompatibility between schema and CFN (#36493) (3b06942)
  • ec2: add proper handling for VPC endpoint service name prefix eu.amazonaws for new region eusc-de-east-1 for ECR & API Gateway services (#36471) (d5561e0)
  • lambda: add token resolution validation to capacity providers (#36275) (c5fbd97)

Miscellaneous Chores


Alpha modules (2.234.0-alpha.0)

Features

  • msk-alpha: support express broker for Kafka v3.9 (#36450) (afcc953)

Bug Fixes

  • elasticache-alpha: deployment fails when serverlessCacheName or userGroupId is not specified (#36459) (b3f62f7), closes #36458
  • elasticache-alpha: security group for ServerlessCache does not use default endpoint port (#35738) (79d91ad)

v2.233.0

18 Dec 20:49
c296465

Choose a tag to compare

⚠ BREAKING CHANGES

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-ec2: AWS::EC2::EC2Fleet: DefaultTargetCapacityType property is now immutable.
aws-ec2: AWS::EC2::EC2Fleet: TargetCapacityUnitType property is now immutable.

Features

  • update L1 CloudFormation resource definitions (#36390) (a6077a2)
  • events-targets: support messageGroupId for standard SQS queues (#36068) (95d4ed5)
  • update L1 CloudFormation resource definitions (#36367) (e551afe)
  • codebuild: add support for macOS 15 runners (#35836) (1b8b4e3)
  • route53-patterns: HttpsRedirect use Distribution as the default CloudFront distribution (under feature flag) (#34312) (e2987eb), closes #31546
  • update L1 CloudFormation resource definitions (#36326) (cb82627)
  • ec2: add Interface VPC Endpoints for ACM and ACM-PCA (#35890) (06e6b25)
  • route53: support failover routing policy for record sets (#35909) (9395467), closes #35910

Bug Fixes


Alpha modules (2.233.0-alpha.0)

⚠ BREAKING CHANGES

  • bedrock-agentcore-alpha: Runtime constructs will no longer automatically include lifecycleConfiguration with default values when not explicitly specified by users.
  • elasticache-alpha: The engine property in NoPasswordUserProps has been removed.

Bug Fixes

  • bedrock-agentcore-alpha: runtime construct incorrectly forces default lifecycleConfiguration values (#36379) (7954354), closes #36376
  • elasticache-alpha: the default engine for NoPasswordUser contradict in the docs (#35920) (495fa37), closes #35847
  • mixins-preview: improving delivery source and delivery destination creation (#36314) (86092ab)

v2.232.2

12 Dec 20:58
73690ef

Choose a tag to compare

Bug Fixes

  • re-export of ResourceEnvironment is not an alias (#36370) (6178d32)

Alpha modules (2.232.2-alpha.0)

v2.232.1

06 Dec 01:25
6613b13

Choose a tag to compare

Bug Fixes

  • core: TypeScript properties missing for types which extend internal interfaces (#36313) (3e7e17c), closes #36310

Alpha modules (2.232.1-alpha.0)

v2.232.0

05 Dec 13:08
2376883

Choose a tag to compare

Features

  • update L1 CloudFormation resource definitions (#36299) (0945692)
  • bedrock-agentcore: add fromImageUri method to AgentRuntimeArtifact (#36263) (ad25aba)
  • lambda: add support for durable functions (#36282) (599a1d3)
  • update L1 CloudFormation resource definitions (#36277) (c4fa99b)

Bug Fixes


Alpha modules (2.232.0-alpha.0)

Bug Fixes

  • bedrock-agentcore-alpha: use static construct ID for asset-based runtime artifacts (#36241) (e2bdddd), closes #35968
  • mixins-preview: service exports are different then in aws-cdk-lib (#36201) (5858006), closes #36210
  • mixins-preview: strongly-typed ConstructSelector interface (#36266) (1d2f473)

v2.231.0

01 Dec 18:41
06ad590

Choose a tag to compare

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

  • dynamodb: unsupported actions added to table resource policy (#36228) (10de047), closes #32230

Alpha modules (2.231.0-alpha.0)

Features

v2.230.0

26 Nov 20:08
8e31156

Choose a tag to compare

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 EventPattern interfaces can be used with CfnRule (#36191) (efc135e)
  • update L1 CloudFormation resource definitions (#36180) (5cddd7e)

Bug Fixes

  • ecs: wrong ARN generated in Cluster.grantTaskProtection method (#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

Bug Fixes