forked from aws/aws-cdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcxapi.ts
More file actions
44 lines (38 loc) · 1.39 KB
/
cxapi.ts
File metadata and controls
44 lines (38 loc) · 1.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
// output directory into which to emit synthesis outputs. CDK doesn't allow outdir
// to be specified both through the CDK_OUTDIR environment variable and the through
// aws:cdk:outdir context.
export const OUTDIR_ENV = 'CDK_OUTDIR';
export const CONTEXT_ENV = 'CDK_CONTEXT_JSON';
/**
* The name of the temporary file where the context is stored.
*/
export const CONTEXT_OVERFLOW_LOCATION_ENV = 'CONTEXT_OVERFLOW_LOCATION_ENV';
/**
* Environment variable set by the CDK CLI with the default AWS account ID.
*/
export const DEFAULT_ACCOUNT_ENV = 'CDK_DEFAULT_ACCOUNT';
/**
* Environment variable set by the CDK CLI with the default AWS region.
*/
export const DEFAULT_REGION_ENV = 'CDK_DEFAULT_REGION';
/**
* Version of Cloud Assembly expected by CDK Toolkit.
*
* Despite its name, this value applies to all version of the CDK Toolkit, not just the CLI.
*
* CLI started emitting this at 1.10.1
*/
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 "aws-cdk@2.1006.0" or "@aws-cdk/toolkit-lib@1.0.0"
*/
export const TOOLKIT_VERSION_ENV = 'CDK_TOOLKIT_VERSION';