@Stability(value=Experimental) @Internal public static final class Environment.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements Environment
Environmentsoftware.amazon.jsii.JsiiObject.InitializationModeEnvironment.Builder, Environment.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(String account,
String region)
Constructor that initializes the object based on literal property values passed by the
Environment.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getAccount()
(experimental) The AWS account ID for this environment.
|
String |
getRegion()
(experimental) The AWS region for this environment.
|
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(String account, String region)
Environment.Builder.public final String getAccount()
Environment
This can be either a concrete value such as 585191031104 or Aws.accountId which
indicates that account ID will only be determined during deployment (it
will resolve to the CloudFormation intrinsic {"Ref":"AWS::AccountId"}).
Note that certain features, such as cross-stack references and
environmental context providers require concerete region information and
will cause this stack to emit synthesis errors.
Default: Aws.accountId which means that the stack will be account-agnostic.
getAccount in interface Environmentpublic final String getRegion()
Environment
This can be either a concrete value such as eu-west-2 or Aws.region
which indicates that account ID will only be determined during deployment
(it will resolve to the CloudFormation intrinsic {"Ref":"AWS::Region"}).
Note that certain features, such as cross-stack references and
environmental context providers require concerete region information and
will cause this stack to emit synthesis errors.
Default: Aws.region which means that the stack will be region-agnostic.
getRegion in interface Environment@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.