Skip to content

AttachRLSPolicyRequest

Source code in docs_src/capo_lakeformation/types/attach_rls_policy_request.py
class AttachRLSPolicyRequest(TypedDict, closed=True):
    name: "capo_lakeformation.types.name_string.NameString"
    """<p>The name of the row-level security policy to attach.</p>"""
    resource: "capo_lakeformation.types.resource.Resource"
    """<p>The resource to which the row-level security policy is attached.</p>"""
    principal: NotRequired[
        "capo_lakeformation.types.data_lake_principal.DataLakePrincipal"
    ]
    """<p>The principal to which the row-level security policy applies.</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>"""
    set_default: NotRequired[
        "capo_lakeformation.types.nullable_boolean.NullableBoolean"
    ]
    """<p>Indicates whether this policy becomes the default row-level security policy for the resource. The default policy applies to all principals by default.</p>"""

condition instance-attribute

condition: NotRequired[Condition]

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

name instance-attribute

name: NameString

The name of the row-level security policy to attach.

principal instance-attribute

principal: NotRequired[DataLakePrincipal]

The principal to which the row-level security policy applies.

resource instance-attribute

resource: Resource

The resource to which the row-level security policy is attached.

set_default instance-attribute

set_default: NotRequired[NullableBoolean]

Indicates whether this policy becomes the default row-level security policy for the resource. The default policy applies to all principals by default.