@Generated(value="jsii-pacmak/1.4.1 (build 0b09d7b)", date="2020-04-28T11:03:57.220Z") @Stability(value=Stable) public class App extends Construct
You would normally define an App instance in your program's entrypoint,
then define constructs where the app is used as the parent scope.
After all the child constructs are defined within the app, you should call
app.synth() which will emit a "cloud assembly" from this app into the
directory specified by outdir. Cloud assemblies includes artifacts such as
CloudFormation templates and assets that are needed to deploy this app into
the AWS cloud.
https://docs.aws.amazon.com/cdk/latest/guide/apps.html| Modifier and Type | Class and Description |
|---|---|
static class |
App.Builder
A fluent builder for
App. |
software.amazon.jsii.JsiiObject.InitializationModeIConstruct.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
App()
Initializes a CDK application.
|
|
App(AppProps props)
Initializes a CDK application.
|
protected |
App(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
App(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
static Boolean |
isApp(Object obj)
Checks if an object is an instance of the `App` class.
|
protected void |
prepare()
Perform final modifications before synthesis.
|
CloudAssembly |
synth()
Synthesizes a cloud assembly for this app.
|
getNode, isConstruct, onPrepare, onSynthesize, onValidate, synthesize, validatejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSetprotected App(software.amazon.jsii.JsiiObjectRef objRef)
protected App(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public App(@Nullable
AppProps props)
props - initialization properties.@Stability(value=Stable) public App()
@Stability(value=Stable) @NotNull public static Boolean isApp(@NotNull Object obj)
obj - The object to evaluate. This parameter is required.@Stability(value=Stable) protected void prepare()
This method can be implemented by derived constructs in order to perform final changes before synthesis. prepare() will be called after child constructs have been prepared.
This is an advanced framework feature. Only use this if you understand the implications.
@Stability(value=Stable) @NotNull public CloudAssembly synth()
Emits it to the directory
specified by outdir.
Copyright © 2020. All rights reserved.