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 classGetArnResult.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.Stringaccount()java.lang.Stringarn()static GetArnResult.Builderbuilder()static GetArnResult.Builderbuilder(GetArnResult defaults)java.lang.Stringid()Deprecated.Use 'arn' instead.java.lang.Stringpartition()java.lang.Stringregion()java.lang.Stringresource()java.lang.Stringservice()
-
-
-
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
@Deprecated public java.lang.String id()
Deprecated.Use 'arn' instead. This attribute will be removed in a future version of the provider.
-
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 include 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)
-
-