Skip to content

Commit 4b79cb6

Browse files
authored
2 parents a4b15df + 740bb0e commit 4b79cb6

File tree

9 files changed

+419
-20
lines changed

9 files changed

+419
-20
lines changed

CHANGELOG.v2.alpha.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,18 @@
22

33
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.
44

5+
## [2.203.0-alpha.0](https://github.com/aws/aws-cdk/compare/v2.202.0-alpha.0...v2.203.0-alpha.0) (2025-07-01)
6+
7+
8+
### Features
9+
10+
* **ec2:** support for client route enforcement for client VPN endpoint ([#34405](https://github.com/aws/aws-cdk/issues/34405)) ([063f4e7](https://github.com/aws/aws-cdk/commit/063f4e79d7416c52b622450222c5439e893ca74c))
11+
12+
13+
### Bug Fixes
14+
15+
* **ec2:** don't use inferenceAccellerators in the constructors if not needed ([#34618](https://github.com/aws/aws-cdk/issues/34618)) ([054c6c5](https://github.com/aws/aws-cdk/commit/054c6c53982b8ba33ca31af6752b1662ed5752b8)), closes [#33505](https://github.com/aws/aws-cdk/issues/33505) [/github.com/aws/aws-cdk/issues/33505#issuecomment-2770818825](https://github.com/aws//github.com/aws/aws-cdk/issues/33505/issues/issuecomment-2770818825) [#34610](https://github.com/aws/aws-cdk/issues/34610)
16+
517
## [2.202.0-alpha.0](https://github.com/aws/aws-cdk/compare/v2.201.0-alpha.0...v2.202.0-alpha.0) (2025-06-20)
618

719

CHANGELOG.v2.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,38 @@
22

33
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.
44

5+
## [2.203.0](https://github.com/aws/aws-cdk/compare/v2.202.0...v2.203.0) (2025-07-01)
6+
7+
8+
### ⚠ BREAKING CHANGES TO EXPERIMENTAL FEATURES
9+
10+
* **cloudformation:** Some L1 resources experienced breaking changes due to updated CloudFormation resources. Please check the notes for each specific module for more information.
11+
12+
- ***aws-cdk-lib.aws_kendra.CfnDataSource.TemplateConfigurationProperty***: `template` property here has changed from `string` to `json`
13+
14+
### Features
15+
16+
* **rds:** instance engine lifecycle support ([#34719](https://github.com/aws/aws-cdk/issues/34719)) ([bab7413](https://github.com/aws/aws-cdk/commit/bab74137f17bb0759b1a922d8e88df5c0f6e9bc1)), closes [#34492](https://github.com/aws/aws-cdk/issues/34492)
17+
* report feature flag configuration into Cloud Assembly ([#34798](https://github.com/aws/aws-cdk/issues/34798)) ([76af7dc](https://github.com/aws/aws-cdk/commit/76af7dc8b5bc80dcc00ad9f3bbf6dc8fecfec5c3))
18+
* **backup:** add support for ScheduleExpressionTimezone ([#34603](https://github.com/aws/aws-cdk/issues/34603)) ([8ceea43](https://github.com/aws/aws-cdk/commit/8ceea437e332d4a1339c26f13b59b424ef389135)), closes [#34532](https://github.com/aws/aws-cdk/issues/34532)
19+
* **cloudformation:** update L1 CloudFormation resource definitions ([#34839](https://github.com/aws/aws-cdk/issues/34839)) ([4c75889](https://github.com/aws/aws-cdk/commit/4c75889fb44e16bc5ef979c5c6d42390ddc0a17b))
20+
* **cloudwatch:** add account id field for log query and metric widgets to support cross account visibility ([#34793](https://github.com/aws/aws-cdk/issues/34793)) ([ac4d09d](https://github.com/aws/aws-cdk/commit/ac4d09d91bcedc4dca144ba68b1951cc12c9b70c)), closes [#26105](https://github.com/aws/aws-cdk/issues/26105)
21+
* **lambda:** function log removal policy ([#34723](https://github.com/aws/aws-cdk/issues/34723)) ([0388483](https://github.com/aws/aws-cdk/commit/0388483537bbd2f6fef4e8dd3156341a90ee9d68)), closes [#34669](https://github.com/aws/aws-cdk/issues/34669)
22+
* **pipelines:** cdk-assets version is configurable ([#34802](https://github.com/aws/aws-cdk/issues/34802)) ([a361c9c](https://github.com/aws/aws-cdk/commit/a361c9ce325f6d1f63a62c69d26af4ce6b2e12f3))
23+
* update L1 CloudFormation resource definitions ([#34792](https://github.com/aws/aws-cdk/issues/34792)) ([074cb8c](https://github.com/aws/aws-cdk/commit/074cb8c8502463e658ab009c5bebf5a84ad6555b))
24+
25+
26+
### Bug Fixes
27+
28+
* **codecov:** update codecov-upload.yml ([#34845](https://github.com/aws/aws-cdk/issues/34845)) ([8055016](https://github.com/aws/aws-cdk/commit/805501692991825aa4949bf830fa40e4e1c4cd6b)), closes [/github.com/aws/aws-cdk/blob/main/codecov.yml#L35](https://github.com/aws//github.com/aws/aws-cdk/blob/main/codecov.yml/issues/L35)
29+
* **codecov:** update codecov-upload.yml action to upload report with correct path ([#34814](https://github.com/aws/aws-cdk/issues/34814)) ([705e76b](https://github.com/aws/aws-cdk/commit/705e76bf22da1e743f22428aab4c36f900b484e5))
30+
* **stepfunctions-tasks:** properly serialize CallAwsServiceCrossRegion Lambda responses ([#34843](https://github.com/aws/aws-cdk/issues/34843)) ([a4b15df](https://github.com/aws/aws-cdk/commit/a4b15df5d1669056947df757471ad0b921335f23)), closes [#34768](https://github.com/aws/aws-cdk/issues/34768)
31+
32+
33+
### Reverts
34+
35+
* "ci: add tool to sync with project board" ([#34817](https://github.com/aws/aws-cdk/issues/34817)) ([1965014](https://github.com/aws/aws-cdk/commit/1965014d1233b956fc2c6cbbdf72bfade9aaab5d)), closes [aws/aws-cdk#34776](https://github.com/aws/aws-cdk/issues/34776)
36+
537
## [2.202.0](https://github.com/aws/aws-cdk/compare/v2.201.0...v2.202.0) (2025-06-20)
638

739

packages/@aws-cdk/aws-bedrock-alpha/bedrock/agents/agent-alias.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import { ArnFormat, aws_bedrock as bedrock, IResource, Resource, Stack } from 'aws-cdk-lib';
22
import * as events from 'aws-cdk-lib/aws-events';
33
import * as iam from 'aws-cdk-lib/aws-iam';
4+
import { addConstructMetadata } from 'aws-cdk-lib/core/lib/metadata-resource';
5+
import { propertyInjectable } from 'aws-cdk-lib/core/lib/prop-injectable';
46
import { Construct } from 'constructs';
57
import { IAgent } from './agent';
68

@@ -186,7 +188,10 @@ export interface AgentAliasAttributes {
186188
* Class to create an Agent Alias with CDK.
187189
* @cloudformationResource AWS::Bedrock::AgentAlias
188190
*/
191+
@propertyInjectable
189192
export class AgentAlias extends AgentAliasBase {
193+
/** Uniquely identifies this class. */
194+
public static readonly PROPERTY_INJECTION_ID: string = '@aws-cdk.aws-bedrock-alpha.AgentAlias';
190195
// ------------------------------------------------------
191196
// Imports
192197
// ------------------------------------------------------
@@ -229,6 +234,8 @@ export class AgentAlias extends AgentAliasBase {
229234
// ------------------------------------------------------
230235
constructor(scope: Construct, id: string, props: AgentAliasProps) {
231236
super(scope, id);
237+
// Enhanced CDK Analytics Telemetry
238+
addConstructMetadata(this, props);
232239

233240
// ------------------------------------------------------
234241
// Set properties or defaults

packages/@aws-cdk/aws-bedrock-alpha/bedrock/agents/agent.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ import * as events from 'aws-cdk-lib/aws-events';
66
import * as iam from 'aws-cdk-lib/aws-iam';
77
import * as kms from 'aws-cdk-lib/aws-kms';
88
import * as s3 from 'aws-cdk-lib/aws-s3';
9+
import { addConstructMetadata, MethodMetadata } from 'aws-cdk-lib/core/lib/metadata-resource';
10+
import { propertyInjectable } from 'aws-cdk-lib/core/lib/prop-injectable';
911
import { Construct, IConstruct } from 'constructs';
1012
// Internal Libs
1113
import { AgentActionGroup } from './action-group';
@@ -333,7 +335,11 @@ export interface AgentAttributes {
333335
* Class to create (or import) an Agent with CDK.
334336
* @cloudformationResource AWS::Bedrock::Agent
335337
*/
338+
@propertyInjectable
336339
export class Agent extends AgentBase implements IAgent {
340+
/** Uniquely identifies this class. */
341+
public static readonly PROPERTY_INJECTION_ID: string = '@aws-cdk.aws-bedrock-alpha.Agent';
342+
337343
/**
338344
* Static Method for importing an existing Bedrock Agent.
339345
*/
@@ -429,6 +435,8 @@ export class Agent extends AgentBase implements IAgent {
429435
// ------------------------------------------------------
430436
constructor(scope: Construct, id: string, props: AgentProps) {
431437
super(scope, id);
438+
// Enhanced CDK Analytics Telemetry
439+
addConstructMetadata(this, props);
432440

433441
// ------------------------------------------------------
434442
// Validate props
@@ -580,6 +588,7 @@ export class Agent extends AgentBase implements IAgent {
580588
* - Lambda function invoke permissions if executor is present
581589
* - S3 GetObject permissions if apiSchema.s3File is present
582590
*/
591+
@MethodMetadata()
583592
public addActionGroup(actionGroup: AgentActionGroup) {
584593
validation.throwIfInvalid(this.validateActionGroup, actionGroup);
585594
this.actionGroups.push(actionGroup);
@@ -640,6 +649,7 @@ export class Agent extends AgentBase implements IAgent {
640649
*
641650
* @default - No collaboration configuration.
642651
*/
652+
@MethodMetadata()
643653
public addActionGroups(...actionGroups: AgentActionGroup[]) {
644654
actionGroups.forEach(ag => this.addActionGroup(ag));
645655
}

0 commit comments

Comments
 (0)