Skip to content

AccessGrant

Source code in docs_src/capo_cloudwatchomni/types/access_grant.py
class AccessGrant(TypedDict, closed=True):
    grant_id: "capo_cloudwatchomni.types.grant_id.GrantId"
    """The unique ID of the access grant."""
    grant_arn: "capo_cloudwatchomni.types.arn.Arn"
    """The Amazon Resource Name (ARN) of the access grant."""
    name: NotRequired["str"]
    """A name that identifies the access grant."""
    account_id: "capo_cloudwatchomni.types.account_id.AccountId"
    """The AWS account ID that owns the grant."""
    domain_id: "capo_cloudwatchomni.types.domain_id.DomainId"
    """The ID of the domain the grant belongs to."""
    principal: "capo_cloudwatchomni.types.access_grant_principal.AccessGrantPrincipal"
    """The principal receiving the grant."""
    permission: (
        "capo_cloudwatchomni.types.access_grant_permission.AccessGrantPermission"
    )
    """The permission granted."""
    grant_type: "capo_cloudwatchomni.types.access_grant_type.AccessGrantType"
    """Who manages the grant."""
    created_by: "str"
    """The principal that created the grant."""
    created_at: "datetime.datetime"
    """The timestamp when the grant was created."""
    updated_at: "datetime.datetime"
    """The timestamp when the grant was last updated."""
    space_id: "capo_cloudwatchomni.types.space_id.SpaceId"
    """The space this grant applies to. Domain-scoped grants are returned by ListDomainAccessGrantsForOrganization instead."""
    scoped_actions: NotRequired[
        "capo_cloudwatchomni.types.scoped_actions_list.ScopedActionsList"
    ]
    """Groups of actions allowed by the grant, each with the resource scopes and conditions that limit those actions."""

account_id instance-attribute

account_id: AccountId

The AWS account ID that owns the grant.

created_at instance-attribute

created_at: datetime

The timestamp when the grant was created.

created_by instance-attribute

created_by: str

The principal that created the grant.

domain_id instance-attribute

domain_id: DomainId

The ID of the domain the grant belongs to.

grant_arn instance-attribute

grant_arn: Arn

The Amazon Resource Name (ARN) of the access grant.

grant_id instance-attribute

grant_id: GrantId

The unique ID of the access grant.

grant_type instance-attribute

grant_type: AccessGrantType

Who manages the grant.

name instance-attribute

name: NotRequired[str]

A name that identifies the access grant.

permission instance-attribute

The permission granted.

principal instance-attribute

The principal receiving the grant.

scoped_actions instance-attribute

scoped_actions: NotRequired[ScopedActionsList]

Groups of actions allowed by the grant, each with the resource scopes and conditions that limit those actions.

space_id instance-attribute

space_id: SpaceId

The space this grant applies to. Domain-scoped grants are returned by ListDomainAccessGrantsForOrganization instead.

updated_at instance-attribute

updated_at: datetime

The timestamp when the grant was last updated.