Skip to content

Releases: aws/aws-cdk

v2.266.0

Choose a tag to compare

@aws-cdk-automation aws-cdk-automation released this 19 Aug 19:02
e8d9160

Features

Bug Fixes

  • ec2: add DependsOn VPCGatewayAttachment to IPv6 default route (#37893) (ab272bc), closes #37853
  • sns-subscriptions: use regionalized service principal for opt-in region SQS subscriptions (#38339) (67a7eb1), closes #32526

Alpha modules (2.266.0-alpha.0)

⚠ BREAKING CHANGES

  • glue-alpha: DataQualityRulesetProps.rulesetDqdl: string is replaced by
    dqdl: Dqdl. Build it with Dqdl.fromString('Rules = [ ... ]').
  • glue-alpha: s3Encryption, cloudWatchEncryption, and jobBookmarksEncryption are no longer object literals. Use S3Encryption.s3Managed() / S3Encryption.kms(key?), CloudWatchEncryption.kms(key?), and JobBookmarksEncryption.clientSideKms(key?). The CloudWatchEncryptionMode and JobBookmarksEncryptionMode enums are removed (their mode is now implicit); S3EncryptionMode is retained.
  • glue-alpha: this is a corrective breaking change. Apps that leaned on the bug, and did things like InputFormat x = OutputFormat.AVRO; will get a compilation error in other jsii languages. The intended usage, on the other hand, was broken before and works now.
  • glue-alpha: workerType and numberOfWorkers are no longer top-level job props. For Spark jobs, pass them together via workerConfiguration: { workerType, numberOfWorkers }. PythonShellJob no longer accepts them (it is sized by maxCapacity). RayJob no longer accepts workerType (it is fixed to Z.2X).
  • glue-alpha: SparkJobProps.enableMetrics removed, which will cause a compilation error for any app using it. But there is no behavior change, since this is a dead prop.
  • glue-alpha: a differing/tokenized has_encrypted_data supplied via parameters now throws.

Features

  • glue-alpha: add warning for maxRetries when job run queuing is enabled (#38575) (09ae11e)
  • glue-alpha: model SecurityConfiguration encryption as factory subtypes (#38586) (e37e7a6)
  • glue-alpha: new hasEncryptedData property (#38511) (c977e36)
  • glue-alpha: pair workerType and numberOfWorkers into a required workerConfiguration (#38576) (5f3b1b6)
  • glue-alpha: wrap DataQualityRuleset DQDL in a typed value object (#38587) (fd01268)

Bug Fixes

  • glue-alpha: correct OutputFormat.AVRO/ORC type and tidy GA-hygiene items (#38593) (35aefaf)
  • glue-alpha: omit comments from struct type strings (#38008) (5f16a86), closes #26935
  • mediapackagev2-alpha: add GetChannel grant on MediaPackageV2 (#38582) (74d922c), closes #38581

v2.265.0

Choose a tag to compare

@aws-cdk-automation aws-cdk-automation released this 13 Aug 19:48
3ea03cf

Features

Bug Fixes


Alpha modules (2.265.0-alpha.0)

⚠ BREAKING CHANGES

  • glue-alpha: PySparkFlexEtlJob and ScalaSparkFlexEtlJob now default to GlueVersion.V5_0 instead of V3_0. Set glueVersion explicitly to keep the previous behavior.
  • glue-alpha: removal policy of existing Database resources will change to RETAIN.

Features

  • glue-alpha: default Flex jobs to Glue 5.0 (#38543) (36d4976)
  • glue-alpha: removal policy is RETAIN for Database by default (#38535) (9669928)
  • glue-alpha: warn on plaintext secrets (#38538) (10bf0b5)

Bug Fixes

  • glue-alpha: warn when S3Table grants cover a shared bucket (#38542) (d81d2d6)
  • mediaconnect-alpha: update validation to allow adding an underscore to name (#38539) (7c85994)

v2.264.0

Choose a tag to compare

@aws-cdk-automation aws-cdk-automation released this 10 Aug 18:02
ab9348f

⚠ BREAKING CHANGES

  • bedrockagentcore: Gateway metric helpers now emit corrected CloudWatch dimensions per-gateway
    metrics use { Operation, Protocol, Resource } (was { Resource }). Alarms/dashboards built on the
    old dimensions must be updated.
  • bedrockagentcore: RuntimeBase metric helpers now emit corrected CloudWatch dimensions per-resource metrics use { Operation, Name, Resource } (was { Resource }) and aggregated metrics use { AggregateOperation } (was { Resource: 'All' }). Alarms/dashboards built on the old dimensions must be updated.

Features

Bug Fixes


Alpha modules (2.264.0-alpha.0)

⚠ BREAKING CHANGES

  • glue-alpha: IDatabase.catalogArn and IDatabase.catalogId were removed in factor of a type
    safe ICatalog, which has catalogArn and catalogId. Consumers and implementations were updated
    accordingly.

Features

Bug Fixes

  • glue-alpha: enable key rotation for security configuration encryption (#38512) (18560e0)
  • mediaconnect-alpha: addOutput options and simplified VPC interface referencing (#38515) (3c71466), closes #38517

v2.263.0

Choose a tag to compare

@aws-cdk-automation aws-cdk-automation released this 31 Jul 16:57
a9e6639

Features

  • autoscaling: add support for AutoScalingInstanceRefresh UpdatePolicy (#38277) (434157f), closes #38276
  • docdb: support per-instance maintenance window on DatabaseCluster (#38315) (5390624), closes #30391
  • ecs: add support for using existing Cloud Map namespaces in ECS clusters (#36812) (bda00bf), closes #26698
  • eks: add Provisioned Control Plane support with controlPlaneScalingTier property (#36651) (5ea1054), closes #36650
  • eks: add support for Kubernetes version 1.36 (#38441) (da27b6c), closes #38411
  • lambda: add Java8AL2023, Java11AL2023 and Java17AL2023 runtime for Lambda #38418 (#38419) (1e55176)
  • lambda: add logGroup and systemLogLevel to CapacityProvider (#38183) (61a2e2d), closes #38182
  • lambda: add PropagateTags to CapacityProvider for tag propagation (#38180) (6f86f97), closes #38181

Bug Fixes


Alpha modules (2.263.0-alpha.0)

⚠ BREAKING CHANGES

  • mediaconnect: removalPolicy prop removed from FlowProps, GatewayProps, and BridgeProps. These resources now follow CloudFormation's default deletion behaviour (Delete).

Bug Fixes

v2.262.2

Choose a tag to compare

@aws-cdk-automation aws-cdk-automation released this 29 Jul 14:24
f52698c

Bug Fixes


Alpha modules (2.262.2-alpha.0)

v2.262.1

Choose a tag to compare

@aws-cdk-automation aws-cdk-automation released this 24 Jul 14:54
d0c6dba

Bug Fixes

  • core: bump @aws/cloudformation-validate to 1.5.1-beta to fix install on Node != 22.x (#38382) (d409b96), closes #38380
  • core: env CDK_VALIDATION=false does not disable built-in template validation (#38379) (cc4208c), closes #38378

Alpha modules (2.262.1-alpha.0)

v2.262.0

Choose a tag to compare

@aws-cdk-automation aws-cdk-automation released this 22 Jul 20:53
7275a1e

Features

  • ecs: add support ECS-optimized Amazon Linux 2023 (Neuron) AMI (#34689) (ad665c4)
  • mediaconnect: l2 construct (#37945) (8e9e001)
  • update L1 CloudFormation resource definitions (#38275) (2b1c632)
  • apigateway: alb integration (#36247) (20dbdd9), closes #36184
  • bedrockagentcore: support service/region in IAM credential provider for gateway targets (#37697) (08a2543), closes #37696
  • cloudfront: add Managed-HostHeaderOnly origin request policy (#38236) (0e66e47), closes #38234
  • core: templates are validated against a comprehensive default rule set (#38135) (023c5bf)

Bug Fixes

Reverts


Alpha modules (2.262.0-alpha.0)

Bug Fixes

  • redshift-alpha: quote identifiers and escape literals containing special characters (#38269) (3cb6844)

v2.261.0

Choose a tag to compare

@aws-cdk-automation aws-cdk-automation released this 02 Jul 16:42
f3c62b6

⚠ 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-cloudwatch: AWS::CloudWatch::LogAlarm: QueryLanguage property has been removed from the ScheduledQueryConfiguration type.
  • aws-elasticloadbalancing: AWS::ElasticLoadBalancing::LoadBalancer: Id attribute has been removed and the primary identifier is now LoadBalancerName.

Features

  • update L1 CloudFormation resource definitions (#38189) (5aabd32)
  • core: add git source metadata to CloudFormation templates (#37368) (765271b)
  • rds: support native Secrets Manager integration for RDS Cluster and Instance (#35734) (07d5623), closes #29239

Bug Fixes


Alpha modules (2.261.0-alpha.0)

Features

  • metrics-facade-alpha: generate metrics facades (#37334) (aa9beb0)

v2.260.0

Choose a tag to compare

@aws-cdk-automation aws-cdk-automation released this 16 Jun 23:45
a987f75

Features

Bug Fixes

  • bundling: docker build can be skipped if already performed (#38134) (2f9ae95)
  • core: stack traces contain decorator paths (#38130) (318f645)
  • core: weak cross-stack references fail for list attributes (#37948) (6bb9d75), closes #37910
  • lambda-nodejs: reuse posixShellEscape for Docker bundling file operations (#38133) (baa9e1d)

Alpha modules (2.260.0-alpha.0)

v2.259.0

Choose a tag to compare

@aws-cdk-automation aws-cdk-automation released this 12 Jun 09:53
5afca52

⚠ BREAKING CHANGES

  • lambda: Runtime.NODEJS_LATEST now resolves to nodejs24.x in every region. Customers who pin to a concrete runtime (Runtime.NODEJS_22_X, useLatestRuntimeVersion: false in aws-lambda-nodejs.NodejsFunction) are unaffected. Existing AWS::Lambda::Function resources synthesized with NODEJS_LATEST will see Runtime: nodejs22.xRuntime: nodejs24.x on next deploy. Lambda accepts runtime updates in place.

    Customer-code compatibility — IMPORTANT: Node.js 24 removes support for callback-style asynchronous handlers ((event, context, callback) => {...}) per the launch blog. Customers whose Lambda code still uses callback-based handlers will see runtime errors after the bump. Customers should migrate to async (event, context) => {...} or pin to Runtime.NODEJS_22_X explicitly.

Features

  • core: recommend the use of weak references if no choice has been made (#38070) (6e74e5e)
  • ecs: add forceNewDeployment option for Fargate and EC2 services (#36797) (3d9c4df), closes #27762
  • eks: use the recommended AL2023 instead of AL2 AMI type (under feature flag) (#37850) (6a2dcb7), closes #32211
  • lambda: upgrade lambda and custom resource default runtime to nodejs24.x (#38031) (36c84c6)

Bug Fixes

Reverts


Alpha modules (2.259.0-alpha.0)