@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:00:44.846Z") @Stability(value=Experimental) public interface ResourceProps extends software.amazon.jsii.JsiiSerializable
Resource.| Modifier and Type | Interface and Description |
|---|---|
static class |
ResourceProps.Builder
A builder for
ResourceProps |
static class |
ResourceProps.Jsii$Proxy
An implementation for
ResourceProps |
| Modifier and Type | Method and Description |
|---|---|
static ResourceProps.Builder |
builder() |
default String |
getAccount()
(experimental) The AWS account ID this resource belongs to.
|
default String |
getEnvironmentFromArn()
(experimental) ARN to deduce region and account from.
|
default String |
getPhysicalName()
(experimental) The value passed in by users to the physical name prop of the resource.
|
default String |
getRegion()
(experimental) The AWS region this resource belongs to.
|
@Stability(value=Experimental) @Nullable default String getAccount()
Default: - the resource is in the same account as the stack it belongs to
@Stability(value=Experimental) @Nullable default String getEnvironmentFromArn()
The ARN is parsed and the account and region are taken from the ARN. This should be used for imported resources.
Cannot be supplied together with either account or region.
Default: - take environment from `account`, `region` parameters, or use Stack environment.
@Stability(value=Experimental) @Nullable default String getPhysicalName()
undefined implies that a physical name will be allocated by
CloudFormation during deployment.PhysicalName.GENERATE_IF_NEEDED is a marker that indicates that a physical will only be generated
by the CDK if it is needed for cross-environment references. Otherwise, it will be allocated by CloudFormation.Default: - The physical name will be allocated by CloudFormation at deployment time
@Stability(value=Experimental) @Nullable default String getRegion()
Default: - the resource is in the same region as the stack it belongs to
@Stability(value=Experimental) static ResourceProps.Builder builder()
ResourceProps.Builder of ResourcePropsCopyright © 2021. All rights reserved.