AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::RAM::Types::CreateResourceShareRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CreateResourceShareRequest as input to an Aws::Client method, you can use a vanilla Hash:

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

Instance Attribute Summary collapse

Instance Attribute Details

#allow_external_principalsBoolean

Indicates whether principals outside your AWS organization can be associated with a resource share.

Returns:

  • (Boolean)

    Indicates whether principals outside your AWS organization can be associated with a resource share.

#client_tokenString

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

Returns:

  • (String)

    A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

#nameString

The name of the resource share.

Returns:

  • (String)

    The name of the resource share.

#permission_arnsArray<String>

The ARNs of the permissions to associate with the resource share. If you do not specify an ARN for the permission, AWS RAM automatically attaches the default version of the permission for each resource type.

Returns:

  • (Array<String>)

    The ARNs of the permissions to associate with the resource share.

#principalsArray<String>

The principals to associate with the resource share. The possible values are IDs of AWS accounts, the ARN of an OU or organization from AWS Organizations.

Returns:

  • (Array<String>)

    The principals to associate with the resource share.

#resource_arnsArray<String>

The Amazon Resource Names (ARN) of the resources to associate with the resource share.

Returns:

  • (Array<String>)

    The Amazon Resource Names (ARN) of the resources to associate with the resource share.

#tagsArray<Types::Tag>

One or more tags.

Returns: