import { AwsResource } from '../../cloudformation/resources/AwsResource';
/**
  The <code>AWS::LakeFormation::PrincipalPermissions</code> resource represents the permissions that a principal has on a Data Catalog resource (such as AWS Glue databases or AWS Glue tables). When you create a <code>PrincipalPermissions</code> resource, the permissions are granted via the AWS Lake Formation <code>GrantPermissions</code> API operation. When you delete a <code>PrincipalPermissions</code> resource, the permissions on principal-resource pair are revoked via the AWS Lake Formation <code>RevokePermissions</code> API operation.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lakeformation-principalpermissions.html">the AWS Docs</a>
*/
export function principalPermissions(principalPermissionsProps) {
    return new AwsResource('AWS::LakeFormation::PrincipalPermissions', principalPermissionsProps, { ResourceIdentifier: 'ResourceIdentifier', PrincipalIdentifier: 'PrincipalIdentifier' });
}
