ResourceShareAssociation - Amazon RAM
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

ResourceShareAssociation

Describes an association between a resource share and either a principal or a resource.

Contents

Note

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

associatedEntity

The associated entity. This can be either of the following:

  • For a resource association, this is the Amazon Resource Name (ARN) of the resource.

  • For principal associations, this is one of the following:

    • The ID of an Amazon Web Services account

    • The Amazon Resource Name (ARN) of an organization in Amazon Organizations

    • The ARN of an organizational unit (OU) in Amazon Organizations

    • The ARN of an IAM role

    • The ARN of an IAM user

Type: String

Required: No

associationType

The type of entity included in this association.

Type: String

Valid Values: PRINCIPAL | RESOURCE

Required: No

creationTime

The date and time when the association was created.

Type: Timestamp

Required: No

external

Indicates whether the principal belongs to the same organization in Amazon Organizations as the Amazon Web Services account that owns the resource share.

Type: Boolean

Required: No

lastUpdatedTime

The date and time when the association was last updated.

Type: Timestamp

Required: No

resourceShareArn

The Amazon Resource Name (ARN) of the resource share.

Type: String

Required: No

resourceShareName

The name of the resource share.

Type: String

Required: No

status

The current status of the association.

Type: String

Valid Values: ASSOCIATING | ASSOCIATED | FAILED | DISASSOCIATING | DISASSOCIATED

Required: No

statusMessage

A message about the status of the association.

Type: String

Required: No

See Also

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