@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:00:42.459Z") @Stability(value=Experimental) public interface Environment extends software.amazon.jsii.JsiiSerializable
Modifier and Type | Interface and Description |
---|---|
static class |
Environment.Builder
A builder for
Environment |
static class |
Environment.Jsii$Proxy
An implementation for
Environment |
Modifier and Type | Method and Description |
---|---|
static Environment.Builder |
builder() |
default String |
getAccount()
(experimental) The AWS account ID for this environment.
|
default String |
getRegion()
(experimental) The AWS region for this environment.
|
@Stability(value=Experimental) @Nullable default String getAccount()
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.
@Stability(value=Experimental) @Nullable default String getRegion()
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.
@Stability(value=Experimental) static Environment.Builder builder()
Environment.Builder
of Environment
Copyright © 2021. All rights reserved.