class Aws::RAM::Types::CreateResourceShareRequest

@note When making an API call, you may pass CreateResourceShareRequest

data as a hash:

    {
      name: "String", # required
      resource_arns: ["String"],
      principals: ["String"],
      tags: [
        {
          key: "TagKey",
          value: "TagValue",
        },
      ],
      allow_external_principals: false,
      client_token: "String",
      permission_arns: ["String"],
    }

@!attribute [rw] name

The name of the resource share.
@return [String]

@!attribute [rw] resource_arns

The ARNs of the resources to associate with the resource share.
@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] tags

One or more tags.
@return [Array<Types::Tag>]

@!attribute [rw] allow_external_principals

Indicates whether principals outside your organization in
Organizations can be associated with a resource share.
@return [Boolean]

@!attribute [rw] client_token

A unique, case-sensitive identifier that you provide to ensure the
idempotency of the request.
@return [String]

@!attribute [rw] permission_arns

The Amazon Resource Names (ARNs) of the permissions to associate
with the resource share. If you do not specify an ARN for the
permission, RAM automatically attaches the default version of the
permission for each resource type. Only one permission can be
associated with each resource type in a resource share.
@return [Array<String>]

@see docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/CreateResourceShareRequest AWS API Documentation

Constants

SENSITIVE