aws-cdk-lib.aws_lakeformation.CfnPermissionsProps

interface CfnPermissionsProps

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

Properties for defining a CfnPermissions.

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 cfnPermissionsProps: lakeformation.CfnPermissionsProps = {
  dataLakePrincipal: {
    dataLakePrincipalIdentifier: 'dataLakePrincipalIdentifier',
  },
  resource: {
    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',
    },
  },

  // the properties below are optional
  permissions: ['permissions'],
  permissionsWithGrantOption: ['permissionsWithGrantOption'],
};

Properties

NameTypeDescription
dataLakePrincipalIResolvable | DataLakePrincipalPropertyThe AWS Lake Formation principal.
resourceIResolvable | ResourcePropertyA structure for the resource.
permissions?string[]The permissions granted or revoked.
permissionsWithGrantOption?string[]Indicates the ability to grant permissions (as a subset of permissions granted).

dataLakePrincipal

Type: IResolvable | DataLakePrincipalProperty

The AWS Lake Formation principal.


resource

Type: IResolvable | ResourceProperty

A structure for the resource.


permissions?

Type: string[] (optional)

The permissions granted or revoked.


permissionsWithGrantOption?

Type: string[] (optional)

Indicates the ability to grant permissions (as a subset of permissions granted).