Skip to content

Releases: aws/aws-cdk

v2.241.0

02 Mar 14:47
5cc30e0

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-codedeploy: AWS::CodeDeploy::DeploymentGroup: Id attribute removed.

Features

Bug Fixes


Alpha modules (2.241.0-alpha.0)

Features

  • mixins-preview: add recordFields and outputFormat to Vended Logs Mixin (#37042) (dd94c31)
  • mixins-preview: cross account delivery destinations (#36827) (a759eb6)

v2.240.0

23 Feb 21:43
516da95

Choose a tag to compare

Features

Bug Fixes


Alpha modules (2.240.0-alpha.0)

v2.239.0

19 Feb 22:06
e83bb46

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-licensemanager: AWS::LicenseManager::License: Beneficiary property is now required
aws-licensemanager: AWS::LicenseManager::License: ProductSKU property is now required
aws-sagemaker: AWS::SageMaker::Cluster: Orchestrator.Eks property is now immutable

Features

  • update L1 CloudFormation resource definitions (#37031) (bc65c09)
  • dynamodb: add cross-account global table replication support (#36895) (353a9bb)
  • kinesisfirehose: support dynamic partitioning (#35903) (4f86a05), closes #28740
  • resource policy and encrypted resource wrappers for L1s (#36849) (ee87e26)
  • update L1 CloudFormation resource definitions (#36923) (64cfc4d)
  • update L1 CloudFormation resource definitions (#36997) (e3eecad)

Bug Fixes

  • aws-cdk-lib: update cloud-assembly-schema to resolve peer dependency conflict (#36953) (f194236), closes #36939
  • aws-cdk-lib: upgrade version of ajv that triggers CVE scanners (#37022) (45662ba)
  • ec2: add VPC endpoint naming conventions for some isolated regions (#36794) (5a7fca5)
  • rds: mark deprecated versions and add new engine versions (#36937) (6e061d0)

Alpha modules (2.239.0-alpha.0)

⚠ BREAKING CHANGES

redshift-alpha: update default node type from DC2_LARGE to RA3_LARGE

Features

  • bedrock-agentcore-alpha: add fromCodeAsset method to create runtime artifact with local code assets (#36472) (c5a87e6), closes #36473
  • bedrock-agentcore-alpha: added new target type (api gateway) in agentcore gateway target. (#36841) (0842754), closes #36817
  • mixins-preview: add ECS ClusterSettingsMixin (#36796) (b8ab5be)
  • mixins-preview: add s3 bucket mixin for publicAccessBlock (#36905) (feed4b2)
  • mixins-preview: send Vended Logs to pre-created DeliveryDestination using toDestination() (#36896) (48f1fe6)

Bug Fixes

  • redshift-alpha: update default node type from DC2_LARGE to RA3_LARGE (#36516) (ea19e5c), closes #36416

v2.238.0

09 Feb 17:04
67f09c0

Choose a tag to compare

⚠ BREAKING CHANGES

  • bedrock-agentcore: Interface extensions require new property implementations
  • aws-bedrock-agentcore-alpha:
    • IGateway now requires gatewayRef getter
    • IGatewayTarget now requires gatewayTargetRef getter
    • IMemory now requires memoryRef getter
    • IBedrockAgentRuntime now requires runtimeRef getter
    • IRuntimeEndpoint now requires runtimeEndpointRef getter
    • IBrowserCustom now requires browserCustomRef getter
    • ICodeInterpreterCustom now requires codeInterpreterCustomRef getter

Features

Bug Fixes

  • core: intrinsic cfn function tokens are not detected as such in java (#36843) (3f29f11)
  • events: restore Match.anyOf support for raw strings (#36908) (6804c7c), closes #36902 #36602 #36602
  • iam: undeprecate openIdConnectProviderArn and openIdConnectProviderIssuer in IOidcProvider (#36859) (cbf0b03)

Miscellaneous Chores


Alpha modules (2.238.0-alpha.0)

Features

  • eks-v2-alpha: add support for bootstrapSelfManagedAddons (#36740) (1ffe38d)
  • eks-v2-alpha: add support for EKS hybrid nodes (#36749) (48ace56)

Bug Fixes

  • eks-v2-alpha: ensure kubectl provider and handler functions use the same vpc configuration (#36735) (4e02f08), closes #34878 #34877
  • ivs-alpha: add region constraints to integration tests (#36851) (d55fec4)
  • mixins-preview: apply mixins in order (#36847) (726060c)
  • mixins-preview: apply mixins in order in MixinApplicator (#36877) (09db1c9), closes #36847

v2.237.1

03 Feb 16:44
2bef5e5

Choose a tag to compare

Bug Fixes

  • core: intrinsic cfn function tokens are not detected as such in java (#36843) (89cd54f)

Alpha modules (2.237.1-alpha.0)

v2.237.0

02 Feb 13:52
c774582

Choose a tag to compare

⚠ BREAKING CHANGES

  • iam: Receivers of IEncryptedResource objects now have fewer guarantees about the shape of the object. If you still require an IResource, change the type to IEncryptedResource & IResource and/or add a type guard check using Resource.isResource(). Implementations of IEncryptedResource no longer need to implement IResource but must continue to implement IEnvironmentAware. Since IResource extends IEnvironmentAware, there is no change for implementors. Calls to GrantableResources.isEncryptedResource() now require an IEnvironmentAware argument instead of IConstruct.

Features

  • eks: add OidcProviderNative using L1 and deprecate OpenIdConnectProvider custom resource (#36589) (09383cb)
  • eks: add support overwriteServiceAccount prop in service account construct (#36751) (3aa38f6)
  • kms: make trustAccountIdentities optional in KeyGrants (#36786) (06676ac)
  • lambda: add observability support for kafka event source mappings (#36808) (dd8b419)
  • update L1 CloudFormation resource definitions (#36799) (7ecd0a9)
  • opensearchservice: support OI2 instance type with local NVMe storage (#36700) (034baf3), closes #36698

Bug Fixes

  • iam: IEncryptedResource extends IEnvironmentAware instead of IResource (#36787) (90ad834)

Alpha modules (2.237.0-alpha.0)

Features

Bug Fixes

  • bedrock-agentcore-alpha: construct ID collision when multiple schemas are set (#36565) (9ebfb62), closes #36559

v2.236.0

23 Jan 17:47
7c81002

Choose a tag to compare

Features

Bug Fixes

  • apigatewayv2: use custom domain name instead of regional domain name when importing domain name via fromDomainNameAttributes (#36710) (fe6eb0b)
  • batch: undeprecate useOptimalInstanceClasses property (#36353) (3485d53), closes #36291 #36291
  • core: resources allocate unnecessary string tokens upon instantiation (#36692) (59d4928)
  • core: tree.json unintentionally includes telemetry metadata (#36748) (87fd86b)
  • scheduler: scheduleName returns undefined when imported from ARN (#36400) (752bd9b), closes #36361
  • recent change to IAlarmAction breaks too many implementors (#36695) (0c5b0db)

Alpha modules (2.236.0-alpha.0)

Features

  • bedrock-agentcore-alpha: added episodic memory strategy (#36591) (21dcfc6)
  • bedrock-agentcore-alpha: added gateway interceptors (#36604) (ba8aa48)
  • bedrock-agentcore-alpha: make physical name properties optional for AgentCore resources (#36354) (5137d81), closes #36341
  • mixins-preview: expose BucketPolicyStatementsMixin publicly (#36771) (458156d)
  • sagemaker: add containerStartupHealthCheckTimeoutInSeconds support for EndpointConfig (#35626) (47d707a), closes #35566

Bug Fixes

  • eks-v2-alpha: ensure kubectl provider access entry is depended upon by downstream resources (#36734) (e104f45), closes #34898 #34897

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)