Skip to content

RLSPolicyAttachment

Source code in docs_src/capo_lakeformation/types/rls_policy_attachment.py
class RLSPolicyAttachment(TypedDict, closed=True):
    catalog_id: NotRequired[
        "capo_lakeformation.types.catalog_id_string.CatalogIdString"
    ]
    """<p>The identifier for the Data Catalog that contains the attachment. By default, the account ID.</p>"""
    policy_name: NotRequired["capo_lakeformation.types.name_string.NameString"]
    """<p>The name of the attached row-level security policy.</p>"""
    principal: NotRequired[
        "capo_lakeformation.types.data_lake_principal.DataLakePrincipal"
    ]
    """<p>The principal to which the attached policy applies.</p>"""
    resource: NotRequired["capo_lakeformation.types.resource.Resource"]
    """<p>The resource to which the policy is attached.</p>"""
    condition: NotRequired["capo_lakeformation.types.condition.Condition"]
    """<p>A Lake Formation condition, which applies to the row-level security policy attachment and contains an expression.</p>"""
    default_rls_policy: NotRequired[
        "capo_lakeformation.types.nullable_boolean.NullableBoolean"
    ]
    """<p>Indicates whether this attachment is the default row-level security policy for the resource.</p>"""

catalog_id instance-attribute

catalog_id: NotRequired[CatalogIdString]

The identifier for the Data Catalog that contains the attachment. By default, the account ID.

condition instance-attribute

condition: NotRequired[Condition]

A Lake Formation condition, which applies to the row-level security policy attachment and contains an expression.

default_rls_policy instance-attribute

default_rls_policy: NotRequired[NullableBoolean]

Indicates whether this attachment is the default row-level security policy for the resource.

policy_name instance-attribute

policy_name: NotRequired[NameString]

The name of the attached row-level security policy.

principal instance-attribute

principal: NotRequired[DataLakePrincipal]

The principal to which the attached policy applies.

resource instance-attribute

resource: NotRequired[Resource]

The resource to which the policy is attached.