UNPKG

@alicloud/ros-cdk-cxapi

Version:

Aliyun SDK Copyright (C) Alibaba Cloud Computing All rights reserved. http://www.aliyun.com

42 lines (41 loc) 1.83 kB
/** * If this is set, multiple stacks can use the same stack name (e.g. deployed to * different environments). This means that the name of the synthesized template * file will be based on the construct path and not on the defined `stackName` * of the stack. * * This is a "future flag": the feature is disabled by default for backwards * compatibility, but new projects created using `cdk init` will have this * enabled through the generated `cdk.json`. */ export declare const ENABLE_STACK_NAME_DUPLICATES_CONTEXT = "ros-cdk:enableStackNameDuplicates"; /** * IF this is set, `cdk diff` will always exit with 0. * * Use `cdk diff --fail` to exit with 1 if there's a diff. */ export declare const ENABLE_DIFF_NO_FAIL_CONTEXT = "ros-cdk:enableDiffNoFail"; /** @deprecated use `ENABLE_DIFF_NO_FAIL_CONTEXT` */ export declare const ENABLE_DIFF_NO_FAIL = "ros-cdk:enableDiffNoFail"; /** * Switch to new stack synthesis method which enable CI/CD */ export declare const NEW_STYLE_STACK_SYNTHESIS_CONTEXT = "ros-cdk:newStyleStackSynthesis"; /** * This map includes context keys and values for feature flags that enable * capabilities "from the future", which we could not introduce as the default * behavior due to backwards compatibility for existing projects. * * New projects generated through `cdk init` will include these flags in their * generated `cdk.json` file. * * When we release the next major version of the CDK, we will flip the logic of * these features and clean up the `cdk.json` generated by `cdk init`. * * Tests must cover the default (disabled) case and the future (enabled) case. */ export declare const FUTURE_FLAGS: { "ros-cdk:enableStackNameDuplicates": string; "ros-cdk:enableDiffNoFail": string; }; export declare const DOCKER_IGNORE_SUPPORT = "ros-cdk:dockerIgnoreSupport";