Interface AwsCdkDepsCommonOptions
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
AwsCdkConstructLibraryOptions,AwsCdkDepsOptions,AwsCdkJavaAppOptions,AwsCdkPythonAppOptions,AwsCdkTypeScriptAppOptions,ConstructLibraryAwsOptions
- All Known Implementing Classes:
AwsCdkConstructLibraryOptions.Jsii$Proxy,AwsCdkDepsCommonOptions.Jsii$Proxy,AwsCdkDepsOptions.Jsii$Proxy,AwsCdkJavaAppOptions.Jsii$Proxy,AwsCdkPythonAppOptions.Jsii$Proxy,AwsCdkTypeScriptAppOptions.Jsii$Proxy,ConstructLibraryAwsOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.96.0 (build 921e240)", date="2024-03-28T21:16:42.862Z") @Stability(Experimental) public interface AwsCdkDepsCommonOptions extends software.amazon.jsii.JsiiSerializable
(experimental) Options forAwsCdkDeps.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classAwsCdkDepsCommonOptions.BuilderA builder forAwsCdkDepsCommonOptionsstatic classAwsCdkDepsCommonOptions.Jsii$ProxyAn implementation forAwsCdkDepsCommonOptions
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description static AwsCdkDepsCommonOptions.Builderbuilder()default BooleangetCdkAssert()Deprecated.Thedefault BooleangetCdkAssertions()(experimental) Install the assertions library?default List<String>getCdkDependencies()Deprecated.For CDK 2.x use "deps" instead.default BooleangetCdkDependenciesAsDeps()Deprecated.Not supported in CDK v2.default List<String>getCdkTestDependencies()Deprecated.For CDK 2.x use 'devDeps' (in node.js projects) or 'testDeps' (in java projects) insteadStringgetCdkVersion()(experimental) Minimum version of the AWS CDK to depend on.default BooleangetCdkVersionPinning()(experimental) Use pinned version instead of caret version for CDK.default StringgetConstructsVersion()(experimental) Minimum version of theconstructslibrary to depend on.
-
-
-
Method Detail
-
getCdkVersion
@Stability(Experimental) @NotNull String getCdkVersion()
(experimental) Minimum version of the AWS CDK to depend on.Default: "2.1.0"
-
getCdkAssert
@Stability(Deprecated) @Deprecated @Nullable default Boolean getCdkAssert()
Deprecated.The(deprecated) Warning: NodeJS only.Install the
Default: - will be included by default for AWS CDK >= 1.0.0 < 2.0.0
-
getCdkAssertions
@Stability(Experimental) @Nullable default Boolean getCdkAssertions()
(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
-
getCdkDependencies
@Stability(Deprecated) @Deprecated @Nullable default List<String> getCdkDependencies()
Deprecated.For CDK 2.x use "deps" instead. (or "peerDeps" if you're building a library)(deprecated) Which AWS CDKv1 modules this project requires.
-
getCdkDependenciesAsDeps
@Stability(Deprecated) @Deprecated @Nullable default Boolean getCdkDependenciesAsDeps()
Deprecated.Not supported in CDK v2.(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
-
getCdkTestDependencies
@Stability(Deprecated) @Deprecated @Nullable default List<String> getCdkTestDependencies()
Deprecated.For CDK 2.x use 'devDeps' (in node.js projects) or 'testDeps' (in java projects) instead(deprecated) AWS CDK modules required for testing.
-
getCdkVersionPinning
@Stability(Experimental) @Nullable default Boolean getCdkVersionPinning()
(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.
-
getConstructsVersion
@Stability(Experimental) @Nullable default String getConstructsVersion()
(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".
-
builder
@Stability(Experimental) static AwsCdkDepsCommonOptions.Builder builder()
- Returns:
- a
AwsCdkDepsCommonOptions.BuilderofAwsCdkDepsCommonOptions
-
-