RLSPolicy
¶
Source code in docs_src/capo_lakeformation/types/rls_policy.py
attachment_columns
instance-attribute
¶
attachment_columns: NotRequired[ColumnList]
The list of columns that the filter expression references.
catalog_id
instance-attribute
¶
catalog_id: NotRequired[CatalogIdString]
The identifier for the Data Catalog that contains the policy. By default, the account ID.
filter_expression
instance-attribute
¶
filter_expression: NotRequired[PredicateString]
The filter predicate, written in a SQL-like syntax, that determines which rows are returned to the principal.
status
instance-attribute
¶
status: NotRequired[RLSPolicyStatus]
Whether the row-level security policy can be evaluated. VALID means that every lookup table and user-defined function the filter expression references exists. INVALID means that a lookup table or user-defined function the filter expression references was deleted.
status_reason
instance-attribute
¶
status_reason: NotRequired[RLSPolicyStatusReason]
The reason the row-level security policy is INVALID. REFERENCED_LOOKUP_TABLE_DELETED means that a lookup table the filter expression references was deleted. REFERENCED_UDF_DELETED means that a user-defined function the filter expression references was deleted. Not returned when the status is VALID.