class Aws::RAM::Types::AssociateResourceShareRequest
@note When making an API call, you may pass AssociateResourceShareRequest
data as a hash: { resource_share_arn: "String", # required resource_arns: ["String"], principals: ["String"], client_token: "String", }
@!attribute [rw] resource_share_arn
The Amazon Resource Name (ARN) of the resource share. @return [String]
@!attribute [rw] resource_arns
The Amazon Resource Names (ARNs) of the resources. @return [Array<String>]
@!attribute [rw] principals
The principals to associate with the resource share. The possible values are: * An Amazon Web Services account ID * An Amazon Resource Name (ARN) of an organization in Organizations * An ARN of an organizational unit (OU) in Organizations * An ARN of an IAM role * An ARN of an IAM user <note markdown="1"> Not all resource types can be shared with IAM roles and IAM users. For more information, see [Sharing with IAM roles and IAM users][1] in the *Resource Access Manager User Guide*. </note> [1]: https://docs.aws.amazon.com/ram/latest/userguide/permissions.html#permissions-rbp-supported-resource-types @return [Array<String>]
@!attribute [rw] client_token
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. @return [String]
@see docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/AssociateResourceShareRequest AWS API Documentation
Constants
- SENSITIVE