ResourceShareAssociation - AWS RAM

ResourceShareAssociation

Describes an association with 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 Resoure Name (ARN) of the resource.

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

    • The ID of an AWS account

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

    • The ARN of an organizational unit (OU) in AWS 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 AWS Organizations as the AWS 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 Resoure 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 AWS SDKs, see the following: