Skip to content

EntityItem

Source code in docs_src/capo_verifiedpermissions/types/entity_item.py
class EntityItem(TypedDict, closed=True):
    identifier: "capo_verifiedpermissions.types.entity_identifier.EntityIdentifier"
    """<p>The identifier of the entity.</p>"""
    attributes: NotRequired[
        "capo_verifiedpermissions.types.entity_attributes.EntityAttributes"
    ]
    """<p>A list of attributes for the entity.</p>"""
    parents: NotRequired["capo_verifiedpermissions.types.parent_list.ParentList"]
    """<p>The parent entities in the hierarchy that contains the entity. A principal or resource entity can be defined with at most 99 <i>transitive parents</i> per authorization request. </p> <p>A transitive parent is an entity in the hierarchy of entities including all direct parents, and parents of parents. For example, a user can be a member of 91 groups if one of those groups is a member of eight groups, for a total of 100: one entity, 91 entity parents, and eight parents of parents. </p>"""
    tags: NotRequired[
        "capo_verifiedpermissions.types.entity_cedar_tags.EntityCedarTags"
    ]
    """<p>A list of cedar tags for the entity.</p>"""

attributes instance-attribute

attributes: NotRequired[EntityAttributes]

A list of attributes for the entity.

identifier instance-attribute

identifier: EntityIdentifier

The identifier of the entity.

parents instance-attribute

parents: NotRequired[ParentList]

The parent entities in the hierarchy that contains the entity. A principal or resource entity can be defined with at most 99 transitive parents per authorization request.

A transitive parent is an entity in the hierarchy of entities including all direct parents, and parents of parents. For example, a user can be a member of 91 groups if one of those groups is a member of eight groups, for a total of 100: one entity, 91 entity parents, and eight parents of parents.

tags instance-attribute

tags: NotRequired[EntityCedarTags]

A list of cedar tags for the entity.