| 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=Stable) public AppProps.Builder analyticsReporting(Boolean analyticsReporting)
AppProps.getAnalyticsReporting()analyticsReporting - Include runtime versioning information in the Stacks of this app.this@Stability(value=Stable) 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=Stable) 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=Stable) public AppProps.Builder outdir(String outdir)
AppProps.getOutdir()outdir - The output directory into which to emit synthesized artifacts.
You should never need to set this value. By default, the value you pass to
the CLI's --output flag will be used, and if you change it to a different
directory the CLI will fail to pick up the generated Cloud Assembly.
This property is intended for internal and testing use.
this@Stability(value=Stable) 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=Stable) public AppProps.Builder treeMetadata(Boolean treeMetadata)
AppProps.getTreeMetadata()treeMetadata - Include construct tree metadata as part of the Cloud Assembly.this@Stability(value=Stable) public AppProps build()
build in interface software.amazon.jsii.Builder<AppProps>AppPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.