Learn R Programming

paws.security.identity (version 0.1.0)

ram_create_resource_share: Creates a resource share

Description

Creates a resource share.

Usage

ram_create_resource_share(name, resourceArns, principals, tags,
  allowExternalPrincipals, clientToken)

Arguments

name

[required] The name of the resource share.

resourceArns

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

principals

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.

tags

One or more tags.

allowExternalPrincipals

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

clientToken

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

Request syntax

svc$create_resource_share(
  name = "string",
  resourceArns = list(
    "string"
  ),
  principals = list(
    "string"
  ),
  tags = list(
    list(
      key = "string",
      value = "string"
    )
  ),
  allowExternalPrincipals = TRUE|FALSE,
  clientToken = "string"
)