Class AwsCdkDepsCommonOptions.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- io.github.cdklabs.projen.awscdk.AwsCdkDepsCommonOptions.Jsii$Proxy
-
- All Implemented Interfaces:
AwsCdkDepsCommonOptions,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- AwsCdkDepsCommonOptions
@Stability(Experimental) @Internal public static final class AwsCdkDepsCommonOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements AwsCdkDepsCommonOptions
An implementation forAwsCdkDepsCommonOptions
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface io.github.cdklabs.projen.awscdk.AwsCdkDepsCommonOptions
AwsCdkDepsCommonOptions.Builder, AwsCdkDepsCommonOptions.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(AwsCdkDepsCommonOptions.Builder builder)Constructor that initializes the object based on literal property values passed by theAwsCdkDepsCommonOptions.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)BooleangetCdkAssert()(deprecated) Warning: NodeJS only.BooleangetCdkAssertions()(experimental) Install the assertions library?List<String>getCdkDependencies()(deprecated) Which AWS CDKv1 modules this project requires.BooleangetCdkDependenciesAsDeps()(deprecated) If this is enabled (default), all modules declared incdkDependencieswill be also added as normaldependencies(as well aspeerDependencies).List<String>getCdkTestDependencies()(deprecated) AWS CDK modules required for testing.StringgetCdkVersion()(experimental) Minimum version of the AWS CDK to depend on.BooleangetCdkVersionPinning()(experimental) Use pinned version instead of caret version for CDK.StringgetConstructsVersion()(experimental) Minimum version of theconstructslibrary to depend on.inthashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(AwsCdkDepsCommonOptions.Builder builder)
Constructor that initializes the object based on literal property values passed by theAwsCdkDepsCommonOptions.Builder.
-
-
Method Detail
-
getCdkVersion
public final String getCdkVersion()
Description copied from interface:AwsCdkDepsCommonOptions(experimental) Minimum version of the AWS CDK to depend on.Default: "2.1.0"
- Specified by:
getCdkVersionin interfaceAwsCdkDepsCommonOptions
-
getCdkAssert
public final Boolean getCdkAssert()
Description copied from interface:AwsCdkDepsCommonOptions(deprecated) Warning: NodeJS only.Install the
Default: - will be included by default for AWS CDK >= 1.0.0 < 2.0.0
- Specified by:
getCdkAssertin interfaceAwsCdkDepsCommonOptions
-
getCdkAssertions
public final Boolean getCdkAssertions()
Description copied from interface:AwsCdkDepsCommonOptions(experimental) Install the assertions library?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
- Specified by:
getCdkAssertionsin interfaceAwsCdkDepsCommonOptions
-
getCdkDependencies
public final List<String> getCdkDependencies()
Description copied from interface:AwsCdkDepsCommonOptions(deprecated) Which AWS CDKv1 modules this project requires.- Specified by:
getCdkDependenciesin interfaceAwsCdkDepsCommonOptions
-
getCdkDependenciesAsDeps
public final Boolean getCdkDependenciesAsDeps()
Description copied from interface:AwsCdkDepsCommonOptions(deprecated) If this is enabled (default), all modules declared incdkDependencieswill be also added as normaldependencies(as well aspeerDependencies).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,
cdkDependencieswill be added todevDependenciesto ensure they are present during development.Note: this setting only applies to construct library projects
Default: true
- Specified by:
getCdkDependenciesAsDepsin interfaceAwsCdkDepsCommonOptions
-
getCdkTestDependencies
public final List<String> getCdkTestDependencies()
Description copied from interface:AwsCdkDepsCommonOptions(deprecated) AWS CDK modules required for testing.- Specified by:
getCdkTestDependenciesin interfaceAwsCdkDepsCommonOptions
-
getCdkVersionPinning
public final Boolean getCdkVersionPinning()
Description copied from interface:AwsCdkDepsCommonOptions(experimental) Use pinned version instead of caret version for CDK.You can use this to prevent mixed 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.
- Specified by:
getCdkVersionPinningin interfaceAwsCdkDepsCommonOptions
-
getConstructsVersion
public final String getConstructsVersion()
Description copied from interface:AwsCdkDepsCommonOptions(experimental) Minimum version of theconstructslibrary to depend on.Default: - for CDK 1.x the default is "3.2.27", for CDK 2.x the default is "10.0.5".
- Specified by:
getConstructsVersionin interfaceAwsCdkDepsCommonOptions
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-