AWS::LakeFormation::PermissionsThe `AWS::LakeFormation::Permissions` resource represents the permissions that a principal has on an AWS Glue Data Catalog resource (such as AWS Glue database or AWS Glue tables). When you upload a permissions stack, the permissions are granted to the principal and when you remove the stack, the permissions are revoked from the principal. If you remove a stack, and the principal does not have the permissions referenced in the stack then AWS Lake Formation will throw an error because you can’t call revoke on non-existing permissions. To successfully remove the stack, you’ll need to regrant those permissions and then remove the stack. > New versions of AWS Lake Formation permission resources are now available. For more information, see: [AWS:LakeFormation::PrincipalPermissions](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lakeformation-principalpermissions.html)
import { CfnPermissions } from 'aws-cdk-lib/aws-lakeformation';Or use the module namespace:
import * as lakeformation from 'aws-cdk-lib/aws-lakeformation';
// lakeformation.CfnPermissionsConfiguration passed to the constructor as CfnPermissionsProps.
dataLakePrincipalRequiredIResolvable | DataLakePrincipalPropertyThe AWS Lake Formation principal.
resourceRequiredIResolvable | ResourcePropertyA structure for the resource.
permissionsOptionalstring[]The permissions granted or revoked.
permissionsWithGrantOptionOptionalstring[]Indicates the ability to grant permissions (as a subset of permissions granted).
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-lakeformationAWS::LakeFormation::Permissions