@Stability(value=Experimental) @Internal public static final class StageProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements StageProps
StagePropssoftware.amazon.jsii.JsiiObject.InitializationModeStageProps.Builder, StageProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(Environment env,
String outdir)
Constructor that initializes the object based on literal property values passed by the
StageProps.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) |
Environment |
getEnv()
(experimental) Default AWS environment (account/region) for `Stack`s in this `Stage`.
|
String |
getOutdir()
(experimental) The output directory into which to emit synthesized artifacts.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(Environment env, String outdir)
StageProps.Builder.public final Environment getEnv()
StageProps
Stacks defined inside this Stage with either region or account missing
from its env will use the corresponding field given here.
If either region or accountis is not configured for Stack (either on
the Stack itself or on the containing Stage), the Stack will be
environment-agnostic.
Environment-agnostic stacks can be deployed to any environment, may not be able to take advantage of all features of the CDK. For example, they will not be able to use environmental context lookups, will not automatically translate Service Principals to the right format based on the environment's AWS partition, and other such enhancements.
Default: - The environments should be configured on the `Stack`s.
Example:
// Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826 // Use a concrete account and region to deploy this Stage to // Use a concrete account and region to deploy this Stage to new Stage(app, "Stage1", new StageProps() .env(new Environment().account("123456789012").region("us-east-1"))); // Use the CLI's current credentials to determine the target environment // Use the CLI's current credentials to determine the target environment new Stage(app, "Stage2", new StageProps() .env(new Environment().account(process.env.getCDK_DEFAULT_ACCOUNT()).region(process.env.getCDK_DEFAULT_REGION())));
getEnv in interface StagePropspublic final String getOutdir()
StagePropsCan only be specified if this stage is the root stage (the app). If this is specified and this stage is nested within another stage, an error will be thrown.
Default: - for nested stages, outdir will be determined as a relative directory to the outdir of the app. For apps, if outdir is not specified, a temporary directory will be created.
getOutdir in interface StageProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.