Try AWS Native preview for resources not in the classic version.
aws.lakeformation.ResourceLfTags
Explore with Pulumi AI
Try AWS Native preview for resources not in the classic version.
Manages an attachment between one or more existing LF-tags and an existing Lake Formation resource.
Example Usage
Database Example
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.lakeformation.LfTag("example", {
key: "right",
values: [
"abbey",
"village",
"luffield",
"woodcote",
"copse",
"chapel",
"stowe",
"club",
],
});
const exampleResourceLfTags = new aws.lakeformation.ResourceLfTags("example", {
database: {
name: exampleAwsGlueCatalogDatabase.name,
},
lfTags: [{
key: example.key,
value: "stowe",
}],
});
import pulumi
import pulumi_aws as aws
example = aws.lakeformation.LfTag("example",
key="right",
values=[
"abbey",
"village",
"luffield",
"woodcote",
"copse",
"chapel",
"stowe",
"club",
])
example_resource_lf_tags = aws.lakeformation.ResourceLfTags("example",
database={
"name": example_aws_glue_catalog_database["name"],
},
lf_tags=[{
"key": example.key,
"value": "stowe",
}])
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lakeformation"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := lakeformation.NewLfTag(ctx, "example", &lakeformation.LfTagArgs{
Key: pulumi.String("right"),
Values: pulumi.StringArray{
pulumi.String("abbey"),
pulumi.String("village"),
pulumi.String("luffield"),
pulumi.String("woodcote"),
pulumi.String("copse"),
pulumi.String("chapel"),
pulumi.String("stowe"),
pulumi.String("club"),
},
})
if err != nil {
return err
}
_, err = lakeformation.NewResourceLfTags(ctx, "example", &lakeformation.ResourceLfTagsArgs{
Database: &lakeformation.ResourceLfTagsDatabaseArgs{
Name: pulumi.Any(exampleAwsGlueCatalogDatabase.Name),
},
LfTags: lakeformation.ResourceLfTagsLfTagArray{
&lakeformation.ResourceLfTagsLfTagArgs{
Key: example.Key,
Value: pulumi.String("stowe"),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.LakeFormation.LfTag("example", new()
{
Key = "right",
Values = new[]
{
"abbey",
"village",
"luffield",
"woodcote",
"copse",
"chapel",
"stowe",
"club",
},
});
var exampleResourceLfTags = new Aws.LakeFormation.ResourceLfTags("example", new()
{
Database = new Aws.LakeFormation.Inputs.ResourceLfTagsDatabaseArgs
{
Name = exampleAwsGlueCatalogDatabase.Name,
},
LfTags = new[]
{
new Aws.LakeFormation.Inputs.ResourceLfTagsLfTagArgs
{
Key = example.Key,
Value = "stowe",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.lakeformation.LfTag;
import com.pulumi.aws.lakeformation.LfTagArgs;
import com.pulumi.aws.lakeformation.ResourceLfTags;
import com.pulumi.aws.lakeformation.ResourceLfTagsArgs;
import com.pulumi.aws.lakeformation.inputs.ResourceLfTagsDatabaseArgs;
import com.pulumi.aws.lakeformation.inputs.ResourceLfTagsLfTagArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new LfTag("example", LfTagArgs.builder()
.key("right")
.values(
"abbey",
"village",
"luffield",
"woodcote",
"copse",
"chapel",
"stowe",
"club")
.build());
var exampleResourceLfTags = new ResourceLfTags("exampleResourceLfTags", ResourceLfTagsArgs.builder()
.database(ResourceLfTagsDatabaseArgs.builder()
.name(exampleAwsGlueCatalogDatabase.name())
.build())
.lfTags(ResourceLfTagsLfTagArgs.builder()
.key(example.key())
.value("stowe")
.build())
.build());
}
}
resources:
example:
type: aws:lakeformation:LfTag
properties:
key: right
values:
- abbey
- village
- luffield
- woodcote
- copse
- chapel
- stowe
- club
exampleResourceLfTags:
type: aws:lakeformation:ResourceLfTags
name: example
properties:
database:
name: ${exampleAwsGlueCatalogDatabase.name}
lfTags:
- key: ${example.key}
value: stowe
Multiple Tags Example
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.lakeformation.LfTag("example", {
key: "right",
values: [
"abbey",
"village",
"luffield",
"woodcote",
"copse",
"chapel",
"stowe",
"club",
],
});
const example2 = new aws.lakeformation.LfTag("example2", {
key: "left",
values: [
"farm",
"theloop",
"aintree",
"brooklands",
"maggotts",
"becketts",
"vale",
],
});
const exampleResourceLfTags = new aws.lakeformation.ResourceLfTags("example", {
database: {
name: exampleAwsGlueCatalogDatabase.name,
},
lfTags: [
{
key: "right",
value: "luffield",
},
{
key: "left",
value: "aintree",
},
],
});
import pulumi
import pulumi_aws as aws
example = aws.lakeformation.LfTag("example",
key="right",
values=[
"abbey",
"village",
"luffield",
"woodcote",
"copse",
"chapel",
"stowe",
"club",
])
example2 = aws.lakeformation.LfTag("example2",
key="left",
values=[
"farm",
"theloop",
"aintree",
"brooklands",
"maggotts",
"becketts",
"vale",
])
example_resource_lf_tags = aws.lakeformation.ResourceLfTags("example",
database={
"name": example_aws_glue_catalog_database["name"],
},
lf_tags=[
{
"key": "right",
"value": "luffield",
},
{
"key": "left",
"value": "aintree",
},
])
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lakeformation"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := lakeformation.NewLfTag(ctx, "example", &lakeformation.LfTagArgs{
Key: pulumi.String("right"),
Values: pulumi.StringArray{
pulumi.String("abbey"),
pulumi.String("village"),
pulumi.String("luffield"),
pulumi.String("woodcote"),
pulumi.String("copse"),
pulumi.String("chapel"),
pulumi.String("stowe"),
pulumi.String("club"),
},
})
if err != nil {
return err
}
_, err = lakeformation.NewLfTag(ctx, "example2", &lakeformation.LfTagArgs{
Key: pulumi.String("left"),
Values: pulumi.StringArray{
pulumi.String("farm"),
pulumi.String("theloop"),
pulumi.String("aintree"),
pulumi.String("brooklands"),
pulumi.String("maggotts"),
pulumi.String("becketts"),
pulumi.String("vale"),
},
})
if err != nil {
return err
}
_, err = lakeformation.NewResourceLfTags(ctx, "example", &lakeformation.ResourceLfTagsArgs{
Database: &lakeformation.ResourceLfTagsDatabaseArgs{
Name: pulumi.Any(exampleAwsGlueCatalogDatabase.Name),
},
LfTags: lakeformation.ResourceLfTagsLfTagArray{
&lakeformation.ResourceLfTagsLfTagArgs{
Key: pulumi.String("right"),
Value: pulumi.String("luffield"),
},
&lakeformation.ResourceLfTagsLfTagArgs{
Key: pulumi.String("left"),
Value: pulumi.String("aintree"),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.LakeFormation.LfTag("example", new()
{
Key = "right",
Values = new[]
{
"abbey",
"village",
"luffield",
"woodcote",
"copse",
"chapel",
"stowe",
"club",
},
});
var example2 = new Aws.LakeFormation.LfTag("example2", new()
{
Key = "left",
Values = new[]
{
"farm",
"theloop",
"aintree",
"brooklands",
"maggotts",
"becketts",
"vale",
},
});
var exampleResourceLfTags = new Aws.LakeFormation.ResourceLfTags("example", new()
{
Database = new Aws.LakeFormation.Inputs.ResourceLfTagsDatabaseArgs
{
Name = exampleAwsGlueCatalogDatabase.Name,
},
LfTags = new[]
{
new Aws.LakeFormation.Inputs.ResourceLfTagsLfTagArgs
{
Key = "right",
Value = "luffield",
},
new Aws.LakeFormation.Inputs.ResourceLfTagsLfTagArgs
{
Key = "left",
Value = "aintree",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.lakeformation.LfTag;
import com.pulumi.aws.lakeformation.LfTagArgs;
import com.pulumi.aws.lakeformation.ResourceLfTags;
import com.pulumi.aws.lakeformation.ResourceLfTagsArgs;
import com.pulumi.aws.lakeformation.inputs.ResourceLfTagsDatabaseArgs;
import com.pulumi.aws.lakeformation.inputs.ResourceLfTagsLfTagArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new LfTag("example", LfTagArgs.builder()
.key("right")
.values(
"abbey",
"village",
"luffield",
"woodcote",
"copse",
"chapel",
"stowe",
"club")
.build());
var example2 = new LfTag("example2", LfTagArgs.builder()
.key("left")
.values(
"farm",
"theloop",
"aintree",
"brooklands",
"maggotts",
"becketts",
"vale")
.build());
var exampleResourceLfTags = new ResourceLfTags("exampleResourceLfTags", ResourceLfTagsArgs.builder()
.database(ResourceLfTagsDatabaseArgs.builder()
.name(exampleAwsGlueCatalogDatabase.name())
.build())
.lfTags(
ResourceLfTagsLfTagArgs.builder()
.key("right")
.value("luffield")
.build(),
ResourceLfTagsLfTagArgs.builder()
.key("left")
.value("aintree")
.build())
.build());
}
}
resources:
example:
type: aws:lakeformation:LfTag
properties:
key: right
values:
- abbey
- village
- luffield
- woodcote
- copse
- chapel
- stowe
- club
example2:
type: aws:lakeformation:LfTag
properties:
key: left
values:
- farm
- theloop
- aintree
- brooklands
- maggotts
- becketts
- vale
exampleResourceLfTags:
type: aws:lakeformation:ResourceLfTags
name: example
properties:
database:
name: ${exampleAwsGlueCatalogDatabase.name}
lfTags:
- key: right
value: luffield
- key: left
value: aintree
Create ResourceLfTags Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ResourceLfTags(name: string, args: ResourceLfTagsArgs, opts?: CustomResourceOptions);
@overload
def ResourceLfTags(resource_name: str,
args: ResourceLfTagsArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ResourceLfTags(resource_name: str,
opts: Optional[ResourceOptions] = None,
lf_tags: Optional[Sequence[ResourceLfTagsLfTagArgs]] = None,
catalog_id: Optional[str] = None,
database: Optional[ResourceLfTagsDatabaseArgs] = None,
table: Optional[ResourceLfTagsTableArgs] = None,
table_with_columns: Optional[ResourceLfTagsTableWithColumnsArgs] = None)
func NewResourceLfTags(ctx *Context, name string, args ResourceLfTagsArgs, opts ...ResourceOption) (*ResourceLfTags, error)
public ResourceLfTags(string name, ResourceLfTagsArgs args, CustomResourceOptions? opts = null)
public ResourceLfTags(String name, ResourceLfTagsArgs args)
public ResourceLfTags(String name, ResourceLfTagsArgs args, CustomResourceOptions options)
type: aws:lakeformation:ResourceLfTags
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ResourceLfTagsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ResourceLfTagsArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ResourceLfTagsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ResourceLfTagsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ResourceLfTagsArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var resourceLfTagsResource = new Aws.LakeFormation.ResourceLfTags("resourceLfTagsResource", new()
{
LfTags = new[]
{
new Aws.LakeFormation.Inputs.ResourceLfTagsLfTagArgs
{
Key = "string",
Value = "string",
CatalogId = "string",
},
},
CatalogId = "string",
Database = new Aws.LakeFormation.Inputs.ResourceLfTagsDatabaseArgs
{
Name = "string",
CatalogId = "string",
},
Table = new Aws.LakeFormation.Inputs.ResourceLfTagsTableArgs
{
DatabaseName = "string",
CatalogId = "string",
Name = "string",
Wildcard = false,
},
TableWithColumns = new Aws.LakeFormation.Inputs.ResourceLfTagsTableWithColumnsArgs
{
DatabaseName = "string",
Name = "string",
CatalogId = "string",
ColumnNames = new[]
{
"string",
},
ExcludedColumnNames = new[]
{
"string",
},
Wildcard = false,
},
});
example, err := lakeformation.NewResourceLfTags(ctx, "resourceLfTagsResource", &lakeformation.ResourceLfTagsArgs{
LfTags: lakeformation.ResourceLfTagsLfTagArray{
&lakeformation.ResourceLfTagsLfTagArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
CatalogId: pulumi.String("string"),
},
},
CatalogId: pulumi.String("string"),
Database: &lakeformation.ResourceLfTagsDatabaseArgs{
Name: pulumi.String("string"),
CatalogId: pulumi.String("string"),
},
Table: &lakeformation.ResourceLfTagsTableArgs{
DatabaseName: pulumi.String("string"),
CatalogId: pulumi.String("string"),
Name: pulumi.String("string"),
Wildcard: pulumi.Bool(false),
},
TableWithColumns: &lakeformation.ResourceLfTagsTableWithColumnsArgs{
DatabaseName: pulumi.String("string"),
Name: pulumi.String("string"),
CatalogId: pulumi.String("string"),
ColumnNames: pulumi.StringArray{
pulumi.String("string"),
},
ExcludedColumnNames: pulumi.StringArray{
pulumi.String("string"),
},
Wildcard: pulumi.Bool(false),
},
})
var resourceLfTagsResource = new ResourceLfTags("resourceLfTagsResource", ResourceLfTagsArgs.builder()
.lfTags(ResourceLfTagsLfTagArgs.builder()
.key("string")
.value("string")
.catalogId("string")
.build())
.catalogId("string")
.database(ResourceLfTagsDatabaseArgs.builder()
.name("string")
.catalogId("string")
.build())
.table(ResourceLfTagsTableArgs.builder()
.databaseName("string")
.catalogId("string")
.name("string")
.wildcard(false)
.build())
.tableWithColumns(ResourceLfTagsTableWithColumnsArgs.builder()
.databaseName("string")
.name("string")
.catalogId("string")
.columnNames("string")
.excludedColumnNames("string")
.wildcard(false)
.build())
.build());
resource_lf_tags_resource = aws.lakeformation.ResourceLfTags("resourceLfTagsResource",
lf_tags=[{
"key": "string",
"value": "string",
"catalogId": "string",
}],
catalog_id="string",
database={
"name": "string",
"catalogId": "string",
},
table={
"databaseName": "string",
"catalogId": "string",
"name": "string",
"wildcard": False,
},
table_with_columns={
"databaseName": "string",
"name": "string",
"catalogId": "string",
"columnNames": ["string"],
"excludedColumnNames": ["string"],
"wildcard": False,
})
const resourceLfTagsResource = new aws.lakeformation.ResourceLfTags("resourceLfTagsResource", {
lfTags: [{
key: "string",
value: "string",
catalogId: "string",
}],
catalogId: "string",
database: {
name: "string",
catalogId: "string",
},
table: {
databaseName: "string",
catalogId: "string",
name: "string",
wildcard: false,
},
tableWithColumns: {
databaseName: "string",
name: "string",
catalogId: "string",
columnNames: ["string"],
excludedColumnNames: ["string"],
wildcard: false,
},
});
type: aws:lakeformation:ResourceLfTags
properties:
catalogId: string
database:
catalogId: string
name: string
lfTags:
- catalogId: string
key: string
value: string
table:
catalogId: string
databaseName: string
name: string
wildcard: false
tableWithColumns:
catalogId: string
columnNames:
- string
databaseName: string
excludedColumnNames:
- string
name: string
wildcard: false
ResourceLfTags Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The ResourceLfTags resource accepts the following input properties:
- List<Resource
Lf Tags Lf Tag> Set of LF-tags to attach to the resource. See below.
Exactly one of the following is required:
- Catalog
Id string - 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 Lake Formation environment.
- Database
Resource
Lf Tags Database - Configuration block for a database resource. See below.
- Table
Resource
Lf Tags Table - Configuration block for a table resource. See below.
- Table
With ResourceColumns Lf Tags Table With Columns Configuration block for a table with columns resource. See below.
The following arguments are optional:
- []Resource
Lf Tags Lf Tag Args Set of LF-tags to attach to the resource. See below.
Exactly one of the following is required:
- Catalog
Id string - 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 Lake Formation environment.
- Database
Resource
Lf Tags Database Args - Configuration block for a database resource. See below.
- Table
Resource
Lf Tags Table Args - Configuration block for a table resource. See below.
- Table
With ResourceColumns Lf Tags Table With Columns Args Configuration block for a table with columns resource. See below.
The following arguments are optional:
- List<Resource
Lf Tags Lf Tag> Set of LF-tags to attach to the resource. See below.
Exactly one of the following is required:
- catalog
Id String - 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 Lake Formation environment.
- database
Resource
Lf Tags Database - Configuration block for a database resource. See below.
- table
Resource
Lf Tags Table - Configuration block for a table resource. See below.
- table
With ResourceColumns Lf Tags Table With Columns Configuration block for a table with columns resource. See below.
The following arguments are optional:
- Resource
Lf Tags Lf Tag[] Set of LF-tags to attach to the resource. See below.
Exactly one of the following is required:
- catalog
Id string - 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 Lake Formation environment.
- database
Resource
Lf Tags Database - Configuration block for a database resource. See below.
- table
Resource
Lf Tags Table - Configuration block for a table resource. See below.
- table
With ResourceColumns Lf Tags Table With Columns Configuration block for a table with columns resource. See below.
The following arguments are optional:
- Sequence[Resource
Lf Tags Lf Tag Args] Set of LF-tags to attach to the resource. See below.
Exactly one of the following is required:
- catalog_
id str - 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 Lake Formation environment.
- database
Resource
Lf Tags Database Args - Configuration block for a database resource. See below.
- table
Resource
Lf Tags Table Args - Configuration block for a table resource. See below.
- table_
with_ Resourcecolumns Lf Tags Table With Columns Args Configuration block for a table with columns resource. See below.
The following arguments are optional:
- List<Property Map>
Set of LF-tags to attach to the resource. See below.
Exactly one of the following is required:
- catalog
Id String - 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 Lake Formation environment.
- database Property Map
- Configuration block for a database resource. See below.
- table Property Map
- Configuration block for a table resource. See below.
- table
With Property MapColumns Configuration block for a table with columns resource. See below.
The following arguments are optional:
Outputs
All input properties are implicitly available as output properties. Additionally, the ResourceLfTags resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing ResourceLfTags Resource
Get an existing ResourceLfTags resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ResourceLfTagsState, opts?: CustomResourceOptions): ResourceLfTags
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
catalog_id: Optional[str] = None,
database: Optional[ResourceLfTagsDatabaseArgs] = None,
lf_tags: Optional[Sequence[ResourceLfTagsLfTagArgs]] = None,
table: Optional[ResourceLfTagsTableArgs] = None,
table_with_columns: Optional[ResourceLfTagsTableWithColumnsArgs] = None) -> ResourceLfTags
func GetResourceLfTags(ctx *Context, name string, id IDInput, state *ResourceLfTagsState, opts ...ResourceOption) (*ResourceLfTags, error)
public static ResourceLfTags Get(string name, Input<string> id, ResourceLfTagsState? state, CustomResourceOptions? opts = null)
public static ResourceLfTags get(String name, Output<String> id, ResourceLfTagsState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Catalog
Id string - 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 Lake Formation environment.
- Database
Resource
Lf Tags Database - Configuration block for a database resource. See below.
- List<Resource
Lf Tags Lf Tag> Set of LF-tags to attach to the resource. See below.
Exactly one of the following is required:
- Table
Resource
Lf Tags Table - Configuration block for a table resource. See below.
- Table
With ResourceColumns Lf Tags Table With Columns Configuration block for a table with columns resource. See below.
The following arguments are optional:
- Catalog
Id string - 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 Lake Formation environment.
- Database
Resource
Lf Tags Database Args - Configuration block for a database resource. See below.
- []Resource
Lf Tags Lf Tag Args Set of LF-tags to attach to the resource. See below.
Exactly one of the following is required:
- Table
Resource
Lf Tags Table Args - Configuration block for a table resource. See below.
- Table
With ResourceColumns Lf Tags Table With Columns Args Configuration block for a table with columns resource. See below.
The following arguments are optional:
- catalog
Id String - 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 Lake Formation environment.
- database
Resource
Lf Tags Database - Configuration block for a database resource. See below.
- List<Resource
Lf Tags Lf Tag> Set of LF-tags to attach to the resource. See below.
Exactly one of the following is required:
- table
Resource
Lf Tags Table - Configuration block for a table resource. See below.
- table
With ResourceColumns Lf Tags Table With Columns Configuration block for a table with columns resource. See below.
The following arguments are optional:
- catalog
Id string - 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 Lake Formation environment.
- database
Resource
Lf Tags Database - Configuration block for a database resource. See below.
- Resource
Lf Tags Lf Tag[] Set of LF-tags to attach to the resource. See below.
Exactly one of the following is required:
- table
Resource
Lf Tags Table - Configuration block for a table resource. See below.
- table
With ResourceColumns Lf Tags Table With Columns Configuration block for a table with columns resource. See below.
The following arguments are optional:
- catalog_
id str - 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 Lake Formation environment.
- database
Resource
Lf Tags Database Args - Configuration block for a database resource. See below.
- Sequence[Resource
Lf Tags Lf Tag Args] Set of LF-tags to attach to the resource. See below.
Exactly one of the following is required:
- table
Resource
Lf Tags Table Args - Configuration block for a table resource. See below.
- table_
with_ Resourcecolumns Lf Tags Table With Columns Args Configuration block for a table with columns resource. See below.
The following arguments are optional:
- catalog
Id String - 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 Lake Formation environment.
- database Property Map
- Configuration block for a database resource. See below.
- List<Property Map>
Set of LF-tags to attach to the resource. See below.
Exactly one of the following is required:
- table Property Map
- Configuration block for a table resource. See below.
- table
With Property MapColumns Configuration block for a table with columns resource. See below.
The following arguments are optional:
Supporting Types
ResourceLfTagsDatabase, ResourceLfTagsDatabaseArgs
- name str
Name of the database resource. Unique to the Data Catalog.
The following argument is optional:
- catalog_
id str - Identifier for the Data Catalog. By default, it is the account ID of the caller.
ResourceLfTagsLfTag, ResourceLfTagsLfTagArgs
- key str
- Key name for an existing LF-tag.
- value str
Value from the possible values for the LF-tag.
The following argument is optional:
- catalog_
id str - Identifier for the Data Catalog. By default, it is the account ID of the caller.
ResourceLfTagsTable, ResourceLfTagsTableArgs
- Database
Name string - Name of the database for the table. Unique to a Data Catalog.
- Catalog
Id string - Identifier for the Data Catalog. By default, it is the account ID of the caller.
- Name string
- Name of the table.
- Wildcard bool
Whether to use a wildcard representing every table under a database. Defaults to
false
.The following arguments are optional:
- Database
Name string - Name of the database for the table. Unique to a Data Catalog.
- Catalog
Id string - Identifier for the Data Catalog. By default, it is the account ID of the caller.
- Name string
- Name of the table.
- Wildcard bool
Whether to use a wildcard representing every table under a database. Defaults to
false
.The following arguments are optional:
- database
Name String - Name of the database for the table. Unique to a Data Catalog.
- catalog
Id String - Identifier for the Data Catalog. By default, it is the account ID of the caller.
- name String
- Name of the table.
- wildcard Boolean
Whether to use a wildcard representing every table under a database. Defaults to
false
.The following arguments are optional:
- database
Name string - Name of the database for the table. Unique to a Data Catalog.
- catalog
Id string - Identifier for the Data Catalog. By default, it is the account ID of the caller.
- name string
- Name of the table.
- wildcard boolean
Whether to use a wildcard representing every table under a database. Defaults to
false
.The following arguments are optional:
- database_
name str - Name of the database for the table. Unique to a Data Catalog.
- catalog_
id str - Identifier for the Data Catalog. By default, it is the account ID of the caller.
- name str
- Name of the table.
- wildcard bool
Whether to use a wildcard representing every table under a database. Defaults to
false
.The following arguments are optional:
- database
Name String - Name of the database for the table. Unique to a Data Catalog.
- catalog
Id String - Identifier for the Data Catalog. By default, it is the account ID of the caller.
- name String
- Name of the table.
- wildcard Boolean
Whether to use a wildcard representing every table under a database. Defaults to
false
.The following arguments are optional:
ResourceLfTagsTableWithColumns, ResourceLfTagsTableWithColumnsArgs
- Database
Name string - Name of the database for the table with columns resource. Unique to the Data Catalog.
- Name string
- Name of the table resource.
- Catalog
Id string - Identifier for the Data Catalog. By default, it is the account ID of the caller.
- Column
Names List<string> - Set of column names for the table.
- Excluded
Column List<string>Names - Set of column names for the table to exclude. If
excluded_column_names
is included,wildcard
must be set totrue
to avoid the provider reporting a difference. - Wildcard bool
Whether to use a column wildcard. If
excluded_column_names
is included,wildcard
must be set totrue
to avoid the provider reporting a difference.The following arguments are optional:
- Database
Name string - Name of the database for the table with columns resource. Unique to the Data Catalog.
- Name string
- Name of the table resource.
- Catalog
Id string - Identifier for the Data Catalog. By default, it is the account ID of the caller.
- Column
Names []string - Set of column names for the table.
- Excluded
Column []stringNames - Set of column names for the table to exclude. If
excluded_column_names
is included,wildcard
must be set totrue
to avoid the provider reporting a difference. - Wildcard bool
Whether to use a column wildcard. If
excluded_column_names
is included,wildcard
must be set totrue
to avoid the provider reporting a difference.The following arguments are optional:
- database
Name String - Name of the database for the table with columns resource. Unique to the Data Catalog.
- name String
- Name of the table resource.
- catalog
Id String - Identifier for the Data Catalog. By default, it is the account ID of the caller.
- column
Names List<String> - Set of column names for the table.
- excluded
Column List<String>Names - Set of column names for the table to exclude. If
excluded_column_names
is included,wildcard
must be set totrue
to avoid the provider reporting a difference. - wildcard Boolean
Whether to use a column wildcard. If
excluded_column_names
is included,wildcard
must be set totrue
to avoid the provider reporting a difference.The following arguments are optional:
- database
Name string - Name of the database for the table with columns resource. Unique to the Data Catalog.
- name string
- Name of the table resource.
- catalog
Id string - Identifier for the Data Catalog. By default, it is the account ID of the caller.
- column
Names string[] - Set of column names for the table.
- excluded
Column string[]Names - Set of column names for the table to exclude. If
excluded_column_names
is included,wildcard
must be set totrue
to avoid the provider reporting a difference. - wildcard boolean
Whether to use a column wildcard. If
excluded_column_names
is included,wildcard
must be set totrue
to avoid the provider reporting a difference.The following arguments are optional:
- database_
name str - Name of the database for the table with columns resource. Unique to the Data Catalog.
- name str
- Name of the table resource.
- catalog_
id str - Identifier for the Data Catalog. By default, it is the account ID of the caller.
- column_
names Sequence[str] - Set of column names for the table.
- excluded_
column_ Sequence[str]names - Set of column names for the table to exclude. If
excluded_column_names
is included,wildcard
must be set totrue
to avoid the provider reporting a difference. - wildcard bool
Whether to use a column wildcard. If
excluded_column_names
is included,wildcard
must be set totrue
to avoid the provider reporting a difference.The following arguments are optional:
- database
Name String - Name of the database for the table with columns resource. Unique to the Data Catalog.
- name String
- Name of the table resource.
- catalog
Id String - Identifier for the Data Catalog. By default, it is the account ID of the caller.
- column
Names List<String> - Set of column names for the table.
- excluded
Column List<String>Names - Set of column names for the table to exclude. If
excluded_column_names
is included,wildcard
must be set totrue
to avoid the provider reporting a difference. - wildcard Boolean
Whether to use a column wildcard. If
excluded_column_names
is included,wildcard
must be set totrue
to avoid the provider reporting a difference.The following arguments are optional:
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aws
Terraform Provider.
Try AWS Native preview for resources not in the classic version.