CfnTagAssociationProps
- class aws_cdk.aws_lakeformation.CfnTagAssociationProps(*, lf_tags, resource)
Bases:
object
Properties for defining a
CfnTagAssociation
.- Parameters:
lf_tags (
Union
[IResolvable
,Sequence
[Union
[IResolvable
,LFTagPairProperty
,Dict
[str
,Any
]]]]) – A structure containing an LF-tag key-value pair.resource (
Union
[IResolvable
,ResourceProperty
,Dict
[str
,Any
]]) – UTF-8 string (valid values:DATABASE | TABLE
). The resource for which the LF-tag policy applies.
- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lakeformation as lakeformation # catalog: Any # table_wildcard: Any cfn_tag_association_props = lakeformation.CfnTagAssociationProps( lf_tags=[lakeformation.CfnTagAssociation.LFTagPairProperty( catalog_id="catalogId", tag_key="tagKey", tag_values=["tagValues"] )], resource=lakeformation.CfnTagAssociation.ResourceProperty( catalog=catalog, database=lakeformation.CfnTagAssociation.DatabaseResourceProperty( catalog_id="catalogId", name="name" ), table=lakeformation.CfnTagAssociation.TableResourceProperty( catalog_id="catalogId", database_name="databaseName", # the properties below are optional name="name", table_wildcard=table_wildcard ), table_with_columns=lakeformation.CfnTagAssociation.TableWithColumnsResourceProperty( catalog_id="catalogId", column_names=["columnNames"], database_name="databaseName", name="name" ) ) )
Attributes
- lf_tags
A structure containing an LF-tag key-value pair.
- resource
DATABASE | TABLE
).The resource for which the LF-tag policy applies.
- Link:
- Type:
UTF-8 string (valid values