All Downloads are FREE. Search and download functionalities are using the official Maven repository.

software.amazon.awscdk.cli.lib.alpha.AwsCdkCli Maven / Gradle / Ivy

package software.amazon.awscdk.cli.lib.alpha;

/**
 * (experimental) Provides a programmatic interface for interacting with the AWS CDK CLI.
 * 

* Example: *

*

 * AwsCdkCli cli = AwsCdkCli.fromCdkAppDirectory("/path/to/cdk/app");
 * 
*/ @javax.annotation.Generated(value = "jsii-pacmak/1.102.0 (build e354887)", date = "2024-08-23T05:56:25.317Z") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @software.amazon.jsii.Jsii(module = software.amazon.awscdk.cli.lib.alpha.$Module.class, fqn = "@aws-cdk/cli-lib-alpha.AwsCdkCli") public class AwsCdkCli extends software.amazon.jsii.JsiiObject implements software.amazon.awscdk.cli.lib.alpha.IAwsCdkCli { protected AwsCdkCli(final software.amazon.jsii.JsiiObjectRef objRef) { super(objRef); } protected AwsCdkCli(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) { super(initializationMode); } /** * (experimental) Create the CLI from a directory containing an AWS CDK app. *

* @return an instance of AwsCdkCli * @param directory the directory of the AWS CDK app. * @param props additional configuration properties. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static @org.jetbrains.annotations.NotNull software.amazon.awscdk.cli.lib.alpha.AwsCdkCli fromCdkAppDirectory(final @org.jetbrains.annotations.Nullable java.lang.String directory, final @org.jetbrains.annotations.Nullable software.amazon.awscdk.cli.lib.alpha.CdkAppDirectoryProps props) { return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.awscdk.cli.lib.alpha.AwsCdkCli.class, "fromCdkAppDirectory", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.cli.lib.alpha.AwsCdkCli.class), new Object[] { directory, props }); } /** * (experimental) Create the CLI from a directory containing an AWS CDK app. *

* @return an instance of AwsCdkCli * @param directory the directory of the AWS CDK app. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static @org.jetbrains.annotations.NotNull software.amazon.awscdk.cli.lib.alpha.AwsCdkCli fromCdkAppDirectory(final @org.jetbrains.annotations.Nullable java.lang.String directory) { return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.awscdk.cli.lib.alpha.AwsCdkCli.class, "fromCdkAppDirectory", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.cli.lib.alpha.AwsCdkCli.class), new Object[] { directory }); } /** * (experimental) Create the CLI from a directory containing an AWS CDK app. *

* @return an instance of AwsCdkCli */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static @org.jetbrains.annotations.NotNull software.amazon.awscdk.cli.lib.alpha.AwsCdkCli fromCdkAppDirectory() { return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.awscdk.cli.lib.alpha.AwsCdkCli.class, "fromCdkAppDirectory", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.cli.lib.alpha.AwsCdkCli.class)); } /** * (experimental) Create the CLI from a CloudAssemblyDirectoryProducer. *

* @param producer This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static @org.jetbrains.annotations.NotNull software.amazon.awscdk.cli.lib.alpha.AwsCdkCli fromCloudAssemblyDirectoryProducer(final @org.jetbrains.annotations.NotNull software.amazon.awscdk.cli.lib.alpha.ICloudAssemblyDirectoryProducer producer) { return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.awscdk.cli.lib.alpha.AwsCdkCli.class, "fromCloudAssemblyDirectoryProducer", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.cli.lib.alpha.AwsCdkCli.class), new Object[] { java.util.Objects.requireNonNull(producer, "producer is required") }); } /** * (experimental) cdk bootstrap. *

* @param options */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public void bootstrap(final @org.jetbrains.annotations.Nullable software.amazon.awscdk.cli.lib.alpha.BootstrapOptions options) { software.amazon.jsii.Kernel.asyncCall(this, "bootstrap", software.amazon.jsii.NativeType.VOID, new Object[] { options }); } /** * (experimental) cdk bootstrap. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public void bootstrap() { software.amazon.jsii.Kernel.asyncCall(this, "bootstrap", software.amazon.jsii.NativeType.VOID); } /** * (experimental) cdk deploy. *

* @param options */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public void deploy(final @org.jetbrains.annotations.Nullable software.amazon.awscdk.cli.lib.alpha.DeployOptions options) { software.amazon.jsii.Kernel.asyncCall(this, "deploy", software.amazon.jsii.NativeType.VOID, new Object[] { options }); } /** * (experimental) cdk deploy. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public void deploy() { software.amazon.jsii.Kernel.asyncCall(this, "deploy", software.amazon.jsii.NativeType.VOID); } /** * (experimental) cdk destroy. *

* @param options */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public void destroy(final @org.jetbrains.annotations.Nullable software.amazon.awscdk.cli.lib.alpha.DestroyOptions options) { software.amazon.jsii.Kernel.asyncCall(this, "destroy", software.amazon.jsii.NativeType.VOID, new Object[] { options }); } /** * (experimental) cdk destroy. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public void destroy() { software.amazon.jsii.Kernel.asyncCall(this, "destroy", software.amazon.jsii.NativeType.VOID); } /** * (experimental) cdk list. *

* @param options */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public void list(final @org.jetbrains.annotations.Nullable software.amazon.awscdk.cli.lib.alpha.ListOptions options) { software.amazon.jsii.Kernel.asyncCall(this, "list", software.amazon.jsii.NativeType.VOID, new Object[] { options }); } /** * (experimental) cdk list. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public void list() { software.amazon.jsii.Kernel.asyncCall(this, "list", software.amazon.jsii.NativeType.VOID); } /** * (experimental) cdk synth. *

* @param options */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public void synth(final @org.jetbrains.annotations.Nullable software.amazon.awscdk.cli.lib.alpha.SynthOptions options) { software.amazon.jsii.Kernel.asyncCall(this, "synth", software.amazon.jsii.NativeType.VOID, new Object[] { options }); } /** * (experimental) cdk synth. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public void synth() { software.amazon.jsii.Kernel.asyncCall(this, "synth", software.amazon.jsii.NativeType.VOID); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy