Skip to content

TemplateLinkedPolicyDefinitionDetail

Source code in docs_src/capo_verifiedpermissions/types/template_linked_policy_definition_detail.py
class TemplateLinkedPolicyDefinitionDetail(TypedDict, closed=True):
    policy_template_id: (
        "capo_verifiedpermissions.types.policy_template_id.PolicyTemplateId"
    )
    """<p>The unique identifier of the policy template used to create this policy.</p>"""
    principal: NotRequired[
        "capo_verifiedpermissions.types.entity_identifier.EntityIdentifier"
    ]
    """<p>The principal associated with this template-linked policy. Verified Permissions substitutes this principal for the <code>?principal</code> placeholder in the policy template when it evaluates an authorization request.</p>"""
    resource: NotRequired[
        "capo_verifiedpermissions.types.entity_identifier.EntityIdentifier"
    ]
    """<p>The resource associated with this template-linked policy. Verified Permissions substitutes this resource for the <code>?resource</code> placeholder in the policy template when it evaluates an authorization request.</p>"""

policy_template_id instance-attribute

policy_template_id: PolicyTemplateId

The unique identifier of the policy template used to create this policy.

principal instance-attribute

principal: NotRequired[EntityIdentifier]

The principal associated with this template-linked policy. Verified Permissions substitutes this principal for the ?principal placeholder in the policy template when it evaluates an authorization request.

resource instance-attribute

resource: NotRequired[EntityIdentifier]

The resource associated with this template-linked policy. Verified Permissions substitutes this resource for the ?resource placeholder in the policy template when it evaluates an authorization request.