@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-20T00:39:28.494Z") @Stability(value=Experimental) public interface AwsCdkDepsCommonOptions extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
AwsCdkDepsCommonOptions.Builder
A builder for
AwsCdkDepsCommonOptions |
static class |
AwsCdkDepsCommonOptions.Jsii$Proxy
An implementation for
AwsCdkDepsCommonOptions |
| Modifier and Type | Method and Description |
|---|---|
static AwsCdkDepsCommonOptions.Builder |
builder() |
default Boolean |
getCdkAssert()
Deprecated.
The
|
default Boolean |
getCdkAssertions()
(experimental) Install the @aws-cdk/assertions library?
|
default List<String> |
getCdkDependencies()
Deprecated.
For CDK 2.x use 'peerDeps' instead
|
default Boolean |
getCdkDependenciesAsDeps()
Deprecated.
Not supported in CDK v2.
|
default List<String> |
getCdkTestDependencies()
Deprecated.
For CDK 2.x use 'devDeps' instead
|
String |
getCdkVersion()
(experimental) Minimum version of the AWS CDK to depend on.
|
default Boolean |
getCdkVersionPinning()
(experimental) Use pinned version instead of caret version for CDK.
|
default String |
getConstructsVersion()
(experimental) Minimum version of the `constructs` library to depend on.
|
@Stability(value=Experimental) @NotNull String getCdkVersion()
Default: "2.1.0"
@Stability(value=Deprecated) @Deprecated @Nullable default Boolean getCdkAssert()
Default: - will be included by default for AWS CDK >= 1.0.0 < 2.0.0
@Stability(value=Experimental) @Nullable default Boolean getCdkAssertions()
Only needed for CDK 1.x. If using CDK 2.x then assertions is already included in 'aws-cdk-lib'
Default: - will be included by default for AWS CDK >= 1.111.0 < 2.0.0
@Stability(value=Deprecated) @Deprecated @Nullable default List<String> getCdkDependencies()
@Stability(value=Deprecated) @Deprecated @Nullable default Boolean getCdkDependenciesAsDeps()
This is to ensure that downstream consumers actually have your CDK dependencies installed
when using npm < 7 or yarn, where peer dependencies are not automatically installed.
If this is disabled, cdkDependencies will be added to devDependencies to ensure
they are present during development.
Default: true
@Stability(value=Deprecated) @Deprecated @Nullable default List<String> getCdkTestDependencies()
@Stability(value=Experimental) @Nullable default Boolean getCdkVersionPinning()
You can use this to prevent yarn to mix versions for your CDK dependencies and to prevent auto-updates. If you use experimental features this will let you define the moment you include breaking changes.
@Stability(value=Experimental) @Nullable default String getConstructsVersion()
Default: - for CDK 1.x the default is "3.2.27", for CDK 2.x the default is "10.0.5".
@Stability(value=Experimental) static AwsCdkDepsCommonOptions.Builder builder()
AwsCdkDepsCommonOptions.Builder of AwsCdkDepsCommonOptionsCopyright © 2021. All rights reserved.