aws-cdk-lib.aws_lakeformation.CfnPermissions.ResourceProperty

interface ResourceProperty

LanguageType name
.NETAmazon.CDK.AWS.LakeFormation.CfnPermissions.ResourceProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awslakeformation#CfnPermissions_ResourceProperty
Javasoftware.amazon.awscdk.services.lakeformation.CfnPermissions.ResourceProperty
Pythonaws_cdk.aws_lakeformation.CfnPermissions.ResourceProperty
TypeScript aws-cdk-lib » aws_lakeformation » CfnPermissions » 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';
const resourceProperty: lakeformation.CfnPermissions.ResourceProperty = {
  databaseResource: {
    catalogId: 'catalogId',
    name: 'name',
  },
  dataLocationResource: {
    catalogId: 'catalogId',
    s3Resource: 's3Resource',
  },
  tableResource: {
    catalogId: 'catalogId',
    databaseName: 'databaseName',
    name: 'name',
    tableWildcard: { },
  },
  tableWithColumnsResource: {
    catalogId: 'catalogId',
    columnNames: ['columnNames'],
    columnWildcard: {
      excludedColumnNames: ['excludedColumnNames'],
    },
    databaseName: 'databaseName',
    name: 'name',
  },
};

Properties

NameTypeDescription
dataLocationResource?IResolvable | DataLocationResourcePropertyA structure for a data location object where permissions are granted or revoked.
databaseResource?IResolvable | DatabaseResourcePropertyA structure for the database object.
tableResource?IResolvable | TableResourcePropertyA structure for the table object.
tableWithColumnsResource?IResolvable | TableWithColumnsResourcePropertyA structure for a table with columns object.

dataLocationResource?

Type: IResolvable | DataLocationResourceProperty (optional)

A structure for a data location object where permissions are granted or revoked.


databaseResource?

Type: IResolvable | DatabaseResourceProperty (optional)

A structure for the database object.


tableResource?

Type: IResolvable | TableResourceProperty (optional)

A structure for the table object.

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


tableWithColumnsResource?

Type: IResolvable | TableWithColumnsResourceProperty (optional)

A structure for a table with columns object.

This object is only used when granting a SELECT permission.