interface CfnPrincipalPermissionsProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.LakeFormation.CfnPrincipalPermissionsProps |
Java | software.amazon.awscdk.services.lakeformation.CfnPrincipalPermissionsProps |
Python | aws_cdk.aws_lakeformation.CfnPrincipalPermissionsProps |
TypeScript | @aws-cdk/aws-lakeformation » CfnPrincipalPermissionsProps |
Properties for defining a CfnPrincipalPermissions.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as lakeformation from '@aws-cdk/aws-lakeformation';
declare const catalog: any;
declare const tableWildcard: any;
const cfnPrincipalPermissionsProps: lakeformation.CfnPrincipalPermissionsProps = {
permissions: ['permissions'],
permissionsWithGrantOption: ['permissionsWithGrantOption'],
principal: {
dataLakePrincipalIdentifier: 'dataLakePrincipalIdentifier',
},
resource: {
catalog: catalog,
database: {
catalogId: 'catalogId',
name: 'name',
},
dataCellsFilter: {
databaseName: 'databaseName',
name: 'name',
tableCatalogId: 'tableCatalogId',
tableName: 'tableName',
},
dataLocation: {
catalogId: 'catalogId',
resourceArn: 'resourceArn',
},
lfTag: {
catalogId: 'catalogId',
tagKey: 'tagKey',
tagValues: ['tagValues'],
},
lfTagPolicy: {
catalogId: 'catalogId',
expression: [{
tagKey: 'tagKey',
tagValues: ['tagValues'],
}],
resourceType: 'resourceType',
},
table: {
catalogId: 'catalogId',
databaseName: 'databaseName',
// the properties below are optional
name: 'name',
tableWildcard: tableWildcard,
},
tableWithColumns: {
catalogId: 'catalogId',
databaseName: 'databaseName',
name: 'name',
// the properties below are optional
columnNames: ['columnNames'],
columnWildcard: {
excludedColumnNames: ['excludedColumnNames'],
},
},
},
// the properties below are optional
catalog: 'catalog',
};
Properties
| Name | Type | Description |
|---|---|---|
| permissions | string[] | The permissions granted or revoked. |
| permissions | string[] | Indicates the ability to grant permissions (as a subset of permissions granted). |
| principal | IResolvable | Data | The principal to be granted a permission. |
| resource | IResolvable | Resource | The resource to be granted or revoked permissions. |
| catalog? | string | The identifier for the Data Catalog . |
permissions
Type:
string[]
The permissions granted or revoked.
permissionsWithGrantOption
Type:
string[]
Indicates the ability to grant permissions (as a subset of permissions granted).
principal
Type:
IResolvable | Data
The principal to be granted a permission.
resource
Type:
IResolvable | Resource
The resource to be granted or revoked permissions.
catalog?
Type:
string
(optional)
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.

.NET
Java
Python
TypeScript