@Stability(value=Experimental) @Internal public static final class ArnComponents.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ArnComponents
ArnComponentssoftware.amazon.jsii.JsiiObject.InitializationModeArnComponents.Builder, ArnComponents.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(String resource,
String service,
String account,
String partition,
String region,
String resourceName,
String sep)
Constructor that initializes the object based on literal property values passed by the
ArnComponents.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getAccount()
(experimental) The ID of the AWS account that owns the resource, without the hyphens.
|
String |
getPartition()
(experimental) The partition that the resource is in.
|
String |
getRegion()
(experimental) The region the resource resides in.
|
String |
getResource()
(experimental) Resource type (e.g.
|
String |
getResourceName()
(experimental) Resource name or path within the resource (i.e.
|
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').
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.public final String getResource()
ArnComponentsgetResource in interface ArnComponentspublic final String getService()
ArnComponentsgetService in interface ArnComponentspublic final String getAccount()
ArnComponentsFor 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.
getAccount in interface ArnComponentspublic final String getPartition()
ArnComponentsFor 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.
getPartition in interface ArnComponentspublic final String getRegion()
ArnComponentsNote 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.
getRegion in interface ArnComponentspublic final String getResourceName()
ArnComponentsgetResourceName in interface ArnComponentspublic final String getSep()
ArnComponentsCan be either '/', ':' or an empty string. Will only be used if resourceName is defined.
Default: '/'
getSep in interface ArnComponents@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.