ram_create_resource_share: Creates a resource share

Description Usage Arguments Request syntax

View source: R/ram_operations.R

Description

Creates a resource share.

Usage

1
2
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
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"
  )
)

paws.security.identity documentation built on Jan. 14, 2020, 5:08 p.m.