Skip to content

DetachRLSPolicyRequest

Source code in docs_src/capo_lakeformation/types/detach_rls_policy_request.py
class DetachRLSPolicyRequest(TypedDict, closed=True):
    name: "capo_lakeformation.types.name_string.NameString"
    """<p>The name of the row-level security policy to detach.</p>"""
    resource: "capo_lakeformation.types.resource.Resource"
    """<p>The resource from which the row-level security policy is detached.</p>"""
    principal: NotRequired[
        "capo_lakeformation.types.data_lake_principal.DataLakePrincipal"
    ]
    """<p>The principal for which the row-level security policy is detached.</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>"""
    remove_default: NotRequired[
        "capo_lakeformation.types.nullable_boolean.NullableBoolean"
    ]
    """<p>Indicates whether to remove this policy as the default row-level security policy for the resource.</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 detach.

principal instance-attribute

principal: NotRequired[DataLakePrincipal]

The principal for which the row-level security policy is detached.

remove_default instance-attribute

remove_default: NotRequired[NullableBoolean]

Indicates whether to remove this policy as the default row-level security policy for the resource.

resource instance-attribute

resource: Resource

The resource from which the row-level security policy is detached.