CmdID / aws / aws clouddirectory
aws clouddirectory lookup-policy
Lists all policies from the root of the Directory to the object specified. AWS CLI reference
4 options Its page in the AWS CLI reference
Options
--directory-arnThe Amazon Resource Name (ARN) that is associated with the Directory.--max-resultsThe maximum number of items to be retrieved in a single call.--next-tokenThe token to request the next page of results.--object-referenceReference that identifies the object whose policies will be looked up.