Skip to content

Commit e825e8b

Browse files
committed
chore(cx-api): add missing documentation for feature flag
1 parent 0533dc7 commit e825e8b

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

packages/@aws-cdk/cx-api/lib/features.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,16 @@ export const EFS_DEFAULT_ENCRYPTION_AT_REST = '@aws-cdk/aws-efs:defaultEncryptio
173173
*/
174174
export const LAMBDA_RECOGNIZE_VERSION_PROPS = '@aws-cdk/aws-lambda:recognizeVersionProps';
175175

176+
/**
177+
* Enable this feature flag to opt in to the updated logical id calculation for Lambda Version created using the
178+
* `fn.currentVersion`.
179+
*
180+
* This flag correct incorporates Lambda Layer properties into the Lambda Function Version.
181+
*
182+
* See 'currentVersion' section in the aws-lambda module's README for more details.
183+
*
184+
* [PERMANENT]
185+
*/
176186
export const LAMBDA_RECOGNIZE_LAYER_VERSION = '@aws-cdk/aws-lambda:recognizeLayerVersion';
177187

178188
/**

0 commit comments

Comments
 (0)