| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
AppProps.Builder |
analyticsReporting(Boolean analyticsReporting)
Sets the value of
AppProps.getAnalyticsReporting() |
AppProps.Builder |
autoSynth(Boolean autoSynth)
Sets the value of
AppProps.getAutoSynth() |
AppProps |
build()
Builds the configured instance.
|
AppProps.Builder |
context(Map<String,? extends Object> context)
Sets the value of
AppProps.getContext() |
AppProps.Builder |
outdir(String outdir)
Sets the value of
AppProps.getOutdir() |
AppProps.Builder |
stackTraces(Boolean stackTraces)
Sets the value of
AppProps.getStackTraces() |
AppProps.Builder |
treeMetadata(Boolean treeMetadata)
Sets the value of
AppProps.getTreeMetadata() |
@Stability(value=Experimental) public AppProps.Builder analyticsReporting(Boolean analyticsReporting)
AppProps.getAnalyticsReporting()analyticsReporting - Include runtime versioning information in the Stacks of this app.this@Stability(value=Experimental) public AppProps.Builder autoSynth(Boolean autoSynth)
AppProps.getAutoSynth()autoSynth - Automatically call `synth()` before the program exits.
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.this@Stability(value=Experimental) public AppProps.Builder context(Map<String,? extends Object> context)
AppProps.getContext()context - Additional context values for the application.
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).
this@Stability(value=Experimental) public AppProps.Builder outdir(String outdir)
AppProps.getOutdir()outdir - The output directory into which to emit synthesized artifacts.this@Stability(value=Experimental) public AppProps.Builder stackTraces(Boolean stackTraces)
AppProps.getStackTraces()stackTraces - Include construct creation stack trace in the `aws:cdk:trace` metadata key of all constructs.this@Stability(value=Experimental) public AppProps.Builder treeMetadata(Boolean treeMetadata)
AppProps.getTreeMetadata()treeMetadata - Include construct tree metadata as part of the Cloud Assembly.this@Stability(value=Experimental) public AppProps build()
build in interface software.amazon.jsii.Builder<AppProps>AppPropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.