aws-cdk-lib.aws_lakeformation.CfnPrincipalPermissions.ResourceProperty

interface ResourceProperty

LanguageType name
.NETAmazon.CDK.AWS.LakeFormation.CfnPrincipalPermissions.ResourceProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awslakeformation#CfnPrincipalPermissions_ResourceProperty
Javasoftware.amazon.awscdk.services.lakeformation.CfnPrincipalPermissions.ResourceProperty
Pythonaws_cdk.aws_lakeformation.CfnPrincipalPermissions.ResourceProperty
TypeScript aws-cdk-lib » aws_lakeformation » CfnPrincipalPermissions » ResourceProperty

A structure for the resource.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lakeformation as lakeformation } from 'aws-cdk-lib';

declare const catalog: any;
declare const tableWildcard: any;
const resourceProperty: lakeformation.CfnPrincipalPermissions.ResourceProperty = {
  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'],
    },
  },
};

Properties

NameTypeDescription
catalog?anyThe identifier for the Data Catalog.
dataCellsFilter?IResolvable | DataCellsFilterResourcePropertyA data cell filter.
dataLocation?IResolvable | DataLocationResourcePropertyThe location of an Amazon S3 path where permissions are granted or revoked.
database?IResolvable | DatabaseResourcePropertyThe database for the resource.
lfTag?IResolvable | LFTagKeyResourcePropertyThe LF-tag key and values attached to a resource.
lfTagPolicy?IResolvable | LFTagPolicyResourcePropertyA list of LF-tag conditions that define a resource's LF-tag policy.
table?IResolvable | TableResourcePropertyThe table for the resource.
tableWithColumns?IResolvable | TableWithColumnsResourcePropertyThe table with columns for the resource.

catalog?

Type: any (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 AWS Lake Formation environment.


dataCellsFilter?

Type: IResolvable | DataCellsFilterResourceProperty (optional)

A data cell filter.


dataLocation?

Type: IResolvable | DataLocationResourceProperty (optional)

The location of an Amazon S3 path where permissions are granted or revoked.


database?

Type: IResolvable | DatabaseResourceProperty (optional)

The database for the resource.

Unique to the Data Catalog. A database is a set of associated table definitions organized into a logical group. You can Grant and Revoke database permissions to a principal.


lfTag?

Type: IResolvable | LFTagKeyResourceProperty (optional)

The LF-tag key and values attached to a resource.


lfTagPolicy?

Type: IResolvable | LFTagPolicyResourceProperty (optional)

A list of LF-tag conditions that define a resource's LF-tag policy.


table?

Type: IResolvable | TableResourceProperty (optional)

The table for the resource.

A table is a metadata definition that represents your data. You can Grant and Revoke table privileges to a principal.


tableWithColumns?

Type: IResolvable | TableWithColumnsResourceProperty (optional)

The table with columns for the resource.

A principal with permissions to this resource can select metadata from the columns of a table in the Data Catalog and the underlying data in Amazon S3.