Package com.pulumi.aws.outputs
Class GetArnResult
- java.lang.Object
-
- com.pulumi.aws.outputs.GetArnResult
-
public final class GetArnResult extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GetArnResult.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
account()
java.lang.String
arn()
static GetArnResult.Builder
builder()
static GetArnResult.Builder
builder(GetArnResult defaults)
java.lang.String
id()
java.lang.String
partition()
java.lang.String
region()
java.lang.String
resource()
java.lang.String
service()
-
-
-
Method Detail
-
account
public java.lang.String account()
- Returns:
- The [ID](https://docs.aws.amazon.com/general/latest/gr/acct-identifiers.html) of the AWS account that owns the resource, without the hyphens.
-
arn
public java.lang.String arn()
-
id
public java.lang.String id()
-
partition
public java.lang.String partition()
- Returns:
- Partition that the resource is in.
-
region
public java.lang.String region()
- Returns:
- Region the resource resides in. Note that the ARNs for some resources do not require a region, so this component might be omitted.
-
resource
public java.lang.String resource()
- Returns:
- Content of this part of the ARN varies by service. It often includes an indicator of the type of resource—for example, an IAM user or Amazon RDS database —followed by a slash (/) or a colon (:), followed by the resource name itself.
-
service
public java.lang.String service()
- Returns:
- The [service namespace](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces) that identifies the AWS product.
-
builder
public static GetArnResult.Builder builder()
-
builder
public static GetArnResult.Builder builder(GetArnResult defaults)
-
-