Skip to content

Commit 7c6914a

Browse files
authored
2 parents aac81c9 + f0ac19c commit 7c6914a

File tree

9 files changed

+320
-7
lines changed

9 files changed

+320
-7
lines changed

CHANGELOG.v2.alpha.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
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.231.0-alpha.0](https://github.com/aws/aws-cdk/compare/v2.230.0-alpha.0...v2.231.0-alpha.0) (2025-12-01)
6+
7+
8+
### Features
9+
10+
* **glue-alpha:** support Glue Version 5.1 ([#36223](https://github.com/aws/aws-cdk/issues/36223)) ([b956492](https://github.com/aws/aws-cdk/commit/b9564923ee1136e7b680115a2983ad317b0c30fb))
11+
* **imagebuilder-alpha:** add support for Image Construct ([#36154](https://github.com/aws/aws-cdk/issues/36154)) ([eee3ae6](https://github.com/aws/aws-cdk/commit/eee3ae6a55ff632012c19c384bb11e91b820bcc3)), closes [aws/aws-cdk-rfcs#789](https://github.com/aws/aws-cdk-rfcs/issues/789) [aws/aws-cdk-rfcs#789](https://github.com/aws/aws-cdk-rfcs/issues/789)
12+
513
## [2.230.0-alpha.0](https://github.com/aws/aws-cdk/compare/v2.229.1-alpha.0...v2.230.0-alpha.0) (2025-11-26)
614

715

CHANGELOG.v2.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,23 @@
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.231.0](https://github.com/aws/aws-cdk/compare/v2.230.0...v2.231.0) (2025-12-01)
6+
7+
8+
### Features
9+
10+
* **lambda:** support for capacity providers ([#36255](https://github.com/aws/aws-cdk/issues/36255)) ([2e4c1cf](https://github.com/aws/aws-cdk/commit/2e4c1cfd461de82e837238ab80eb0be22e9ec4b6))
11+
* update L1 CloudFormation resource definitions ([#36253](https://github.com/aws/aws-cdk/issues/36253)) ([8410b13](https://github.com/aws/aws-cdk/commit/8410b1392b9e634282dd56e47b4778304c1afa32))
12+
* **aws-cdk-lib:** add `arnFor<ResourceName>` for 47 more resources ([#36231](https://github.com/aws/aws-cdk/issues/36231)) ([5a8be4f](https://github.com/aws/aws-cdk/commit/5a8be4f22b24b0c0ae72a0cf4f5152c678a19029))
13+
* **aws-cdk-lib:** all L1s now have a `isCfn<ResourceName>` static helper to check if a value is this L1 resource ([#36243](https://github.com/aws/aws-cdk/issues/36243)) ([dc9db9b](https://github.com/aws/aws-cdk/commit/dc9db9b83d9ff629e4b047da90fbb15935a623ca))
14+
* **ec2:** expose EC2 instance MetadataOptions ([#35369](https://github.com/aws/aws-cdk/issues/35369)) ([4056e14](https://github.com/aws/aws-cdk/commit/4056e14105f88c27799b00f0eea1f1b671c5b8c8)), closes [#35357](https://github.com/aws/aws-cdk/issues/35357)
15+
16+
17+
### Bug Fixes
18+
19+
* **dynamodb:** unsupported actions added to table resource policy ([#36228](https://github.com/aws/aws-cdk/issues/36228)) ([10de047](https://github.com/aws/aws-cdk/commit/10de0470215a6d211983b1457218914bb3c3c388)), closes [#32230](https://github.com/aws/aws-cdk/issues/32230)
20+
21+
522
## [2.230.0](https://github.com/aws/aws-cdk/compare/v2.229.1...v2.230.0) (2025-11-26)
623

724

packages/@aws-cdk/aws-imagebuilder-alpha/lib/image.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import * as ecr from 'aws-cdk-lib/aws-ecr';
33
import * as iam from 'aws-cdk-lib/aws-iam';
44
import { CfnImage } from 'aws-cdk-lib/aws-imagebuilder';
55
import * as logs from 'aws-cdk-lib/aws-logs';
6+
import { addConstructMetadata, MethodMetadata } from 'aws-cdk-lib/core/lib/metadata-resource';
67
import { propertyInjectable } from 'aws-cdk-lib/core/lib/prop-injectable';
78
import { Construct } from 'constructs';
89
import { BaseContainerImage, BaseImage } from './base-image';
@@ -429,6 +430,8 @@ export class Image extends ImageBase {
429430

430431
public constructor(scope: Construct, id: string, props: ImageProps) {
431432
super(scope, id);
433+
// Enhanced CDK Analytics Telemetry
434+
addConstructMetadata(this, props);
432435

433436
Object.defineProperty(this, IMAGE_SYMBOL, { value: true });
434437

@@ -467,6 +470,7 @@ export class Image extends ImageBase {
467470
*
468471
* @param grantee The execution role used for the image build.
469472
*/
473+
@MethodMetadata()
470474
public grantDefaultExecutionRolePermissions(grantee: iam.IGrantable): iam.Grant[] {
471475
const policies = defaultExecutionRolePolicy(this, this.props);
472476
return policies.map((policy) =>

packages/aws-cdk-lib/aws-lambda/lib/capacity-provider.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ import * as ec2 from '../../aws-ec2';
66
import * as iam from '../../aws-iam';
77
import * as kms from '../../aws-kms';
88
import { Annotations, Arn, ArnFormat, IResource, Resource, Stack, ValidationError } from '../../core';
9-
import { addConstructMetadata } from '../../core/lib/metadata-resource';
9+
import { addConstructMetadata, MethodMetadata } from '../../core/lib/metadata-resource';
10+
import { propertyInjectable } from '../../core/lib/prop-injectable';
1011

1112
/**
1213
* Represents a Lambda capacity provider.
@@ -314,7 +315,11 @@ export interface LatestPublishedScalingConfig {
314315
/**
315316
* A Lambda capacity provider that manages compute resources for Lambda functions.
316317
*/
318+
@propertyInjectable
317319
export class CapacityProvider extends CapacityProviderBase {
320+
/** Uniquely identifies this class. */
321+
public static readonly PROPERTY_INJECTION_ID: string = 'aws-cdk-lib.aws-lambda.CapacityProvider';
322+
318323
/**
319324
* Import an existing capacity provider by name.
320325
*
@@ -503,6 +508,7 @@ export class CapacityProvider extends CapacityProviderBase {
503508
* @param func The Lambda function to configure
504509
* @param options Optional configuration for the function's capacity provider settings
505510
*/
511+
@MethodMetadata()
506512
public addFunction(func: IFunction, options?: CapacityProviderFunctionOptions): void {
507513
Annotations.of(func).addInfoV2('aws-lambda:Function.CapacityProviderConfiguration', 'Capacity provider configuration cannot be removed from a function, only modified.');
508514

0 commit comments

Comments
 (0)