Resource
¶
Used by
-
AsyncLakeFormationClient- Operations
- Paginators
-
LakeFormationClient- Operations
- Paginators
Source code in docs_src/capo_lakeformation/types/resource.py
any_resource
instance-attribute
¶
any_resource: NotRequired[AnyResource]
All resources of the specified type in a Data Catalog. When you grant or revoke permissions on this resource, the principal must be a user-defined function whose GovernanceMode is LAKE_FORMATION, and the Data Catalog must be in your account.
catalog
instance-attribute
¶
catalog: NotRequired[CatalogResource]
The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your Lake Formation environment.
data_cells_filter
instance-attribute
¶
data_cells_filter: NotRequired[DataCellsFilterResource]
A data cell filter.
data_location
instance-attribute
¶
data_location: NotRequired[DataLocationResource]
The location of an Amazon S3 path where permissions are granted or revoked.
database
instance-attribute
¶
database: NotRequired[DatabaseResource]
The database for the resource. Unique to the Data Catalog. A database is a set of associated table definitions organized into a logical group. You can Grant and Revoke database permissions to a principal.
lf_tag
instance-attribute
¶
lf_tag: NotRequired[LFTagKeyResource]
The LF-Tag key and values attached to a resource.
lf_tag_expression
instance-attribute
¶
lf_tag_expression: NotRequired[LFTagExpressionResource]
LF-Tag expression resource. A logical expression composed of one or more LF-Tag key:value pairs.
lf_tag_policy
instance-attribute
¶
lf_tag_policy: NotRequired[LFTagPolicyResource]
A list of LF-tag conditions or saved LF-Tag expressions that define a resource's LF-tag policy.
rls_policy
instance-attribute
¶
rls_policy: NotRequired[RLSPolicyResource]
A row-level security policy resource. Specify this when granting or revoking permissions on a row-level security policy.
table
instance-attribute
¶
table: NotRequired[TableResource]
The table for the resource. A table is a metadata definition that represents your data. You can Grant and Revoke table privileges to a principal.
table_with_columns
instance-attribute
¶
table_with_columns: NotRequired[TableWithColumnsResource]
The table with columns for the resource. A principal with permissions to this resource can select metadata from the columns of a table in the Data Catalog and the underlying data in Amazon S3.
user_defined_function
instance-attribute
¶
user_defined_function: NotRequired[UserDefinedFunctionResource]
The user-defined function that you want to grant or revoke permissions on. The function's GovernanceMode must be LAKE_FORMATION. You can grant the following permissions:
-
EXECUTE– Use the function in a job, and get credentials to download its artifacts. -
DESCRIBE– View the function's definition. -
ALTER– Update the function. -
DROP– Delete the function. -
ALL– All of the preceding permissions.