CmdID / aws / aws clouddirectory
aws clouddirectory attach-policy
Attaches a policy object to a regular object. AWS CLI reference
3 options Its page in the AWS CLI reference
Options
--directory-arnThe Amazon Resource Name (ARN) that is associated with the Directory where both objects reside.--object-referenceThe reference that identifies the object to which the policy will be attached.--policy-referenceThe reference that is associated with the policy object.