aws-cdk-lib.aws_lakeformation.CfnPrincipalPermissions.DatabaseResourceProperty

interface DatabaseResourceProperty

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

A structure for the database object.

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 databaseResourceProperty: lakeformation.CfnPrincipalPermissions.DatabaseResourceProperty = {
  catalogId: 'catalogId',
  name: 'name',
};

Properties

NameTypeDescription
catalogIdstringThe identifier for the Data Catalog.
namestringThe name of the database resource.

catalogId

Type: string

The identifier for the Data Catalog.

By default, it is the account ID of the caller.


name

Type: string

The name of the database resource.

Unique to the Data Catalog.