interface LFTagPolicyResourceProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.LakeFormation.CfnPrincipalPermissions.LFTagPolicyResourceProperty |
Java | software.amazon.awscdk.services.lakeformation.CfnPrincipalPermissions.LFTagPolicyResourceProperty |
Python | aws_cdk.aws_lakeformation.CfnPrincipalPermissions.LFTagPolicyResourceProperty |
TypeScript | @aws-cdk/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 * as lakeformation from '@aws-cdk/aws-lakeformation';
const lFTagPolicyResourceProperty: lakeformation.CfnPrincipalPermissions.LFTagPolicyResourceProperty = {
catalogId: 'catalogId',
expression: [{
tagKey: 'tagKey',
tagValues: ['tagValues'],
}],
resourceType: 'resourceType',
};
Properties
Name | Type | Description |
---|---|---|
catalog | string | The identifier for the Data Catalog . |
expression | IResolvable | IResolvable | LFTag [] | A list of LF-tag conditions that apply to the resource's LF-tag policy. |
resource | string | The 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
|
LFTag
[]
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.