A construct which represents an entire CDK app. This construct is normally the root of the construct tree.
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.
new App(props?: App<wbr>Props)
App— initialization properties.
Initializes a CDK application.
|node||Construct tree node which offers APIs for interacting with the construct tree.|
Construct tree node which offers APIs for interacting with the construct tree.
|synth()||Synthesizes a cloud assembly for this app.|
|to||Returns a string representation of this construct.|
|static is||Checks if an object is an instance of the |
public synth(): Cloud<wbr>Assembly
Synthesizes a cloud assembly for this app.
Emits it to the directory
public toString(): string
Returns a string representation of this construct.
public static isApp(obj: any): boolean
any— The object to evaluate.
Checks if an object is an instance of the