Resource - AWS RAM
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

Resource

Describes a resource associated with a resource share in AWS RAM.

Contents

Note

In the following list, the required parameters are described first.

arn

The Amazon Resource Name (ARN) of the resource.

Type: String

Required: No

creationTime

The date and time when the resource was associated with the resource share.

Type: Timestamp

Required: No

lastUpdatedTime

The date an time when the association between the resource and the resource share was last updated.

Type: Timestamp

Required: No

resourceGroupArn

The Amazon Resource Name (ARN) of the resource group. This value is available only if the resource is part of a resource group.

Type: String

Required: No

resourceRegionScope

Specifies the scope of visibility of this resource:

  • REGIONAL – The resource can be accessed only by using requests that target the AWS Region in which the resource exists.

  • GLOBAL – The resource can be accessed from any AWS Region.

Type: String

Valid Values: REGIONAL | GLOBAL

Required: No

resourceShareArn

The Amazon Resource Name (ARN) of the resource share this resource is associated with.

Type: String

Required: No

status

The current status of the resource.

Type: String

Valid Values: AVAILABLE | ZONAL_RESOURCE_INACCESSIBLE | LIMIT_EXCEEDED | UNAVAILABLE | PENDING

Required: No

statusMessage

A message about the status of the resource.

Type: String

Required: No

type

The resource type. This takes the form of: service-code:resource-code, and is case-insensitive. For example, an Amazon EC2 Subnet would be represented by the string ec2:subnet.

Type: String

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: