Attach Policy
| clouddirectory_attach_policy | R Documentation | 
Attaches a policy object to a regular object¶
Description¶
Attaches a policy object to a regular object. An object can have a limited number of attached policies.
Usage¶
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. | 
Value¶
An empty list.
Request syntax¶
svc$attach_policy(
  DirectoryArn = "string",
  PolicyReference = list(
    Selector = "string"
  ),
  ObjectReference = list(
    Selector = "string"
  )
)