Learn R Programming

paws.security.identity (version 0.1.6)

ram_create_resource_share: Creates a resource share

Description

Creates a resource share.

Usage

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

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 AWS organization can be associated with a resource share.

clientToken

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

permissionArns

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.

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",
  permissionArns = list(
    "string"
  )
)