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

software.amazon.awscdk.App Maven / Gradle / Ivy

There is a newer version: 0.36.1
Show newest version
package software.amazon.awscdk;

/**
 * Represents a CDK program.
 */
@javax.annotation.Generated(value = "jsii-pacmak/0.10.5 (build 46bc9b0)", date = "2019-05-06T20:49:40.927Z")
@software.amazon.jsii.Jsii(module = software.amazon.awscdk.$Module.class, fqn = "@aws-cdk/cdk.App")
public class App extends software.amazon.awscdk.Construct {
    protected App(final software.amazon.jsii.JsiiObject.InitializationMode mode) {
        super(mode);
    }
    /**
     * Initializes a CDK application.
     */
    public App(@javax.annotation.Nullable final software.amazon.awscdk.AppProps props) {
        super(software.amazon.jsii.JsiiObject.InitializationMode.Jsii);
        software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { props });
    }
    /**
     * Initializes a CDK application.
     */
    public App() {
        super(software.amazon.jsii.JsiiObject.InitializationMode.Jsii);
        software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this);
    }

    /**
     * Runs the program.
     * 
     * Output is written to output directory as specified in the request.
     */
    public software.amazon.awscdk.ISynthesisSession run() {
        return this.jsiiCall("run", software.amazon.awscdk.ISynthesisSession.class);
    }

    /**
     * Synthesize and validate a single stack.
     * 
     * @deprecated This method is going to be deprecated in a future version of the CDK
     * @param stackName The name of the stack to synthesize.
     */
    public software.amazon.awscdk.cxapi.SynthesizedStack synthesizeStack(final java.lang.String stackName) {
        return this.jsiiCall("synthesizeStack", software.amazon.awscdk.cxapi.SynthesizedStack.class, new Object[] { java.util.Objects.requireNonNull(stackName, "stackName is required") });
    }

    /**
     * Synthesizes multiple stacks.
     * 
     * @deprecated This method is going to be deprecated in a future version of the CDK
     */
    public java.util.List synthesizeStacks(final java.util.List stackNames) {
        return this.jsiiCall("synthesizeStacks", java.util.List.class, new Object[] { java.util.Objects.requireNonNull(stackNames, "stackNames is required") });
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy