| Modifier and Type | Method and Description |
|---|---|
App.Builder |
autoSynth(Boolean autoSynth)
Automatically call `synth()` before the program exits.
|
App |
build() |
App.Builder |
context(Map<String,String> context)
Additional context values for the application.
|
static App.Builder |
create() |
App.Builder |
outdir(String outdir)
The output directory into which to emit synthesized artifacts.
|
App.Builder |
runtimeInfo(Boolean runtimeInfo)
Include runtime versioning information in cloud assembly manifest.
|
App.Builder |
stackTraces(Boolean stackTraces)
Include construct creation stack trace in the `aws:cdk:trace` metadata key of all constructs.
|
App.Builder |
treeMetadata(Boolean treeMetadata)
Include construct tree metadata as part of the Cloud Assembly.
|
@Stability(value=Stable) public static App.Builder create()
App.Builder.@Stability(value=Stable) public App.Builder autoSynth(Boolean autoSynth)
If you set this, you don't have to call synth() explicitly. Note that
this feature is only available for certain programming languages, and
calling synth() is still recommended.
autoSynth - Automatically call `synth()` before the program exits. This parameter is required.this@Stability(value=Stable) public App.Builder context(Map<String,String> context)
Context set by the CLI or the context key in cdk.json has precedence.
Context can be read from any construct using node.getContext(key).
context - Additional context values for the application. This parameter is required.this@Stability(value=Stable) public App.Builder outdir(String outdir)
outdir - The output directory into which to emit synthesized artifacts. This parameter is required.this@Stability(value=Stable) public App.Builder runtimeInfo(Boolean runtimeInfo)
runtimeInfo - Include runtime versioning information in cloud assembly manifest. This parameter is required.this@Stability(value=Stable) public App.Builder stackTraces(Boolean stackTraces)
stackTraces - Include construct creation stack trace in the `aws:cdk:trace` metadata key of all constructs. This parameter is required.this@Stability(value=Stable) public App.Builder treeMetadata(Boolean treeMetadata)
treeMetadata - Include construct tree metadata as part of the Cloud Assembly. This parameter is required.this@Stability(value=Stable) public App build()
Copyright © 2019. All rights reserved.