1. Packages
  2. AWS Classic
  3. API Docs
  4. lakeformation
  5. ResourceLfTags

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.30.0 published on Thursday, Apr 11, 2024 by Pulumi

aws.lakeformation.ResourceLfTags

Explore with Pulumi AI

aws logo

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.30.0 published on Thursday, Apr 11, 2024 by Pulumi

    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=aws.lakeformation.ResourceLfTagsDatabaseArgs(
            name=example_aws_glue_catalog_database["name"],
        ),
        lf_tags=[aws.lakeformation.ResourceLfTagsLfTagArgs(
            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=aws.lakeformation.ResourceLfTagsDatabaseArgs(
            name=example_aws_glue_catalog_database["name"],
        ),
        lf_tags=[
            aws.lakeformation.ResourceLfTagsLfTagArgs(
                key="right",
                value="luffield",
            ),
            aws.lakeformation.ResourceLfTagsLfTagArgs(
                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.

    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=[aws.lakeformation.ResourceLfTagsLfTagArgs(
            key="string",
            value="string",
            catalog_id="string",
        )],
        catalog_id="string",
        database=aws.lakeformation.ResourceLfTagsDatabaseArgs(
            name="string",
            catalog_id="string",
        ),
        table=aws.lakeformation.ResourceLfTagsTableArgs(
            database_name="string",
            catalog_id="string",
            name="string",
            wildcard=False,
        ),
        table_with_columns=aws.lakeformation.ResourceLfTagsTableWithColumnsArgs(
            database_name="string",
            name="string",
            catalog_id="string",
            column_names=["string"],
            excluded_column_names=["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:

    LfTags List<ResourceLfTagsLfTag>

    Set of LF-tags to attach to the resource. See below.

    Exactly one of the following is required:

    CatalogId 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 ResourceLfTagsDatabase
    Configuration block for a database resource. See below.
    Table ResourceLfTagsTable
    Configuration block for a table resource. See below.
    TableWithColumns ResourceLfTagsTableWithColumns

    Configuration block for a table with columns resource. See below.

    The following arguments are optional:

    LfTags []ResourceLfTagsLfTagArgs

    Set of LF-tags to attach to the resource. See below.

    Exactly one of the following is required:

    CatalogId 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 ResourceLfTagsDatabaseArgs
    Configuration block for a database resource. See below.
    Table ResourceLfTagsTableArgs
    Configuration block for a table resource. See below.
    TableWithColumns ResourceLfTagsTableWithColumnsArgs

    Configuration block for a table with columns resource. See below.

    The following arguments are optional:

    lfTags List<ResourceLfTagsLfTag>

    Set of LF-tags to attach to the resource. See below.

    Exactly one of the following is required:

    catalogId 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 ResourceLfTagsDatabase
    Configuration block for a database resource. See below.
    table ResourceLfTagsTable
    Configuration block for a table resource. See below.
    tableWithColumns ResourceLfTagsTableWithColumns

    Configuration block for a table with columns resource. See below.

    The following arguments are optional:

    lfTags ResourceLfTagsLfTag[]

    Set of LF-tags to attach to the resource. See below.

    Exactly one of the following is required:

    catalogId 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 ResourceLfTagsDatabase
    Configuration block for a database resource. See below.
    table ResourceLfTagsTable
    Configuration block for a table resource. See below.
    tableWithColumns ResourceLfTagsTableWithColumns

    Configuration block for a table with columns resource. See below.

    The following arguments are optional:

    lf_tags Sequence[ResourceLfTagsLfTagArgs]

    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 ResourceLfTagsDatabaseArgs
    Configuration block for a database resource. See below.
    table ResourceLfTagsTableArgs
    Configuration block for a table resource. See below.
    table_with_columns ResourceLfTagsTableWithColumnsArgs

    Configuration block for a table with columns resource. See below.

    The following arguments are optional:

    lfTags List<Property Map>

    Set of LF-tags to attach to the resource. See below.

    Exactly one of the following is required:

    catalogId 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.
    tableWithColumns Property Map

    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.
    The following state arguments are supported:
    CatalogId 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 ResourceLfTagsDatabase
    Configuration block for a database resource. See below.
    LfTags List<ResourceLfTagsLfTag>

    Set of LF-tags to attach to the resource. See below.

    Exactly one of the following is required:

    Table ResourceLfTagsTable
    Configuration block for a table resource. See below.
    TableWithColumns ResourceLfTagsTableWithColumns

    Configuration block for a table with columns resource. See below.

    The following arguments are optional:

    CatalogId 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 ResourceLfTagsDatabaseArgs
    Configuration block for a database resource. See below.
    LfTags []ResourceLfTagsLfTagArgs

    Set of LF-tags to attach to the resource. See below.

    Exactly one of the following is required:

    Table ResourceLfTagsTableArgs
    Configuration block for a table resource. See below.
    TableWithColumns ResourceLfTagsTableWithColumnsArgs

    Configuration block for a table with columns resource. See below.

    The following arguments are optional:

    catalogId 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 ResourceLfTagsDatabase
    Configuration block for a database resource. See below.
    lfTags List<ResourceLfTagsLfTag>

    Set of LF-tags to attach to the resource. See below.

    Exactly one of the following is required:

    table ResourceLfTagsTable
    Configuration block for a table resource. See below.
    tableWithColumns ResourceLfTagsTableWithColumns

    Configuration block for a table with columns resource. See below.

    The following arguments are optional:

    catalogId 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 ResourceLfTagsDatabase
    Configuration block for a database resource. See below.
    lfTags ResourceLfTagsLfTag[]

    Set of LF-tags to attach to the resource. See below.

    Exactly one of the following is required:

    table ResourceLfTagsTable
    Configuration block for a table resource. See below.
    tableWithColumns ResourceLfTagsTableWithColumns

    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 ResourceLfTagsDatabaseArgs
    Configuration block for a database resource. See below.
    lf_tags Sequence[ResourceLfTagsLfTagArgs]

    Set of LF-tags to attach to the resource. See below.

    Exactly one of the following is required:

    table ResourceLfTagsTableArgs
    Configuration block for a table resource. See below.
    table_with_columns ResourceLfTagsTableWithColumnsArgs

    Configuration block for a table with columns resource. See below.

    The following arguments are optional:

    catalogId 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.
    lfTags 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.
    tableWithColumns Property Map

    Configuration block for a table with columns resource. See below.

    The following arguments are optional:

    Supporting Types

    ResourceLfTagsDatabase, ResourceLfTagsDatabaseArgs

    Name string

    Name of the database resource. Unique to the Data Catalog.

    The following argument is optional:

    CatalogId string
    Identifier for the Data Catalog. By default, it is the account ID of the caller.
    Name string

    Name of the database resource. Unique to the Data Catalog.

    The following argument is optional:

    CatalogId string
    Identifier for the Data Catalog. By default, it is the account ID of the caller.
    name String

    Name of the database resource. Unique to the Data Catalog.

    The following argument is optional:

    catalogId String
    Identifier for the Data Catalog. By default, it is the account ID of the caller.
    name string

    Name of the database resource. Unique to the Data Catalog.

    The following argument is optional:

    catalogId string
    Identifier for the Data Catalog. By default, it is the account ID of the caller.
    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.
    name String

    Name of the database resource. Unique to the Data Catalog.

    The following argument is optional:

    catalogId String
    Identifier for the Data Catalog. By default, it is the account ID of the caller.

    ResourceLfTagsLfTag, ResourceLfTagsLfTagArgs

    Key string
    Key name for an existing LF-tag.
    Value string

    Value from the possible values for the LF-tag.

    The following argument is optional:

    CatalogId string
    Identifier for the Data Catalog. By default, it is the account ID of the caller.
    Key string
    Key name for an existing LF-tag.
    Value string

    Value from the possible values for the LF-tag.

    The following argument is optional:

    CatalogId string
    Identifier for the Data Catalog. By default, it is the account ID of the caller.
    key String
    Key name for an existing LF-tag.
    value String

    Value from the possible values for the LF-tag.

    The following argument is optional:

    catalogId String
    Identifier for the Data Catalog. By default, it is the account ID of the caller.
    key string
    Key name for an existing LF-tag.
    value string

    Value from the possible values for the LF-tag.

    The following argument is optional:

    catalogId string
    Identifier for the Data Catalog. By default, it is the account ID of the caller.
    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.
    key String
    Key name for an existing LF-tag.
    value String

    Value from the possible values for the LF-tag.

    The following argument is optional:

    catalogId String
    Identifier for the Data Catalog. By default, it is the account ID of the caller.

    ResourceLfTagsTable, ResourceLfTagsTableArgs

    DatabaseName string
    Name of the database for the table. Unique to a Data Catalog.
    CatalogId 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:

    DatabaseName string
    Name of the database for the table. Unique to a Data Catalog.
    CatalogId 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:

    databaseName String
    Name of the database for the table. Unique to a Data Catalog.
    catalogId 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:

    databaseName string
    Name of the database for the table. Unique to a Data Catalog.
    catalogId 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:

    databaseName String
    Name of the database for the table. Unique to a Data Catalog.
    catalogId 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

    DatabaseName string
    Name of the database for the table with columns resource. Unique to the Data Catalog.
    Name string
    Name of the table resource.
    CatalogId string
    Identifier for the Data Catalog. By default, it is the account ID of the caller.
    ColumnNames List<string>
    Set of column names for the table.
    ExcludedColumnNames List<string>
    Set of column names for the table to exclude. If excluded_column_names is included, wildcard must be set to true 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 to true to avoid the provider reporting a difference.

    The following arguments are optional:

    DatabaseName string
    Name of the database for the table with columns resource. Unique to the Data Catalog.
    Name string
    Name of the table resource.
    CatalogId string
    Identifier for the Data Catalog. By default, it is the account ID of the caller.
    ColumnNames []string
    Set of column names for the table.
    ExcludedColumnNames []string
    Set of column names for the table to exclude. If excluded_column_names is included, wildcard must be set to true 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 to true to avoid the provider reporting a difference.

    The following arguments are optional:

    databaseName String
    Name of the database for the table with columns resource. Unique to the Data Catalog.
    name String
    Name of the table resource.
    catalogId String
    Identifier for the Data Catalog. By default, it is the account ID of the caller.
    columnNames List<String>
    Set of column names for the table.
    excludedColumnNames List<String>
    Set of column names for the table to exclude. If excluded_column_names is included, wildcard must be set to true 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 to true to avoid the provider reporting a difference.

    The following arguments are optional:

    databaseName string
    Name of the database for the table with columns resource. Unique to the Data Catalog.
    name string
    Name of the table resource.
    catalogId string
    Identifier for the Data Catalog. By default, it is the account ID of the caller.
    columnNames string[]
    Set of column names for the table.
    excludedColumnNames string[]
    Set of column names for the table to exclude. If excluded_column_names is included, wildcard must be set to true 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 to true 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_names Sequence[str]
    Set of column names for the table to exclude. If excluded_column_names is included, wildcard must be set to true 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 to true to avoid the provider reporting a difference.

    The following arguments are optional:

    databaseName String
    Name of the database for the table with columns resource. Unique to the Data Catalog.
    name String
    Name of the table resource.
    catalogId String
    Identifier for the Data Catalog. By default, it is the account ID of the caller.
    columnNames List<String>
    Set of column names for the table.
    excludedColumnNames List<String>
    Set of column names for the table to exclude. If excluded_column_names is included, wildcard must be set to true 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 to true 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.
    aws logo

    Try AWS Native preview for resources not in the classic version.

    AWS Classic v6.30.0 published on Thursday, Apr 11, 2024 by Pulumi