@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:00:44.846Z") @Stability(value=Experimental) public interface ResourceEnvironment extends software.amazon.jsii.JsiiSerializable
Used as the return value for the {@link IResource.env} property.
| Modifier and Type | Interface and Description |
|---|---|
static class |
ResourceEnvironment.Builder
A builder for
ResourceEnvironment |
static class |
ResourceEnvironment.Jsii$Proxy
An implementation for
ResourceEnvironment |
| Modifier and Type | Method and Description |
|---|---|
static ResourceEnvironment.Builder |
builder() |
String |
getAccount()
(experimental) The AWS account ID that this resource belongs to.
|
String |
getRegion()
(experimental) The AWS region that this resource belongs to.
|
@Stability(value=Experimental) @NotNull String getAccount()
Since this can be a Token (for example, when the account is CloudFormation's AWS::AccountId intrinsic), make sure to use Token.compareStrings() instead of just comparing the values for equality.
@Stability(value=Experimental) @NotNull String getRegion()
Since this can be a Token (for example, when the region is CloudFormation's AWS::Region intrinsic), make sure to use Token.compareStrings() instead of just comparing the values for equality.
@Stability(value=Experimental) static ResourceEnvironment.Builder builder()
ResourceEnvironment.Builder of ResourceEnvironmentCopyright © 2021. All rights reserved.