CmdID / aws / aws cloudwatchomni
aws cloudwatchomni create-access-grant
Creates an AccessGrant that authorizes a principal to perform a set of actions on resources in a space. AWS CLI reference
8 options Its page in the AWS CLI reference
Options
--client-tokenIdempotency token for safe retries.--domain-idThe ID of the domain that contains the space.--nameA name that identifies the access grant.--permissionThe permission to grant.--principalThe principal receiving the grant.--scoped-actionsGroups of actions to allow, each with the resource scopes and conditions that limit those actions.--space-idThe ID of the space to scope the grant to.--tagsThe tags to associate with the access grant.