Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions CHANGELOG.v2.alpha.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)


Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.v2.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)


Expand Down
Original file line number Diff line number Diff line change
@@ -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';
Expand Down Expand Up @@ -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.
*
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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,
Expand Down
5 changes: 5 additions & 0 deletions packages/@aws-cdk/aws-s3tables-alpha/lib/namespace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';

/**
Expand Down Expand Up @@ -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
*/
Expand Down
5 changes: 5 additions & 0 deletions packages/@aws-cdk/aws-s3tables-alpha/lib/table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down Expand Up @@ -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.
*
Expand Down
26 changes: 15 additions & 11 deletions packages/aws-cdk-lib/core/lib/analytics-data-source/classes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24728,6 +24728,8 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = {
},
'prefix': '*'
},
'enableMetrics': 'boolean',
'enableObservabilityMetrics': 'boolean',
'script': '*',
'role': {
'roleArn': '*',
Expand Down Expand Up @@ -24824,6 +24826,8 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = {
},
'prefix': '*'
},
'enableMetrics': 'boolean',
'enableObservabilityMetrics': 'boolean',
'script': '*',
'role': {
'roleArn': '*',
Expand Down Expand Up @@ -24920,6 +24924,8 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = {
},
'prefix': '*'
},
'enableMetrics': 'boolean',
'enableObservabilityMetrics': 'boolean',
'script': '*',
'role': {
'roleArn': '*',
Expand Down Expand Up @@ -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': '*',
Expand Down Expand Up @@ -25153,6 +25161,8 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = {
},
'prefix': '*'
},
'enableMetrics': 'boolean',
'enableObservabilityMetrics': 'boolean',
'script': '*',
'role': {
'roleArn': '*',
Expand Down Expand Up @@ -25249,6 +25259,8 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = {
},
'prefix': '*'
},
'enableMetrics': 'boolean',
'enableObservabilityMetrics': 'boolean',
'script': '*',
'role': {
'roleArn': '*',
Expand Down Expand Up @@ -25345,6 +25357,8 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = {
},
'prefix': '*'
},
'enableMetrics': 'boolean',
'enableObservabilityMetrics': 'boolean',
'script': '*',
'role': {
'roleArn': '*',
Expand Down Expand Up @@ -27931,9 +27945,6 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = {
},
'taskDefinitionRevision': '*',
'volumeConfigurations': '*',
'deploymentStrategy': 'DeploymentStrategy',
'bakeTime': '*',
'lifecycleHooks': '*',
'addPlacementStrategies': [
'*'
],
Expand Down Expand Up @@ -28186,9 +28197,6 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = {
},
'taskDefinitionRevision': '*',
'volumeConfigurations': '*',
'deploymentStrategy': 'DeploymentStrategy',
'bakeTime': '*',
'lifecycleHooks': '*',
'attachToApplicationTargetGroup': [
{
'metrics': '*',
Expand All @@ -28204,8 +28212,7 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = {
'containerName': '*',
'containerPort': '*',
'protocol': 'Protocol'
},
'*'
}
],
'registerLoadBalancerTargets': [
{
Expand Down Expand Up @@ -28550,9 +28557,6 @@ export const AWS_CDK_CONSTRUCTOR_PROPS: { [key: string]: any } = {
},
'taskDefinitionRevision': '*',
'volumeConfigurations': '*',
'deploymentStrategy': 'DeploymentStrategy',
'bakeTime': '*',
'lifecycleHooks': '*',
'attachToClassicLB': [
'*'
]
Expand Down
18 changes: 4 additions & 14 deletions packages/aws-cdk-lib/core/lib/analytics-data-source/enums.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3636,10 +3636,6 @@
"CODE_DEPLOY",
"EXTERNAL"
],
"DeploymentStrategy": [
"ROLLING",
"BLUE_GREEN"
],
"PropagatedTagSource": [
"SERVICE",
"TASK_DEFINITION",
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -4319,7 +4304,10 @@
"HMAC_256",
"HMAC_384",
"HMAC_512",
"SM2"
"SM2",
"ML_DSA_44",
"ML_DSA_65",
"ML_DSA_87"
],
"KeyUsage": [
"ENCRYPT_DECRYPT",
Expand Down
4 changes: 2 additions & 2 deletions version.v2.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"version": "2.209.1",
"alphaVersion": "2.209.1-alpha.0"
"version": "2.210.0",
"alphaVersion": "2.210.0-alpha.0"
}
Loading