aws-cdk-lib.aws_lakeformation.CfnPrincipalPermissions.LFTagPolicyResourceProperty

interface LFTagPolicyResourceProperty

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

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

A structure that allows an admin to grant user permissions on certain conditions. For example, granting a role access to all columns that do not have the LF-tag 'PII' in tables that have the LF-tag 'Prod'.

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 lFTagPolicyResourceProperty: lakeformation.CfnPrincipalPermissions.LFTagPolicyResourceProperty = {
  catalogId: 'catalogId',
  expression: [{
    tagKey: 'tagKey',
    tagValues: ['tagValues'],
  }],
  resourceType: 'resourceType',
};

Properties

NameTypeDescription
catalogIdstringThe identifier for the Data Catalog .
expressionIResolvable | IResolvable | LFTagProperty[]A list of LF-tag conditions that apply to the resource's LF-tag policy.
resourceTypestringThe resource type for which the LF-tag policy applies.

catalogId

Type: string

The identifier for the Data Catalog .

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.


expression

Type: IResolvable | IResolvable | LFTagProperty[]

A list of LF-tag conditions that apply to the resource's LF-tag policy.


resourceType

Type: string

The resource type for which the LF-tag policy applies.