Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AppProps.Builder |
analyticsReporting(java.lang.Boolean analyticsReporting)
Sets the value of
AppProps.getAnalyticsReporting() |
AppProps.Builder |
autoSynth(java.lang.Boolean autoSynth)
Sets the value of
AppProps.getAutoSynth() |
AppProps |
build()
Builds the configured instance.
|
AppProps.Builder |
context(java.util.Map<java.lang.String,? extends java.lang.Object> context)
Sets the value of
AppProps.getContext() |
AppProps.Builder |
outdir(java.lang.String outdir)
Sets the value of
AppProps.getOutdir() |
AppProps.Builder |
runtimeInfo(java.lang.Boolean runtimeInfo)
Deprecated.
use `versionReporting` instead
|
AppProps.Builder |
stackTraces(java.lang.Boolean stackTraces)
Sets the value of
AppProps.getStackTraces() |
AppProps.Builder |
treeMetadata(java.lang.Boolean treeMetadata)
Sets the value of
AppProps.getTreeMetadata() |
public AppProps.Builder analyticsReporting(java.lang.Boolean analyticsReporting)
AppProps.getAnalyticsReporting()
analyticsReporting
- Include runtime versioning information in the Stacks of this app.this
public AppProps.Builder autoSynth(java.lang.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
public AppProps.Builder context(java.util.Map<java.lang.String,? extends java.lang.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
public AppProps.Builder outdir(java.lang.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
@Deprecated public AppProps.Builder runtimeInfo(java.lang.Boolean runtimeInfo)
AppProps.getRuntimeInfo()
runtimeInfo
- Include runtime versioning information in the Stacks of this app.this
public AppProps.Builder stackTraces(java.lang.Boolean stackTraces)
AppProps.getStackTraces()
stackTraces
- Include construct creation stack trace in the `aws:cdk:trace` metadata key of all constructs.this
public AppProps.Builder treeMetadata(java.lang.Boolean treeMetadata)
AppProps.getTreeMetadata()
treeMetadata
- Include construct tree metadata as part of the Cloud Assembly.this