interface CfnTagAssociationProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.LakeFormation.CfnTagAssociationProps |
Java | software.amazon.awscdk.services.lakeformation.CfnTagAssociationProps |
Python | aws_cdk.aws_lakeformation.CfnTagAssociationProps |
TypeScript | @aws-cdk/aws-lakeformation » CfnTagAssociationProps |
Properties for defining a CfnTagAssociation.
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';
declare const catalog: any;
declare const tableWildcard: any;
const cfnTagAssociationProps: lakeformation.CfnTagAssociationProps = {
lfTags: [{
catalogId: 'catalogId',
tagKey: 'tagKey',
tagValues: ['tagValues'],
}],
resource: {
catalog: catalog,
database: {
catalogId: 'catalogId',
name: 'name',
},
table: {
catalogId: 'catalogId',
databaseName: 'databaseName',
// the properties below are optional
name: 'name',
tableWildcard: tableWildcard,
},
tableWithColumns: {
catalogId: 'catalogId',
columnNames: ['columnNames'],
databaseName: 'databaseName',
name: 'name',
},
},
};
Properties
| Name | Type | Description | |
|---|---|---|---|
| lf | IResolvable | IResolvable | LFTag[] | A structure containing an LF-tag key-value pair. | |
| resource | IResolvable | Resource | UTF-8 string (valid values: `DATABASE | TABLE` ). |
lfTags
Type:
IResolvable | IResolvable | LFTag[]
A structure containing an LF-tag key-value pair.
resource
Type:
IResolvable | Resource
UTF-8 string (valid values: DATABASE | TABLE ).
The resource for which the LF-tag policy applies.

.NET
Java
Python
TypeScript