@Generated(value="jsii-pacmak/1.7.0 (build 179a3a5)", date="2020-07-02T12:03:03.178Z") @Stability(value=Stable) 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()
The ID of the AWS account that owns the resource, without the hyphens.
|
default String |
getPartition()
The partition that the resource is in.
|
default String |
getRegion()
The region the resource resides in.
|
String |
getResource()
Resource type (e.g.
|
default String |
getResourceName()
Resource name or path within the resource (i.e.
|
default String |
getSep()
Separator between resource type and the resource.
|
String |
getService()
The service namespace that identifies the AWS product (for example, 's3', 'iam', 'codepipline').
|
@Stability(value=Stable) @NotNull String getResource()
@Stability(value=Stable) @NotNull String getService()
@Stability(value=Stable) @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=Stable) @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=Stable) @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=Stable) @Nullable default String getResourceName()
@Stability(value=Stable) @Nullable default String getSep()
Can be either '/', ':' or an empty string. Will only be used if resourceName is defined.
Default: '/'
@Stability(value=Stable) static ArnComponents.Builder builder()
ArnComponents.Builder of ArnComponentsCopyright © 2020. All rights reserved.