paws.security.identity (version 0.1.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.

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.

Request syntax

svc$attach_policy(
  DirectoryArn = "string",
  PolicyReference = list(
    Selector = "string"
  ),
  ObjectReference = list(
    Selector = "string"
  )
)