CfnTagProps

class aws_cdk.aws_lakeformation.CfnTagProps(*, tag_key, tag_values, catalog_id=None)

Bases: object

Properties for defining a CfnTag.

Parameters:
  • tag_key (str) – UTF-8 string, not less than 1 or more than 255 bytes long, matching the single-line string pattern . The key-name for the LF-tag.

  • tag_values (Sequence[str]) – An array of UTF-8 strings, not less than 1 or more than 50 strings. A list of possible values of the corresponding TagKey of an LF-tag key-value pair.

  • catalog_id (Optional[str]) –

    Catalog id string, not less than 1 or more than 255 bytes long, matching the single-line string pattern . The identifier for the Data Catalog . By default, the account ID. 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.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lakeformation-tag.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

cfn_tag_props = lakeformation.CfnTagProps(
    tag_key="tagKey",
    tag_values=["tagValues"],

    # the properties below are optional
    catalog_id="catalogId"
)

Attributes

catalog_id

//docs.aws.amazon.com/lake-formation/latest/dg/aws-lake-formation-api-aws-lake-formation-api-common.html>`_ .

The identifier for the Data Catalog . By default, the account ID. 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.

Link:

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

Type:

Catalog id string, not less than 1 or more than 255 bytes long, matching the `single-line string pattern <https

tag_key

//docs.aws.amazon.com/lake-formation/latest/dg/aws-lake-formation-api-aws-lake-formation-api-common.html>`_ .

The key-name for the LF-tag.

Link:

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

Type:

UTF-8 string, not less than 1 or more than 255 bytes long, matching the `single-line string pattern <https

tag_values

An array of UTF-8 strings, not less than 1 or more than 50 strings.

A list of possible values of the corresponding TagKey of an LF-tag key-value pair.

Link:

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