paws.security.identity (version 0.5.0)

clouddirectory_attach_policy: 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.

See https://www.paws-r-sdk.com/docs/clouddirectory_attach_policy/ for full documentation.

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.