1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. lakeformation
  5. TagAssociation

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi

aws-native.lakeformation.TagAssociation

Explore with Pulumi AI

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi

A resource schema representing a Lake Formation Tag Association. While tag associations are not explicit Lake Formation resources, this CloudFormation resource can be used to associate tags with Lake Formation entities.

Create TagAssociation Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new TagAssociation(name: string, args: TagAssociationArgs, opts?: CustomResourceOptions);
@overload
def TagAssociation(resource_name: str,
                   args: TagAssociationArgs,
                   opts: Optional[ResourceOptions] = None)

@overload
def TagAssociation(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   lf_tags: Optional[Sequence[TagAssociationLfTagPairArgs]] = None,
                   resource: Optional[TagAssociationResourceArgs] = None)
func NewTagAssociation(ctx *Context, name string, args TagAssociationArgs, opts ...ResourceOption) (*TagAssociation, error)
public TagAssociation(string name, TagAssociationArgs args, CustomResourceOptions? opts = null)
public TagAssociation(String name, TagAssociationArgs args)
public TagAssociation(String name, TagAssociationArgs args, CustomResourceOptions options)
type: aws-native:lakeformation:TagAssociation
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. TagAssociationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. TagAssociationArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. TagAssociationArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. TagAssociationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. TagAssociationArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

TagAssociation Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The TagAssociation resource accepts the following input properties:

LfTags This property is required. List<Pulumi.AwsNative.LakeFormation.Inputs.TagAssociationLfTagPair>
List of Lake Formation Tags to associate with the Lake Formation Resource
Resource This property is required. Pulumi.AwsNative.LakeFormation.Inputs.TagAssociationResource
Resource to tag with the Lake Formation Tags
LfTags This property is required. []TagAssociationLfTagPairArgs
List of Lake Formation Tags to associate with the Lake Formation Resource
Resource This property is required. TagAssociationResourceArgs
Resource to tag with the Lake Formation Tags
lfTags This property is required. List<TagAssociationLfTagPair>
List of Lake Formation Tags to associate with the Lake Formation Resource
resource This property is required. TagAssociationResource
Resource to tag with the Lake Formation Tags
lfTags This property is required. TagAssociationLfTagPair[]
List of Lake Formation Tags to associate with the Lake Formation Resource
resource This property is required. TagAssociationResource
Resource to tag with the Lake Formation Tags
lf_tags This property is required. Sequence[TagAssociationLfTagPairArgs]
List of Lake Formation Tags to associate with the Lake Formation Resource
resource This property is required. TagAssociationResourceArgs
Resource to tag with the Lake Formation Tags
lfTags This property is required. List<Property Map>
List of Lake Formation Tags to associate with the Lake Formation Resource
resource This property is required. Property Map
Resource to tag with the Lake Formation Tags

Outputs

All input properties are implicitly available as output properties. Additionally, the TagAssociation resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
ResourceIdentifier string
Unique string identifying the resource. Used as primary identifier, which ideally should be a string
TagsIdentifier string
Unique string identifying the resource's tags. Used as primary identifier, which ideally should be a string
Id string
The provider-assigned unique ID for this managed resource.
ResourceIdentifier string
Unique string identifying the resource. Used as primary identifier, which ideally should be a string
TagsIdentifier string
Unique string identifying the resource's tags. Used as primary identifier, which ideally should be a string
id String
The provider-assigned unique ID for this managed resource.
resourceIdentifier String
Unique string identifying the resource. Used as primary identifier, which ideally should be a string
tagsIdentifier String
Unique string identifying the resource's tags. Used as primary identifier, which ideally should be a string
id string
The provider-assigned unique ID for this managed resource.
resourceIdentifier string
Unique string identifying the resource. Used as primary identifier, which ideally should be a string
tagsIdentifier string
Unique string identifying the resource's tags. Used as primary identifier, which ideally should be a string
id str
The provider-assigned unique ID for this managed resource.
resource_identifier str
Unique string identifying the resource. Used as primary identifier, which ideally should be a string
tags_identifier str
Unique string identifying the resource's tags. Used as primary identifier, which ideally should be a string
id String
The provider-assigned unique ID for this managed resource.
resourceIdentifier String
Unique string identifying the resource. Used as primary identifier, which ideally should be a string
tagsIdentifier String
Unique string identifying the resource's tags. Used as primary identifier, which ideally should be a string

Supporting Types

TagAssociationDatabaseResource
, TagAssociationDatabaseResourceArgs

CatalogId This property is required. string
The identifier for the Data Catalog . By default, it should be the account ID of the caller.
Name This property is required. string
The name of the database resource. Unique to the Data Catalog.
CatalogId This property is required. string
The identifier for the Data Catalog . By default, it should be the account ID of the caller.
Name This property is required. string
The name of the database resource. Unique to the Data Catalog.
catalogId This property is required. String
The identifier for the Data Catalog . By default, it should be the account ID of the caller.
name This property is required. String
The name of the database resource. Unique to the Data Catalog.
catalogId This property is required. string
The identifier for the Data Catalog . By default, it should be the account ID of the caller.
name This property is required. string
The name of the database resource. Unique to the Data Catalog.
catalog_id This property is required. str
The identifier for the Data Catalog . By default, it should be the account ID of the caller.
name This property is required. str
The name of the database resource. Unique to the Data Catalog.
catalogId This property is required. String
The identifier for the Data Catalog . By default, it should be the account ID of the caller.
name This property is required. String
The name of the database resource. Unique to the Data Catalog.

TagAssociationLfTagPair
, TagAssociationLfTagPairArgs

CatalogId This property is required. string
TagKey This property is required. string
TagValues This property is required. List<string>
CatalogId This property is required. string
TagKey This property is required. string
TagValues This property is required. []string
catalogId This property is required. String
tagKey This property is required. String
tagValues This property is required. List<String>
catalogId This property is required. string
tagKey This property is required. string
tagValues This property is required. string[]
catalog_id This property is required. str
tag_key This property is required. str
tag_values This property is required. Sequence[str]
catalogId This property is required. String
tagKey This property is required. String
tagValues This property is required. List<String>

TagAssociationResource
, TagAssociationResourceArgs

Catalog Pulumi.AwsNative.LakeFormation.Inputs.TagAssociationCatalogResource
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.
Database Pulumi.AwsNative.LakeFormation.Inputs.TagAssociationDatabaseResource
The database for the resource. Unique to the Data Catalog. A database is a set of associated table definitions organized into a logical group. You can Grant and Revoke database permissions to a principal.
Table Pulumi.AwsNative.LakeFormation.Inputs.TagAssociationTableResource
The table for the resource. A table is a metadata definition that represents your data. You can Grant and Revoke table privileges to a principal.
TableWithColumns Pulumi.AwsNative.LakeFormation.Inputs.TagAssociationTableWithColumnsResource
The table with columns for the resource. A principal with permissions to this resource can select metadata from the columns of a table in the Data Catalog and the underlying data in Amazon S3.
Catalog TagAssociationCatalogResource
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.
Database TagAssociationDatabaseResource
The database for the resource. Unique to the Data Catalog. A database is a set of associated table definitions organized into a logical group. You can Grant and Revoke database permissions to a principal.
Table TagAssociationTableResource
The table for the resource. A table is a metadata definition that represents your data. You can Grant and Revoke table privileges to a principal.
TableWithColumns TagAssociationTableWithColumnsResource
The table with columns for the resource. A principal with permissions to this resource can select metadata from the columns of a table in the Data Catalog and the underlying data in Amazon S3.
catalog TagAssociationCatalogResource
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.
database TagAssociationDatabaseResource
The database for the resource. Unique to the Data Catalog. A database is a set of associated table definitions organized into a logical group. You can Grant and Revoke database permissions to a principal.
table TagAssociationTableResource
The table for the resource. A table is a metadata definition that represents your data. You can Grant and Revoke table privileges to a principal.
tableWithColumns TagAssociationTableWithColumnsResource
The table with columns for the resource. A principal with permissions to this resource can select metadata from the columns of a table in the Data Catalog and the underlying data in Amazon S3.
catalog TagAssociationCatalogResource
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.
database TagAssociationDatabaseResource
The database for the resource. Unique to the Data Catalog. A database is a set of associated table definitions organized into a logical group. You can Grant and Revoke database permissions to a principal.
table TagAssociationTableResource
The table for the resource. A table is a metadata definition that represents your data. You can Grant and Revoke table privileges to a principal.
tableWithColumns TagAssociationTableWithColumnsResource
The table with columns for the resource. A principal with permissions to this resource can select metadata from the columns of a table in the Data Catalog and the underlying data in Amazon S3.
catalog TagAssociationCatalogResource
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.
database TagAssociationDatabaseResource
The database for the resource. Unique to the Data Catalog. A database is a set of associated table definitions organized into a logical group. You can Grant and Revoke database permissions to a principal.
table TagAssociationTableResource
The table for the resource. A table is a metadata definition that represents your data. You can Grant and Revoke table privileges to a principal.
table_with_columns TagAssociationTableWithColumnsResource
The table with columns for the resource. A principal with permissions to this resource can select metadata from the columns of a table in the Data Catalog and the underlying data in Amazon S3.
catalog Property Map
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.
database Property Map
The database for the resource. Unique to the Data Catalog. A database is a set of associated table definitions organized into a logical group. You can Grant and Revoke database permissions to a principal.
table Property Map
The table for the resource. A table is a metadata definition that represents your data. You can Grant and Revoke table privileges to a principal.
tableWithColumns Property Map
The table with columns for the resource. A principal with permissions to this resource can select metadata from the columns of a table in the Data Catalog and the underlying data in Amazon S3.

TagAssociationTableResource
, TagAssociationTableResourceArgs

CatalogId This property is required. string
The identifier for the Data Catalog . By default, it is the account ID of the caller.
DatabaseName This property is required. string
The name of the database for the table. Unique to a Data Catalog. A database is a set of associated table definitions organized into a logical group. You can Grant and Revoke database privileges to a principal.
Name string
The name of the table.
TableWildcard Pulumi.AwsNative.LakeFormation.Inputs.TagAssociationTableWildcard

A wildcard object representing every table under a database.This is an object with no properties that effectively behaves as a true or false depending on whether not it is passed as a parameter. The valid inputs for a property with this type in either yaml or json is null or {}.

At least one of TableResource$Name or TableResource$TableWildcard is required.

CatalogId This property is required. string
The identifier for the Data Catalog . By default, it is the account ID of the caller.
DatabaseName This property is required. string
The name of the database for the table. Unique to a Data Catalog. A database is a set of associated table definitions organized into a logical group. You can Grant and Revoke database privileges to a principal.
Name string
The name of the table.
TableWildcard TagAssociationTableWildcard

A wildcard object representing every table under a database.This is an object with no properties that effectively behaves as a true or false depending on whether not it is passed as a parameter. The valid inputs for a property with this type in either yaml or json is null or {}.

At least one of TableResource$Name or TableResource$TableWildcard is required.

catalogId This property is required. String
The identifier for the Data Catalog . By default, it is the account ID of the caller.
databaseName This property is required. String
The name of the database for the table. Unique to a Data Catalog. A database is a set of associated table definitions organized into a logical group. You can Grant and Revoke database privileges to a principal.
name String
The name of the table.
tableWildcard TagAssociationTableWildcard

A wildcard object representing every table under a database.This is an object with no properties that effectively behaves as a true or false depending on whether not it is passed as a parameter. The valid inputs for a property with this type in either yaml or json is null or {}.

At least one of TableResource$Name or TableResource$TableWildcard is required.

catalogId This property is required. string
The identifier for the Data Catalog . By default, it is the account ID of the caller.
databaseName This property is required. string
The name of the database for the table. Unique to a Data Catalog. A database is a set of associated table definitions organized into a logical group. You can Grant and Revoke database privileges to a principal.
name string
The name of the table.
tableWildcard TagAssociationTableWildcard

A wildcard object representing every table under a database.This is an object with no properties that effectively behaves as a true or false depending on whether not it is passed as a parameter. The valid inputs for a property with this type in either yaml or json is null or {}.

At least one of TableResource$Name or TableResource$TableWildcard is required.

catalog_id This property is required. str
The identifier for the Data Catalog . By default, it is the account ID of the caller.
database_name This property is required. str
The name of the database for the table. Unique to a Data Catalog. A database is a set of associated table definitions organized into a logical group. You can Grant and Revoke database privileges to a principal.
name str
The name of the table.
table_wildcard TagAssociationTableWildcard

A wildcard object representing every table under a database.This is an object with no properties that effectively behaves as a true or false depending on whether not it is passed as a parameter. The valid inputs for a property with this type in either yaml or json is null or {}.

At least one of TableResource$Name or TableResource$TableWildcard is required.

catalogId This property is required. String
The identifier for the Data Catalog . By default, it is the account ID of the caller.
databaseName This property is required. String
The name of the database for the table. Unique to a Data Catalog. A database is a set of associated table definitions organized into a logical group. You can Grant and Revoke database privileges to a principal.
name String
The name of the table.
tableWildcard Property Map

A wildcard object representing every table under a database.This is an object with no properties that effectively behaves as a true or false depending on whether not it is passed as a parameter. The valid inputs for a property with this type in either yaml or json is null or {}.

At least one of TableResource$Name or TableResource$TableWildcard is required.

TagAssociationTableWithColumnsResource
, TagAssociationTableWithColumnsResourceArgs

CatalogId This property is required. string

A wildcard object representing every table under a database.

At least one of TableResource$Name or TableResource$TableWildcard is required.

ColumnNames This property is required. List<string>
The list of column names for the table. At least one of ColumnNames or ColumnWildcard is required.
DatabaseName This property is required. string
The name of the database for the table with columns resource. Unique to the Data Catalog. A database is a set of associated table definitions organized into a logical group. You can Grant and Revoke database privileges to a principal.
Name This property is required. string
The name of the table resource. A table is a metadata definition that represents your data. You can Grant and Revoke table privileges to a principal.
CatalogId This property is required. string

A wildcard object representing every table under a database.

At least one of TableResource$Name or TableResource$TableWildcard is required.

ColumnNames This property is required. []string
The list of column names for the table. At least one of ColumnNames or ColumnWildcard is required.
DatabaseName This property is required. string
The name of the database for the table with columns resource. Unique to the Data Catalog. A database is a set of associated table definitions organized into a logical group. You can Grant and Revoke database privileges to a principal.
Name This property is required. string
The name of the table resource. A table is a metadata definition that represents your data. You can Grant and Revoke table privileges to a principal.
catalogId This property is required. String

A wildcard object representing every table under a database.

At least one of TableResource$Name or TableResource$TableWildcard is required.

columnNames This property is required. List<String>
The list of column names for the table. At least one of ColumnNames or ColumnWildcard is required.
databaseName This property is required. String
The name of the database for the table with columns resource. Unique to the Data Catalog. A database is a set of associated table definitions organized into a logical group. You can Grant and Revoke database privileges to a principal.
name This property is required. String
The name of the table resource. A table is a metadata definition that represents your data. You can Grant and Revoke table privileges to a principal.
catalogId This property is required. string

A wildcard object representing every table under a database.

At least one of TableResource$Name or TableResource$TableWildcard is required.

columnNames This property is required. string[]
The list of column names for the table. At least one of ColumnNames or ColumnWildcard is required.
databaseName This property is required. string
The name of the database for the table with columns resource. Unique to the Data Catalog. A database is a set of associated table definitions organized into a logical group. You can Grant and Revoke database privileges to a principal.
name This property is required. string
The name of the table resource. A table is a metadata definition that represents your data. You can Grant and Revoke table privileges to a principal.
catalog_id This property is required. str

A wildcard object representing every table under a database.

At least one of TableResource$Name or TableResource$TableWildcard is required.

column_names This property is required. Sequence[str]
The list of column names for the table. At least one of ColumnNames or ColumnWildcard is required.
database_name This property is required. str
The name of the database for the table with columns resource. Unique to the Data Catalog. A database is a set of associated table definitions organized into a logical group. You can Grant and Revoke database privileges to a principal.
name This property is required. str
The name of the table resource. A table is a metadata definition that represents your data. You can Grant and Revoke table privileges to a principal.
catalogId This property is required. String

A wildcard object representing every table under a database.

At least one of TableResource$Name or TableResource$TableWildcard is required.

columnNames This property is required. List<String>
The list of column names for the table. At least one of ColumnNames or ColumnWildcard is required.
databaseName This property is required. String
The name of the database for the table with columns resource. Unique to the Data Catalog. A database is a set of associated table definitions organized into a logical group. You can Grant and Revoke database privileges to a principal.
name This property is required. String
The name of the table resource. A table is a metadata definition that represents your data. You can Grant and Revoke table privileges to a principal.

Package Details

Repository
AWS Native pulumi/pulumi-aws-native
License
Apache-2.0

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi