Skip to content

CreateAccessGrantInput

Source code in docs_src/capo_cloudwatchomni/types/create_access_grant_input.py
class CreateAccessGrantInput(TypedDict, closed=True):
    domain_id: "capo_cloudwatchomni.types.domain_id.DomainId"
    """The ID of the domain that contains the space."""
    space_id: "capo_cloudwatchomni.types.space_id.SpaceId"
    """The ID of the space to scope the grant to."""
    name: "str"
    """A name that identifies the access grant."""
    principal: "capo_cloudwatchomni.types.access_grant_principal.AccessGrantPrincipal"
    """The principal receiving the grant."""
    permission: (
        "capo_cloudwatchomni.types.access_grant_permission.AccessGrantPermission"
    )
    """The permission to grant. Exactly one permission is granted per request."""
    scoped_actions: NotRequired[
        "capo_cloudwatchomni.types.scoped_actions_list.ScopedActionsList"
    ]
    """Groups of actions to allow, each with the resource scopes and conditions that limit those actions."""
    tags: NotRequired["capo_cloudwatchomni.types.tag_map.TagMap"]
    """The tags to associate with the access grant."""
    client_token: NotRequired["capo_cloudwatchomni.types.client_token.ClientToken"]
    """Idempotency token for safe retries. Repeated requests with the same token return the original result instead of creating a duplicate."""

client_token instance-attribute

client_token: NotRequired[ClientToken]

Idempotency token for safe retries. Repeated requests with the same token return the original result instead of creating a duplicate.

domain_id instance-attribute

domain_id: DomainId

The ID of the domain that contains the space.

name instance-attribute

name: str

A name that identifies the access grant.

permission instance-attribute

The permission to grant. Exactly one permission is granted per request.

principal instance-attribute

The principal receiving the grant.

scoped_actions instance-attribute

scoped_actions: NotRequired[ScopedActionsList]

Groups of actions to allow, each with the resource scopes and conditions that limit those actions.

space_id instance-attribute

space_id: SpaceId

The ID of the space to scope the grant to.

tags instance-attribute

tags: NotRequired[TagMap]

The tags to associate with the access grant.