clouddirectory_attach_policy: Attaches a policy object to a regular object

Description Usage Arguments Request syntax

View source: R/clouddirectory_operations.R

Description

Attaches a policy object to a regular object. An object can have a limited number of attached policies.

Usage

1
2
clouddirectory_attach_policy(DirectoryArn, PolicyReference,
  ObjectReference)

Arguments

DirectoryArn

[required] The Amazon Resource Name (ARN) that is associated with the Directory where both objects reside. For more information, see arns.

PolicyReference

[required] The reference that is associated with the policy object.

ObjectReference

[required] The reference that identifies the object to which the policy will be attached.

Request syntax

1
2
3
4
5
6
7
8
9
svc$attach_policy(
  DirectoryArn = "string",
  PolicyReference = list(
    Selector = "string"
  ),
  ObjectReference = list(
    Selector = "string"
  )
)

paws.security.identity documentation built on Oct. 30, 2019, 11:26 a.m.