Skip to content

OrganizationAccessGrantPrincipal

Source code in docs_src/capo_cloudwatchomni/types/organization_access_grant_principal.py
class OrganizationAccessGrantPrincipal(TypedDict, closed=True):
    principal_type: "capo_cloudwatchomni.types.organization_grant_principal_type.OrganizationGrantPrincipalType"
    """The type of principal receiving the grant."""
    principal_id: NotRequired[
        "capo_cloudwatchomni.types.organization_principal_id.OrganizationPrincipalId"
    ]
    """The ID of the principal receiving the grant."""
    principal_attributes: NotRequired[
        "capo_cloudwatchomni.types.access_grant_principal_attribute_list.AccessGrantPrincipalAttributeList"
    ]
    """Attribute conditions for attribute-based access. When provided, the grant targets any principal matching all specified conditions. Supported only for IDC_USER principals."""

principal_attributes instance-attribute

principal_attributes: NotRequired[AccessGrantPrincipalAttributeList]

Attribute conditions for attribute-based access. When provided, the grant targets any principal matching all specified conditions. Supported only for IDC_USER principals.

principal_id instance-attribute

principal_id: NotRequired[OrganizationPrincipalId]

The ID of the principal receiving the grant.

principal_type instance-attribute

The type of principal receiving the grant.