@Stability(value=Experimental) @Internal public static final class AwsCdkDepsOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements AwsCdkDepsOptions
AwsCdkDepsOptionssoftware.amazon.jsii.JsiiObject.InitializationModeAwsCdkDepsOptions.Builder, AwsCdkDepsOptions.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(AwsCdkDepsOptions.Builder builder)
Constructor that initializes the object based on literal property values passed by the
AwsCdkDepsOptions.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Boolean |
getCdkAssert()
(deprecated) Install the @aws-cdk/assert library?
|
Boolean |
getCdkAssertions()
(experimental) Install the @aws-cdk/assertions library?
|
List<String> |
getCdkDependencies()
(deprecated) Which AWS CDK modules (those that start with "@aws-cdk/") does this library require when consumed?
|
Boolean |
getCdkDependenciesAsDeps()
(deprecated) If this is enabled (default), all modules declared in `cdkDependencies` will be also added as normal `dependencies` (as well as `peerDependencies`).
|
List<String> |
getCdkTestDependencies()
(deprecated) AWS CDK modules required for testing.
|
String |
getCdkVersion()
(experimental) Minimum version of the AWS CDK to depend on.
|
Boolean |
getCdkVersionPinning()
(experimental) Use pinned version instead of caret version for CDK.
|
String |
getConstructsVersion()
(experimental) Minimum version of the `constructs` library to depend on.
|
DependencyType |
getDependencyType()
(experimental) The type of dependency to use for runtime AWS CDK and `constructs` modules.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(AwsCdkDepsOptions.Builder builder)
AwsCdkDepsOptions.Builder.public final DependencyType getDependencyType()
AwsCdkDepsOptionsFor libraries, use peer dependencies and for apps use runtime dependencies.
getDependencyType in interface AwsCdkDepsOptionspublic final String getCdkVersion()
AwsCdkDepsCommonOptionsDefault: "2.1.0"
getCdkVersion in interface AwsCdkDepsCommonOptionspublic final Boolean getCdkAssert()
AwsCdkDepsCommonOptionsDefault: - will be included by default for AWS CDK >= 1.0.0 < 2.0.0
getCdkAssert in interface AwsCdkDepsCommonOptionspublic final Boolean getCdkAssertions()
AwsCdkDepsCommonOptionsOnly 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
getCdkAssertions in interface AwsCdkDepsCommonOptionspublic final List<String> getCdkDependencies()
AwsCdkDepsCommonOptionsgetCdkDependencies in interface AwsCdkDepsCommonOptionspublic final Boolean getCdkDependenciesAsDeps()
AwsCdkDepsCommonOptions
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
getCdkDependenciesAsDeps in interface AwsCdkDepsCommonOptionspublic final List<String> getCdkTestDependencies()
AwsCdkDepsCommonOptionsgetCdkTestDependencies in interface AwsCdkDepsCommonOptionspublic final Boolean getCdkVersionPinning()
AwsCdkDepsCommonOptionsYou 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.
getCdkVersionPinning in interface AwsCdkDepsCommonOptionspublic final String getConstructsVersion()
AwsCdkDepsCommonOptionsDefault: - for CDK 1.x the default is "3.2.27", for CDK 2.x the default is "10.0.5".
getConstructsVersion in interface AwsCdkDepsCommonOptions@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.