diff --git a/CHANGELOG.v2.alpha.md b/CHANGELOG.v2.alpha.md index cfb4979febebb..f82798e81f7b1 100644 --- a/CHANGELOG.v2.alpha.md +++ b/CHANGELOG.v2.alpha.md @@ -2,6 +2,14 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +## [2.210.0-alpha.0](https://github.com/aws/aws-cdk/compare/v2.209.1-alpha.0...v2.210.0-alpha.0) (2025-08-06) + + +### Features + +* **glue-alpha:** add optional metrics control for cost optimization ([#35154](https://github.com/aws/aws-cdk/issues/35154)) ([6e24133](https://github.com/aws/aws-cdk/commit/6e24133d26dc2cde2cbefa8736495bfc423c5e56)), closes [#35149](https://github.com/aws/aws-cdk/issues/35149) + + ## [2.209.1-alpha.0](https://github.com/aws/aws-cdk/compare/v2.209.0-alpha.0...v2.209.1-alpha.0) (2025-08-06) diff --git a/CHANGELOG.v2.md b/CHANGELOG.v2.md index a99f8b4040a7b..dbcb69dcf3d35 100644 --- a/CHANGELOG.v2.md +++ b/CHANGELOG.v2.md @@ -2,6 +2,13 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +## [2.210.0](https://github.com/aws/aws-cdk/compare/v2.209.1...v2.210.0) (2025-08-06) + + +### Reverts + +* **ecs:** add support for native blue/green deployments in ECS L2 ([#35061](https://github.com/aws/aws-cdk/issues/35061)) ([#35170](https://github.com/aws/aws-cdk/issues/35170)) ([88696e9](https://github.com/aws/aws-cdk/commit/88696e9cba3c65f1a21708bd736f36f257914537)), closes [#35167](https://github.com/aws/aws-cdk/issues/35167) + ## [2.209.1](https://github.com/aws/aws-cdk/compare/v2.209.0...v2.209.1) (2025-08-06) diff --git a/packages/@aws-cdk/aws-bedrock-alpha/bedrock/inference-profiles/application-inference-profile.ts b/packages/@aws-cdk/aws-bedrock-alpha/bedrock/inference-profiles/application-inference-profile.ts index 85c4208bf062e..b2047ee5fc9e1 100644 --- a/packages/@aws-cdk/aws-bedrock-alpha/bedrock/inference-profiles/application-inference-profile.ts +++ b/packages/@aws-cdk/aws-bedrock-alpha/bedrock/inference-profiles/application-inference-profile.ts @@ -1,6 +1,8 @@ import { Arn, ArnFormat, ValidationError } from 'aws-cdk-lib'; import * as bedrock from 'aws-cdk-lib/aws-bedrock'; import { Grant, IGrantable } from 'aws-cdk-lib/aws-iam'; +import { addConstructMetadata, MethodMetadata } from 'aws-cdk-lib/core/lib/metadata-resource'; +import { propertyInjectable } from 'aws-cdk-lib/core/lib/prop-injectable'; import { Construct } from 'constructs'; import { IInferenceProfile, InferenceProfileBase, InferenceProfileType } from './inference-profile'; import { IBedrockInvokable } from '../models'; @@ -92,7 +94,11 @@ export interface ApplicationInferenceProfileAttributes { * @cloudformationResource AWS::Bedrock::ApplicationInferenceProfile * @see https://docs.aws.amazon.com/bedrock/latest/userguide/inference-profiles-create.html */ +@propertyInjectable export class ApplicationInferenceProfile extends InferenceProfileBase implements IBedrockInvokable { + /** Uniquely identifies this class. */ + public static readonly PROPERTY_INJECTION_ID: string = '@aws-cdk.aws-bedrock-alpha.ApplicationInferenceProfile'; + /** * Import an Application Inference Profile given its attributes. * @@ -225,6 +231,8 @@ export class ApplicationInferenceProfile extends InferenceProfileBase implements // ------------------------------------------------------ constructor(scope: Construct, id: string, props: ApplicationInferenceProfileProps) { super(scope, id); + // Enhanced CDK Analytics Telemetry + addConstructMetadata(this, props); // ------------------------------------------------------ // Validate props @@ -321,6 +329,7 @@ export class ApplicationInferenceProfile extends InferenceProfileBase implements * @param grantee - The IAM principal to grant permissions to * @returns An IAM Grant object representing the granted permissions */ + @MethodMetadata() public grantInvoke(grantee: IGrantable): Grant { // This method ensures the appropriate permissions are given // to use either the inference profile or the vanilla foundation model @@ -342,6 +351,7 @@ export class ApplicationInferenceProfile extends InferenceProfileBase implements * @param grantee - The IAM principal to grant permissions to * @returns An IAM Grant object representing the granted permissions */ + @MethodMetadata() public grantProfileUsage(grantee: IGrantable): Grant { return Grant.addToPrincipal({ grantee: grantee, diff --git a/packages/@aws-cdk/aws-s3tables-alpha/lib/namespace.ts b/packages/@aws-cdk/aws-s3tables-alpha/lib/namespace.ts index f74384c4e63f0..bd480087afdae 100644 --- a/packages/@aws-cdk/aws-s3tables-alpha/lib/namespace.ts +++ b/packages/@aws-cdk/aws-s3tables-alpha/lib/namespace.ts @@ -3,6 +3,7 @@ import { IResource, RemovalPolicy, Resource, Token, UnscopedValidationError } fr import { ITableBucket } from './table-bucket'; import { addConstructMetadata } from 'aws-cdk-lib/core/lib/metadata-resource'; import { CfnNamespace } from 'aws-cdk-lib/aws-s3tables'; +import { propertyInjectable } from 'aws-cdk-lib/core/lib/prop-injectable'; import { EOL } from 'os'; /** @@ -61,7 +62,11 @@ export interface NamespaceAttributes { * * A namespace is a logical container for tables within a table bucket. */ +@propertyInjectable export class Namespace extends Resource implements INamespace { + /** Uniquely identifies this class. */ + public static readonly PROPERTY_INJECTION_ID: string = '@aws-cdk.aws-s3tables-alpha.Namespace'; + /** * Import an existing namespace from its attributes */ diff --git a/packages/@aws-cdk/aws-s3tables-alpha/lib/table.ts b/packages/@aws-cdk/aws-s3tables-alpha/lib/table.ts index 22144090afb97..654c5c3d88ca7 100644 --- a/packages/@aws-cdk/aws-s3tables-alpha/lib/table.ts +++ b/packages/@aws-cdk/aws-s3tables-alpha/lib/table.ts @@ -8,6 +8,7 @@ import { import { INamespace } from './namespace'; import { CfnTable } from 'aws-cdk-lib/aws-s3tables'; import { addConstructMetadata } from 'aws-cdk-lib/core/lib/metadata-resource'; +import { propertyInjectable } from 'aws-cdk-lib/core/lib/prop-injectable'; import { Construct } from 'constructs'; import { EOL } from 'os'; @@ -236,7 +237,11 @@ export interface TableAttributes { /** * An S3 Table with helpers. */ +@propertyInjectable export class Table extends TableBase { + /** Uniquely identifies this class. */ + public static readonly PROPERTY_INJECTION_ID: string = '@aws-cdk.aws-s3tables-alpha.Table'; + /** * Defines a Table construct that represents an external table. * diff --git a/packages/aws-cdk-lib/core/lib/analytics-data-source/classes.ts b/packages/aws-cdk-lib/core/lib/analytics-data-source/classes.ts index 28962a7544d8d..638ecea0331c2 100644 --- a/packages/aws-cdk-lib/core/lib/analytics-data-source/classes.ts +++ b/packages/aws-cdk-lib/core/lib/analytics-data-source/classes.ts @@ -24728,6 +24728,8 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = { }, 'prefix': '*' }, + 'enableMetrics': 'boolean', + 'enableObservabilityMetrics': 'boolean', 'script': '*', 'role': { 'roleArn': '*', @@ -24824,6 +24826,8 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = { }, 'prefix': '*' }, + 'enableMetrics': 'boolean', + 'enableObservabilityMetrics': 'boolean', 'script': '*', 'role': { 'roleArn': '*', @@ -24920,6 +24924,8 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = { }, 'prefix': '*' }, + 'enableMetrics': 'boolean', + 'enableObservabilityMetrics': 'boolean', 'script': '*', 'role': { 'roleArn': '*', @@ -25057,6 +25063,8 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = { 'RayJob': { 'runtime': 'Runtime', 'jobRunQueuingEnabled': 'boolean', + 'enableMetrics': 'boolean', + 'enableObservabilityMetrics': 'boolean', 'script': '*', 'role': { 'roleArn': '*', @@ -25153,6 +25161,8 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = { }, 'prefix': '*' }, + 'enableMetrics': 'boolean', + 'enableObservabilityMetrics': 'boolean', 'script': '*', 'role': { 'roleArn': '*', @@ -25249,6 +25259,8 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = { }, 'prefix': '*' }, + 'enableMetrics': 'boolean', + 'enableObservabilityMetrics': 'boolean', 'script': '*', 'role': { 'roleArn': '*', @@ -25345,6 +25357,8 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = { }, 'prefix': '*' }, + 'enableMetrics': 'boolean', + 'enableObservabilityMetrics': 'boolean', 'script': '*', 'role': { 'roleArn': '*', @@ -27931,9 +27945,6 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = { }, 'taskDefinitionRevision': '*', 'volumeConfigurations': '*', - 'deploymentStrategy': 'DeploymentStrategy', - 'bakeTime': '*', - 'lifecycleHooks': '*', 'addPlacementStrategies': [ '*' ], @@ -28186,9 +28197,6 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = { }, 'taskDefinitionRevision': '*', 'volumeConfigurations': '*', - 'deploymentStrategy': 'DeploymentStrategy', - 'bakeTime': '*', - 'lifecycleHooks': '*', 'attachToApplicationTargetGroup': [ { 'metrics': '*', @@ -28204,8 +28212,7 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = { 'containerName': '*', 'containerPort': '*', 'protocol': 'Protocol' - }, - '*' + } ], 'registerLoadBalancerTargets': [ { @@ -28550,9 +28557,6 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = { }, 'taskDefinitionRevision': '*', 'volumeConfigurations': '*', - 'deploymentStrategy': 'DeploymentStrategy', - 'bakeTime': '*', - 'lifecycleHooks': '*', 'attachToClassicLB': [ '*' ] diff --git a/packages/aws-cdk-lib/core/lib/analytics-data-source/enums.ts b/packages/aws-cdk-lib/core/lib/analytics-data-source/enums.ts index 8565a4fac54cd..31f426b81f660 100644 --- a/packages/aws-cdk-lib/core/lib/analytics-data-source/enums.ts +++ b/packages/aws-cdk-lib/core/lib/analytics-data-source/enums.ts @@ -994,19 +994,6 @@ export const AWS_CDK_ENUMS: { [key: string]: any } = { "CODE_DEPLOY", "EXTERNAL" ], - "DeploymentLifecycleStage": [ - "RECONCILE_SERVICE", - "PRE_SCALE_UP", - "POST_SCALE_UP", - "TEST_TRAFFIC_SHIFT", - "POST_TEST_TRAFFIC_SHIFT", - "PRODUCTION_TRAFFIC_SHIFT", - "POST_PRODUCTION_TRAFFIC_SHIFT" - ], - "DeploymentStrategy": [ - "ROLLING", - "BLUE_GREEN" - ], "DesiredState": [ "RUNNING", "STOPPED" @@ -2138,7 +2125,10 @@ export const AWS_CDK_ENUMS: { [key: string]: any } = { "HMAC_256", "HMAC_384", "HMAC_512", - "SM2" + "SM2", + "ML_DSA_44", + "ML_DSA_65", + "ML_DSA_87" ], "KeyUsage": [ "ENCRYPT_DECRYPT", diff --git a/packages/aws-cdk-lib/core/lib/analytics-data-source/enums/module-enums.json b/packages/aws-cdk-lib/core/lib/analytics-data-source/enums/module-enums.json index ef9b28791ae58..11fbf2e511e85 100644 --- a/packages/aws-cdk-lib/core/lib/analytics-data-source/enums/module-enums.json +++ b/packages/aws-cdk-lib/core/lib/analytics-data-source/enums/module-enums.json @@ -3636,10 +3636,6 @@ "CODE_DEPLOY", "EXTERNAL" ], - "DeploymentStrategy": [ - "ROLLING", - "BLUE_GREEN" - ], "PropagatedTagSource": [ "SERVICE", "TASK_DEFINITION", @@ -3735,17 +3731,6 @@ "disabled" ] }, - "aws-cdk/packages/aws-cdk-lib/aws-ecs/lib/deployment-lifecycle-hook-target.ts": { - "DeploymentLifecycleStage": [ - "RECONCILE_SERVICE", - "PRE_SCALE_UP", - "POST_SCALE_UP", - "TEST_TRAFFIC_SHIFT", - "POST_TEST_TRAFFIC_SHIFT", - "PRODUCTION_TRAFFIC_SHIFT", - "POST_PRODUCTION_TRAFFIC_SHIFT" - ] - }, "aws-cdk/packages/aws-cdk-lib/aws-ecs/lib/environment-file.ts": { "EnvironmentFileType": [ "s3" @@ -4319,7 +4304,10 @@ "HMAC_256", "HMAC_384", "HMAC_512", - "SM2" + "SM2", + "ML_DSA_44", + "ML_DSA_65", + "ML_DSA_87" ], "KeyUsage": [ "ENCRYPT_DECRYPT", diff --git a/version.v2.json b/version.v2.json index 7ad3c1da11b13..30cee3277ff5a 100644 --- a/version.v2.json +++ b/version.v2.json @@ -1,4 +1,4 @@ { - "version": "2.209.1", - "alphaVersion": "2.209.1-alpha.0" + "version": "2.210.0", + "alphaVersion": "2.210.0-alpha.0" } \ No newline at end of file