Class AppProps.Jsii$Proxy
- All Implemented Interfaces:
AppProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
AppProps
AppProps-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.AppProps
AppProps.Builder, AppProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(AppProps.Builder builder) Constructor that initializes the object based on literal property values passed by theAppProps.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal BooleanInclude runtime versioning information in the Stacks of this app.final BooleanAutomatically callsynth()before the program exits.Additional context values for the application.The stack synthesizer to use by default for all Stacks in the App.final StringThe output directory into which to emit synthesized artifacts.final List<IPolicyValidationPluginBeta1> Validation plugins to run after synthesis.Additional context values for the application.final List<IPropertyInjector> A list of IPropertyInjector attached to this App.final BooleanInclude construct creation stack trace in theaws:cdk:tracemetadata key of all constructs.final BooleanInclude construct tree metadata as part of the Cloud Assembly.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theAppProps.Builder.
-
-
Method Details
-
getAnalyticsReporting
Description copied from interface:AppPropsInclude runtime versioning information in the Stacks of this app.Default: Value of 'aws:cdk:version-reporting' context key
- Specified by:
getAnalyticsReportingin interfaceAppProps
-
getAutoSynth
Description copied from interface:AppPropsAutomatically callsynth()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 callingsynth()is still recommended.Default: true if running via CDK CLI (`CDK_OUTDIR` is set), `false` otherwise
- Specified by:
getAutoSynthin interfaceAppProps
-
getContext
Description copied from interface:AppPropsAdditional context values for the application.Context set by the CLI or the
contextkey incdk.jsonhas precedence.Context can be read from any construct using
node.getContext(key).Default: - no additional context
- Specified by:
getContextin interfaceAppProps
-
getDefaultStackSynthesizer
Description copied from interface:AppPropsThe stack synthesizer to use by default for all Stacks in the App.The Stack Synthesizer controls aspects of synthesis and deployment, like how assets are referenced and what IAM roles to use. For more information, see the README of the main CDK package.
Default: - A `DefaultStackSynthesizer` with default settings
- Specified by:
getDefaultStackSynthesizerin interfaceAppProps
-
getOutdir
Description copied from interface:AppPropsThe 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
--outputflag 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.
-
getPolicyValidationBeta1
Description copied from interface:AppPropsValidation plugins to run after synthesis.Default: - no validation plugins
- Specified by:
getPolicyValidationBeta1in interfaceAppProps
-
getPostCliContext
Description copied from interface:AppPropsAdditional context values for the application.Context provided here has precedence over context set by:
- The CLI via --context
- The
contextkey incdk.json - The
AppProps.contextproperty
This property is recommended over the
AppProps.contextproperty since you can make final decision over which context value to take in your app.Context can be read from any construct using
node.getContext(key).Default: - no additional context
Example:
// context from the CLI and from `cdk.json` are stored in the // CDK_CONTEXT env variable Object cliContext = JSON.parse(process.getEnv().getCDK_CONTEXT()); // determine whether to take the context passed in the CLI or not Object determineValue = process.env.PROD ? cliContext.SOMEKEY : 'my-prod-value'; App.Builder.create() .postCliContext(Map.of( "SOMEKEY", determineValue)) .build();- Specified by:
getPostCliContextin interfaceAppProps
-
getPropertyInjectors
Description copied from interface:AppPropsA list of IPropertyInjector attached to this App.Default: - no PropertyInjectors
- Specified by:
getPropertyInjectorsin interfaceAppProps
-
getStackTraces
Description copied from interface:AppPropsInclude construct creation stack trace in theaws:cdk:tracemetadata key of all constructs.Default: true stack traces are included unless `aws:cdk:disable-stack-trace` is set in the context.
- Specified by:
getStackTracesin interfaceAppProps
-
getTreeMetadata
Description copied from interface:AppPropsInclude construct tree metadata as part of the Cloud Assembly.Default: true
- Specified by:
getTreeMetadatain interfaceAppProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-