@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-20T00:39:28.492Z") @Stability(value=Experimental) public class AwsCdkDeps extends Component
| Modifier and Type | Class and Description |
|---|---|
static class |
AwsCdkDeps.Builder
(experimental) A fluent builder for
AwsCdkDeps. |
| Modifier | Constructor and Description |
|---|---|
protected |
AwsCdkDeps(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
AwsCdkDeps(software.amazon.jsii.JsiiObjectRef objRef) |
|
AwsCdkDeps(Project project,
AwsCdkDepsOptions options) |
| Modifier and Type | Method and Description |
|---|---|
void |
addV1Dependencies(String... deps)
(experimental) Adds dependencies to AWS CDK modules.
|
void |
addV1DevDependencies(String... deps)
(experimental) Adds AWS CDK modules as dev dependencies.
|
Boolean |
getCdkDependenciesAsDeps()
Deprecated.
Not used for CDK 2.x
|
Number |
getCdkMajorVersion()
(experimental) The major version of the AWS CDK (e.g.
|
String |
getCdkMinimumVersion()
(experimental) The minimum version of the AWS CDK (e.g.
|
String |
getCdkVersion()
(experimental) The dependency requirement for AWS CDK (e.g.
|
getProject, postSynthesize, preSynthesize, synthesizejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected AwsCdkDeps(software.amazon.jsii.JsiiObjectRef objRef)
protected AwsCdkDeps(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public AwsCdkDeps(@NotNull
Project project,
@NotNull
AwsCdkDepsOptions options)
project - This parameter is required.options - This parameter is required.@Stability(value=Experimental)
public void addV1Dependencies(@NotNull
String... deps)
The type of dependency is determined by the dependencyType option.
This method is not supported in CDK v2. Use project.addPeerDeps() or
project.addDeps() as appropriate.
deps - names of cdk modules (e.g. `@aws-cdk/aws-lambda`). This parameter is required.@Stability(value=Experimental)
public void addV1DevDependencies(@NotNull
String... deps)
This method is not supported in CDK v2. Use project.addPeerDeps() or
project.addDeps() as appropriate.
deps - names of cdk modules (e.g. `@aws-cdk/aws-lambda`). This parameter is required.@Stability(value=Deprecated) @Deprecated @NotNull public Boolean getCdkDependenciesAsDeps()
@Stability(value=Experimental) @NotNull public Number getCdkMajorVersion()
@Stability(value=Experimental) @NotNull public String getCdkMinimumVersion()
@Stability(value=Experimental) @NotNull public String getCdkVersion()
Copyright © 2021. All rights reserved.