CmdID

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

Opens CmdID with your command. It is read in your browser and sent nowhere.

Options

3 in the AWS CLI reference
--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.