io.github.cdklabs.projen.awscdk.AwsCdkConstructLibrary Maven / Gradle / Ivy
Show all versions of projen Show documentation
package io.github.cdklabs.projen.awscdk;
/**
* (experimental) AWS CDK construct library project.
*
* A multi-language (jsii) construct library which vends constructs designed to
* use within the AWS CDK with a friendly workflow and automatic publishing to
* the construct catalog.
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.105.0 (build 0a2adcb)", date = "2024-11-15T17:03:54.879Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@software.amazon.jsii.Jsii(module = io.github.cdklabs.projen.$Module.class, fqn = "projen.awscdk.AwsCdkConstructLibrary")
public class AwsCdkConstructLibrary extends io.github.cdklabs.projen.cdk.ConstructLibrary {
protected AwsCdkConstructLibrary(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
}
protected AwsCdkConstructLibrary(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) {
super(initializationMode);
}
/**
* @param options This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public AwsCdkConstructLibrary(final @org.jetbrains.annotations.NotNull io.github.cdklabs.projen.awscdk.AwsCdkConstructLibraryOptions options) {
super(software.amazon.jsii.JsiiObject.InitializationMode.JSII);
software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(options, "options is required") });
}
/**
* (deprecated) Adds dependencies to AWS CDK modules.
*
* Since this is a library project, dependencies will be added as peer dependencies.
*
* @deprecated Not supported in v2. For v1, use project.cdkDeps.addV1Dependencies()
* @param deps names of cdk modules (e.g. @aws-cdk/aws-lambda
). This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated)
@Deprecated
public void addCdkDependencies(final @org.jetbrains.annotations.NotNull java.lang.String... deps) {
software.amazon.jsii.Kernel.call(this, "addCdkDependencies", software.amazon.jsii.NativeType.VOID, java.util.Arrays.