CmdID / aws / aws datazone
aws datazone add-policy-grant
Adds a policy grant (an authorization policy) to a specified entity, including domain units, environment blueprint configurations, or environment profiles. AWS CLI reference
7 options Its page in the AWS CLI reference
Options
--client-tokenA unique, case-sensitive identifier that is provided to ensure the idempotency of the request.--detailThe details of the policy grant.--domain-identifierThe ID of the domain where you want to add a policy grant.--entity-identifierThe ID of the entity (resource) to which you want to add a policy grant.--entity-typeThe type of entity (resource) to which the grant is added.--policy-typeThe type of policy that you want to grant.--principalThe principal to whom the permissions are granted.