GrantPermissionsRequest
¶
Source code in docs_src/capo_lakeformation/types/grant_permissions_request.py
catalog_id
instance-attribute
¶
catalog_id: NotRequired[CatalogIdString]
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.
permissions
instance-attribute
¶
permissions: PermissionList
The permissions granted to the principal on the resource. Lake Formation defines privileges to grant and revoke access to metadata in the Data Catalog and data organized in underlying data storage such as Amazon S3. Lake Formation requires that each principal be authorized to perform a specific task on Lake Formation resources.
permissions_with_grant_option
instance-attribute
¶
permissions_with_grant_option: NotRequired[PermissionList]
Indicates a list of the granted permissions that the principal may pass to other users. These permissions may only be a subset of the permissions granted in the Privileges.
principal
instance-attribute
¶
principal: DataLakePrincipal
The principal to be granted the permissions on the resource. Supported principals are IAM users or IAM roles, and they are defined by their principal type and their ARN.
Note that if you define a resource with a particular ARN, then later delete, and recreate a resource with that same ARN, the resource maintains the permissions already granted.