@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:00:42.408Z") @Stability(value=Experimental) public interface ArnComponents extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
ArnComponents.Builder
A builder for
ArnComponents |
static class |
ArnComponents.Jsii$Proxy
An implementation for
ArnComponents |
| Modifier and Type | Method and Description |
|---|---|
static ArnComponents.Builder |
builder() |
default String |
getAccount()
(experimental) The ID of the AWS account that owns the resource, without the hyphens.
|
default String |
getPartition()
(experimental) The partition that the resource is in.
|
default String |
getRegion()
(experimental) The region the resource resides in.
|
String |
getResource()
(experimental) Resource type (e.g.
|
default String |
getResourceName()
(experimental) Resource name or path within the resource (i.e.
|
default String |
getSep()
(experimental) Separator between resource type and the resource.
|
String |
getService()
(experimental) The service namespace that identifies the AWS product (for example, 's3', 'iam', 'codepipline').
|
@Stability(value=Experimental) @NotNull String getResource()
@Stability(value=Experimental) @NotNull String getService()
@Stability(value=Experimental) @Nullable default String getAccount()
For example, 123456789012. Note that the ARNs for some resources don't require an account number, so this component might be omitted.
Default: The account the stack is deployed to.
@Stability(value=Experimental) @Nullable default String getPartition()
For standard AWS regions, the partition is aws. If you have resources in other partitions, the partition is aws-partitionname. For example, the partition for resources in the China (Beijing) region is aws-cn.
Default: The AWS partition the stack is deployed to.
@Stability(value=Experimental) @Nullable default String getRegion()
Note that the ARNs for some resources do not require a region, so this component might be omitted.
Default: The region the stack is deployed to.
@Stability(value=Experimental) @Nullable default String getResourceName()
@Stability(value=Experimental) @Nullable default String getSep()
Can be either '/', ':' or an empty string. Will only be used if resourceName is defined.
Default: '/'
@Stability(value=Experimental) static ArnComponents.Builder builder()
ArnComponents.Builder of ArnComponentsCopyright © 2021. All rights reserved.