Skip to main content

principal_permissions

Gets an individual principal_permissions resource

Overview

Nameprincipal_permissions
TypeResource
Descriptionprincipal_permissions
Idawscc.lakeformation.principal_permissions

Fields

NameDatatypeDescription
catalogstring
principalobject
resourceobject
permissionsarray
permissions_with_grant_optionarray
principal_identifierstring
resource_identifierstring
regionstringAWS 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