Skip to content

PermissionSetAssignment

Source code in docs_src/capo_assurance/types/permission_set_assignment.py
class PermissionSetAssignment(TypedDict, closed=True):
    assignment_id: "capo_assurance.types.assignment_id.AssignmentId"
    """<p>The unique identifier of the permission set assignment.</p>"""
    principal_type: "capo_assurance.types.principal_type.PrincipalType"
    """<p>The type of principal the permission set is assigned to.</p>"""
    principal_id: "capo_assurance.types.principal_id.PrincipalId"
    """<p>The unique identifier of the principal the permission set is assigned to.</p>"""
    permission_set_id: "capo_assurance.types.permission_set_id.PermissionSetId"
    """<p>The identifier of the permission set.</p>"""
    scope_type: NotRequired["capo_assurance.types.scope_type.ScopeType"]
    """<p>The type of the assignment scope. ENVIRONMENT for an environment-wide assignment, PROJECT when the assignment is scoped to the project named by scopeId.</p>"""
    scope_id: NotRequired["capo_assurance.types.scope_id.ScopeId"]
    """<p>The identifier of the scoped resource. Omitted for environment-wide assignments.</p>"""
    created_at: "datetime.datetime"
    """<p>The timestamp when the assignment was created.</p>"""

assignment_id instance-attribute

assignment_id: AssignmentId

The unique identifier of the permission set assignment.

created_at instance-attribute

created_at: datetime

The timestamp when the assignment was created.

permission_set_id instance-attribute

permission_set_id: PermissionSetId

The identifier of the permission set.

principal_id instance-attribute

principal_id: PrincipalId

The unique identifier of the principal the permission set is assigned to.

principal_type instance-attribute

principal_type: PrincipalType

The type of principal the permission set is assigned to.

scope_id instance-attribute

scope_id: NotRequired[ScopeId]

The identifier of the scoped resource. Omitted for environment-wide assignments.

scope_type instance-attribute

scope_type: NotRequired[ScopeType]

The type of the assignment scope. ENVIRONMENT for an environment-wide assignment, PROJECT when the assignment is scoped to the project named by scopeId.