principal_permissions
Gets an individual principal_permissions
resource
Overview
Name | principal_permissions |
Type | Resource |
Description | principal_permissions |
Id | awscc.lakeformation.principal_permissions |
Fields
Name | Datatype | Description |
---|---|---|
catalog | string | |
principal | object | |
resource | object | |
permissions | array | |
permissions_with_grant_option | array | |
principal_identifier | string | |
resource_identifier | string | |
region | string | AWS region. |
Methods
Currently only SELECT
is supported for this resource resource.
Example
SELECT
region,
catalog,
principal,
resource,
permissions,
permissions_with_grant_option,
principal_identifier,
resource_identifier
FROM awscc.lakeformation.principal_permissions
WHERE data__Identifier = '<PrincipalIdentifier>|<ResourceIdentifier>';
Permissions
To operate on the principal_permissions
resource, the following permissions are required:
Read
lakeformation:ListPermissions,
glue:GetTable,
glue:GetDatabase
Delete
lakeformation:RevokePermissions,
lakeformation:ListPermissions,
glue:GetTable,
glue:GetDatabase