CfnTagAssociationProps

class aws_cdk.aws_lakeformation.CfnTagAssociationProps(*, lf_tags, resource)

Bases: object

Properties for defining a CfnTagAssociation.

Parameters:
Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lakeformation-tagassociation.html

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.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lakeformation-tagassociation.html#cfn-lakeformation-tagassociation-lftags

resource

DATABASE | TABLE ).

The resource for which the LF-tag policy applies.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lakeformation-tagassociation.html#cfn-lakeformation-tagassociation-resource

Type:

UTF-8 string (valid values