Skip to content
Merged
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
12 changes: 11 additions & 1 deletion packages/aws-cdk-lib/cx-api/lib/cxapi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ export const DEFAULT_ACCOUNT_ENV = 'CDK_DEFAULT_ACCOUNT';
export const DEFAULT_REGION_ENV = 'CDK_DEFAULT_REGION';

/**
* Version of Cloud Assembly expected by CDK CLI.
* Version of Cloud Assembly expected by CDK Toolkit.
*
* Despite it's name, this value applies to all version of the CDK Toolkit, not just the CLI.
*
* CLI started emitting this at 1.10.1
*/
Expand All @@ -30,9 +32,17 @@ export const CLI_ASM_VERSION_ENV = 'CDK_CLI_ASM_VERSION';
* Version of the CLI currently running.
*
* CLI started emitting this at 1.10.1
* Will not be present if the CDK app is run by any Toolkit variation other than the CLI.
*/
export const CLI_VERSION_ENV = 'CDK_CLI_VERSION';

/**
* Package & version of the CDK Toolkit running the app.
*
* In the format "<package>@x.y.z", e.g "[email protected]" or "@aws-cdk/[email protected]"
*/
export const TOOLKIT_VERSION_ENV = 'CDK_TOOLKIT_VERSION';

/**
* If a context value is an object with this key, it indicates an error
*/
Expand Down