software.amazon.jsii.JsiiObject.InitializationModeAppProps.Builder, AppProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(AppProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
AppProps.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Boolean |
getAnalyticsReporting()
Include runtime versioning information in the Stacks of this app.
|
Boolean |
getAutoSynth()
Automatically call `synth()` before the program exits.
|
Map<String,Object> |
getContext()
Additional context values for the application.
|
String |
getOutdir()
The output directory into which to emit synthesized artifacts.
|
Boolean |
getStackTraces()
Include construct creation stack trace in the `aws:cdk:trace` metadata key of all constructs.
|
Boolean |
getTreeMetadata()
Include construct tree metadata as part of the Cloud Assembly.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(AppProps.Builder builder)
AppProps.Builder.public final Boolean getAnalyticsReporting()
AppPropsDefault: Value of 'aws:cdk:version-reporting' context key
getAnalyticsReporting in interface AppPropspublic final Boolean getAutoSynth()
AppProps
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.
Default: true if running via CDK CLI (`CDK_OUTDIR` is set), `false` otherwise
getAutoSynth in interface AppPropspublic final Map<String,Object> getContext()
AppProps
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).
Default: - no additional context
getContext in interface AppPropspublic final String getOutdir()
AppProps
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.
Default: - If this value is _not_ set, considers the environment variable `CDK_OUTDIR`. If `CDK_OUTDIR` is not defined, uses a temp directory.
public final Boolean getStackTraces()
AppPropsDefault: true stack traces are included unless `aws:cdk:disable-stack-trace` is set in the context.
getStackTraces in interface AppPropspublic final Boolean getTreeMetadata()
AppPropsDefault: true
getTreeMetadata in interface AppProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.