1. Packages
  2. AWS
  3. API Docs
  4. athena
  5. DataCatalog
AWS v6.54.0 published on Friday, Sep 27, 2024 by Pulumi

aws.athena.DataCatalog

Explore with Pulumi AI

aws logo
AWS v6.54.0 published on Friday, Sep 27, 2024 by Pulumi

    Provides an Athena data catalog.

    More information about Athena and Athena data catalogs can be found in the Athena User Guide.

    Tip: for a more detailed explanation on the usage of parameters, see the DataCatalog API documentation

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.athena.DataCatalog("example", {
        name: "athena-data-catalog",
        description: "Example Athena data catalog",
        type: "LAMBDA",
        parameters: {
            "function": "arn:aws:lambda:eu-central-1:123456789012:function:not-important-lambda-function",
        },
        tags: {
            Name: "example-athena-data-catalog",
        },
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.athena.DataCatalog("example",
        name="athena-data-catalog",
        description="Example Athena data catalog",
        type="LAMBDA",
        parameters={
            "function": "arn:aws:lambda:eu-central-1:123456789012:function:not-important-lambda-function",
        },
        tags={
            "Name": "example-athena-data-catalog",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/athena"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := athena.NewDataCatalog(ctx, "example", &athena.DataCatalogArgs{
    			Name:        pulumi.String("athena-data-catalog"),
    			Description: pulumi.String("Example Athena data catalog"),
    			Type:        pulumi.String("LAMBDA"),
    			Parameters: pulumi.StringMap{
    				"function": pulumi.String("arn:aws:lambda:eu-central-1:123456789012:function:not-important-lambda-function"),
    			},
    			Tags: pulumi.StringMap{
    				"Name": pulumi.String("example-athena-data-catalog"),
    			},
    		})
    		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.Athena.DataCatalog("example", new()
        {
            Name = "athena-data-catalog",
            Description = "Example Athena data catalog",
            Type = "LAMBDA",
            Parameters = 
            {
                { "function", "arn:aws:lambda:eu-central-1:123456789012:function:not-important-lambda-function" },
            },
            Tags = 
            {
                { "Name", "example-athena-data-catalog" },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.athena.DataCatalog;
    import com.pulumi.aws.athena.DataCatalogArgs;
    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 DataCatalog("example", DataCatalogArgs.builder()
                .name("athena-data-catalog")
                .description("Example Athena data catalog")
                .type("LAMBDA")
                .parameters(Map.of("function", "arn:aws:lambda:eu-central-1:123456789012:function:not-important-lambda-function"))
                .tags(Map.of("Name", "example-athena-data-catalog"))
                .build());
    
        }
    }
    
    resources:
      example:
        type: aws:athena:DataCatalog
        properties:
          name: athena-data-catalog
          description: Example Athena data catalog
          type: LAMBDA
          parameters:
            function: arn:aws:lambda:eu-central-1:123456789012:function:not-important-lambda-function
          tags:
            Name: example-athena-data-catalog
    

    Hive based Data Catalog

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.athena.DataCatalog("example", {
        name: "hive-data-catalog",
        description: "Hive based Data Catalog",
        type: "HIVE",
        parameters: {
            "metadata-function": "arn:aws:lambda:eu-central-1:123456789012:function:not-important-lambda-function",
        },
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.athena.DataCatalog("example",
        name="hive-data-catalog",
        description="Hive based Data Catalog",
        type="HIVE",
        parameters={
            "metadata-function": "arn:aws:lambda:eu-central-1:123456789012:function:not-important-lambda-function",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/athena"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := athena.NewDataCatalog(ctx, "example", &athena.DataCatalogArgs{
    			Name:        pulumi.String("hive-data-catalog"),
    			Description: pulumi.String("Hive based Data Catalog"),
    			Type:        pulumi.String("HIVE"),
    			Parameters: pulumi.StringMap{
    				"metadata-function": pulumi.String("arn:aws:lambda:eu-central-1:123456789012:function:not-important-lambda-function"),
    			},
    		})
    		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.Athena.DataCatalog("example", new()
        {
            Name = "hive-data-catalog",
            Description = "Hive based Data Catalog",
            Type = "HIVE",
            Parameters = 
            {
                { "metadata-function", "arn:aws:lambda:eu-central-1:123456789012:function:not-important-lambda-function" },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.athena.DataCatalog;
    import com.pulumi.aws.athena.DataCatalogArgs;
    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 DataCatalog("example", DataCatalogArgs.builder()
                .name("hive-data-catalog")
                .description("Hive based Data Catalog")
                .type("HIVE")
                .parameters(Map.of("metadata-function", "arn:aws:lambda:eu-central-1:123456789012:function:not-important-lambda-function"))
                .build());
    
        }
    }
    
    resources:
      example:
        type: aws:athena:DataCatalog
        properties:
          name: hive-data-catalog
          description: Hive based Data Catalog
          type: HIVE
          parameters:
            metadata-function: arn:aws:lambda:eu-central-1:123456789012:function:not-important-lambda-function
    

    Glue based Data Catalog

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.athena.DataCatalog("example", {
        name: "glue-data-catalog",
        description: "Glue based Data Catalog",
        type: "GLUE",
        parameters: {
            "catalog-id": "123456789012",
        },
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.athena.DataCatalog("example",
        name="glue-data-catalog",
        description="Glue based Data Catalog",
        type="GLUE",
        parameters={
            "catalog-id": "123456789012",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/athena"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := athena.NewDataCatalog(ctx, "example", &athena.DataCatalogArgs{
    			Name:        pulumi.String("glue-data-catalog"),
    			Description: pulumi.String("Glue based Data Catalog"),
    			Type:        pulumi.String("GLUE"),
    			Parameters: pulumi.StringMap{
    				"catalog-id": pulumi.String("123456789012"),
    			},
    		})
    		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.Athena.DataCatalog("example", new()
        {
            Name = "glue-data-catalog",
            Description = "Glue based Data Catalog",
            Type = "GLUE",
            Parameters = 
            {
                { "catalog-id", "123456789012" },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.athena.DataCatalog;
    import com.pulumi.aws.athena.DataCatalogArgs;
    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 DataCatalog("example", DataCatalogArgs.builder()
                .name("glue-data-catalog")
                .description("Glue based Data Catalog")
                .type("GLUE")
                .parameters(Map.of("catalog-id", "123456789012"))
                .build());
    
        }
    }
    
    resources:
      example:
        type: aws:athena:DataCatalog
        properties:
          name: glue-data-catalog
          description: Glue based Data Catalog
          type: GLUE
          parameters:
            catalog-id: '123456789012'
    

    Lambda based Data Catalog

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.athena.DataCatalog("example", {
        name: "lambda-data-catalog",
        description: "Lambda based Data Catalog",
        type: "LAMBDA",
        parameters: {
            "metadata-function": "arn:aws:lambda:eu-central-1:123456789012:function:not-important-lambda-function-1",
            "record-function": "arn:aws:lambda:eu-central-1:123456789012:function:not-important-lambda-function-2",
        },
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.athena.DataCatalog("example",
        name="lambda-data-catalog",
        description="Lambda based Data Catalog",
        type="LAMBDA",
        parameters={
            "metadata-function": "arn:aws:lambda:eu-central-1:123456789012:function:not-important-lambda-function-1",
            "record-function": "arn:aws:lambda:eu-central-1:123456789012:function:not-important-lambda-function-2",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/athena"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := athena.NewDataCatalog(ctx, "example", &athena.DataCatalogArgs{
    			Name:        pulumi.String("lambda-data-catalog"),
    			Description: pulumi.String("Lambda based Data Catalog"),
    			Type:        pulumi.String("LAMBDA"),
    			Parameters: pulumi.StringMap{
    				"metadata-function": pulumi.String("arn:aws:lambda:eu-central-1:123456789012:function:not-important-lambda-function-1"),
    				"record-function":   pulumi.String("arn:aws:lambda:eu-central-1:123456789012:function:not-important-lambda-function-2"),
    			},
    		})
    		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.Athena.DataCatalog("example", new()
        {
            Name = "lambda-data-catalog",
            Description = "Lambda based Data Catalog",
            Type = "LAMBDA",
            Parameters = 
            {
                { "metadata-function", "arn:aws:lambda:eu-central-1:123456789012:function:not-important-lambda-function-1" },
                { "record-function", "arn:aws:lambda:eu-central-1:123456789012:function:not-important-lambda-function-2" },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.athena.DataCatalog;
    import com.pulumi.aws.athena.DataCatalogArgs;
    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 DataCatalog("example", DataCatalogArgs.builder()
                .name("lambda-data-catalog")
                .description("Lambda based Data Catalog")
                .type("LAMBDA")
                .parameters(Map.ofEntries(
                    Map.entry("metadata-function", "arn:aws:lambda:eu-central-1:123456789012:function:not-important-lambda-function-1"),
                    Map.entry("record-function", "arn:aws:lambda:eu-central-1:123456789012:function:not-important-lambda-function-2")
                ))
                .build());
    
        }
    }
    
    resources:
      example:
        type: aws:athena:DataCatalog
        properties:
          name: lambda-data-catalog
          description: Lambda based Data Catalog
          type: LAMBDA
          parameters:
            metadata-function: arn:aws:lambda:eu-central-1:123456789012:function:not-important-lambda-function-1
            record-function: arn:aws:lambda:eu-central-1:123456789012:function:not-important-lambda-function-2
    

    Create DataCatalog Resource

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

    Constructor syntax

    new DataCatalog(name: string, args: DataCatalogArgs, opts?: CustomResourceOptions);
    @overload
    def DataCatalog(resource_name: str,
                    args: DataCatalogArgs,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def DataCatalog(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    description: Optional[str] = None,
                    parameters: Optional[Mapping[str, str]] = None,
                    type: Optional[str] = None,
                    name: Optional[str] = None,
                    tags: Optional[Mapping[str, str]] = None)
    func NewDataCatalog(ctx *Context, name string, args DataCatalogArgs, opts ...ResourceOption) (*DataCatalog, error)
    public DataCatalog(string name, DataCatalogArgs args, CustomResourceOptions? opts = null)
    public DataCatalog(String name, DataCatalogArgs args)
    public DataCatalog(String name, DataCatalogArgs args, CustomResourceOptions options)
    
    type: aws:athena:DataCatalog
    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 DataCatalogArgs
    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 DataCatalogArgs
    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 DataCatalogArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DataCatalogArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DataCatalogArgs
    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 dataCatalogResource = new Aws.Athena.DataCatalog("dataCatalogResource", new()
    {
        Description = "string",
        Parameters = 
        {
            { "string", "string" },
        },
        Type = "string",
        Name = "string",
        Tags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := athena.NewDataCatalog(ctx, "dataCatalogResource", &athena.DataCatalogArgs{
    	Description: pulumi.String("string"),
    	Parameters: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Type: pulumi.String("string"),
    	Name: pulumi.String("string"),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    })
    
    var dataCatalogResource = new DataCatalog("dataCatalogResource", DataCatalogArgs.builder()
        .description("string")
        .parameters(Map.of("string", "string"))
        .type("string")
        .name("string")
        .tags(Map.of("string", "string"))
        .build());
    
    data_catalog_resource = aws.athena.DataCatalog("dataCatalogResource",
        description="string",
        parameters={
            "string": "string",
        },
        type="string",
        name="string",
        tags={
            "string": "string",
        })
    
    const dataCatalogResource = new aws.athena.DataCatalog("dataCatalogResource", {
        description: "string",
        parameters: {
            string: "string",
        },
        type: "string",
        name: "string",
        tags: {
            string: "string",
        },
    });
    
    type: aws:athena:DataCatalog
    properties:
        description: string
        name: string
        parameters:
            string: string
        tags:
            string: string
        type: string
    

    DataCatalog 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 DataCatalog resource accepts the following input properties:

    Description string
    Description of the data catalog.
    Parameters Dictionary<string, string>
    Key value pairs that specifies the Lambda function or functions to use for the data catalog. The mapping used depends on the catalog type.
    Type string
    Type of data catalog: LAMBDA for a federated catalog, GLUE for AWS Glue Catalog, or HIVE for an external hive metastore.
    Name string
    Name of the data catalog. The catalog name must be unique for the AWS account and can use a maximum of 128 alphanumeric, underscore, at sign, or hyphen characters.
    Tags Dictionary<string, string>
    Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    Description string
    Description of the data catalog.
    Parameters map[string]string
    Key value pairs that specifies the Lambda function or functions to use for the data catalog. The mapping used depends on the catalog type.
    Type string
    Type of data catalog: LAMBDA for a federated catalog, GLUE for AWS Glue Catalog, or HIVE for an external hive metastore.
    Name string
    Name of the data catalog. The catalog name must be unique for the AWS account and can use a maximum of 128 alphanumeric, underscore, at sign, or hyphen characters.
    Tags map[string]string
    Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    description String
    Description of the data catalog.
    parameters Map<String,String>
    Key value pairs that specifies the Lambda function or functions to use for the data catalog. The mapping used depends on the catalog type.
    type String
    Type of data catalog: LAMBDA for a federated catalog, GLUE for AWS Glue Catalog, or HIVE for an external hive metastore.
    name String
    Name of the data catalog. The catalog name must be unique for the AWS account and can use a maximum of 128 alphanumeric, underscore, at sign, or hyphen characters.
    tags Map<String,String>
    Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    description string
    Description of the data catalog.
    parameters {[key: string]: string}
    Key value pairs that specifies the Lambda function or functions to use for the data catalog. The mapping used depends on the catalog type.
    type string
    Type of data catalog: LAMBDA for a federated catalog, GLUE for AWS Glue Catalog, or HIVE for an external hive metastore.
    name string
    Name of the data catalog. The catalog name must be unique for the AWS account and can use a maximum of 128 alphanumeric, underscore, at sign, or hyphen characters.
    tags {[key: string]: string}
    Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    description str
    Description of the data catalog.
    parameters Mapping[str, str]
    Key value pairs that specifies the Lambda function or functions to use for the data catalog. The mapping used depends on the catalog type.
    type str
    Type of data catalog: LAMBDA for a federated catalog, GLUE for AWS Glue Catalog, or HIVE for an external hive metastore.
    name str
    Name of the data catalog. The catalog name must be unique for the AWS account and can use a maximum of 128 alphanumeric, underscore, at sign, or hyphen characters.
    tags Mapping[str, str]
    Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    description String
    Description of the data catalog.
    parameters Map<String>
    Key value pairs that specifies the Lambda function or functions to use for the data catalog. The mapping used depends on the catalog type.
    type String
    Type of data catalog: LAMBDA for a federated catalog, GLUE for AWS Glue Catalog, or HIVE for an external hive metastore.
    name String
    Name of the data catalog. The catalog name must be unique for the AWS account and can use a maximum of 128 alphanumeric, underscore, at sign, or hyphen characters.
    tags Map<String>
    Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

    Outputs

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

    Arn string
    ARN of the data catalog.
    Id string
    The provider-assigned unique ID for this managed resource.
    TagsAll Dictionary<string, string>
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    Arn string
    ARN of the data catalog.
    Id string
    The provider-assigned unique ID for this managed resource.
    TagsAll map[string]string
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    arn String
    ARN of the data catalog.
    id String
    The provider-assigned unique ID for this managed resource.
    tagsAll Map<String,String>
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    arn string
    ARN of the data catalog.
    id string
    The provider-assigned unique ID for this managed resource.
    tagsAll {[key: string]: string}
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    arn str
    ARN of the data catalog.
    id str
    The provider-assigned unique ID for this managed resource.
    tags_all Mapping[str, str]
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    arn String
    ARN of the data catalog.
    id String
    The provider-assigned unique ID for this managed resource.
    tagsAll Map<String>
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    Look up Existing DataCatalog Resource

    Get an existing DataCatalog 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?: DataCatalogState, opts?: CustomResourceOptions): DataCatalog
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            arn: Optional[str] = None,
            description: Optional[str] = None,
            name: Optional[str] = None,
            parameters: Optional[Mapping[str, str]] = None,
            tags: Optional[Mapping[str, str]] = None,
            tags_all: Optional[Mapping[str, str]] = None,
            type: Optional[str] = None) -> DataCatalog
    func GetDataCatalog(ctx *Context, name string, id IDInput, state *DataCatalogState, opts ...ResourceOption) (*DataCatalog, error)
    public static DataCatalog Get(string name, Input<string> id, DataCatalogState? state, CustomResourceOptions? opts = null)
    public static DataCatalog get(String name, Output<String> id, DataCatalogState 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:
    Arn string
    ARN of the data catalog.
    Description string
    Description of the data catalog.
    Name string
    Name of the data catalog. The catalog name must be unique for the AWS account and can use a maximum of 128 alphanumeric, underscore, at sign, or hyphen characters.
    Parameters Dictionary<string, string>
    Key value pairs that specifies the Lambda function or functions to use for the data catalog. The mapping used depends on the catalog type.
    Tags Dictionary<string, string>
    Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    TagsAll Dictionary<string, string>
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    Type string
    Type of data catalog: LAMBDA for a federated catalog, GLUE for AWS Glue Catalog, or HIVE for an external hive metastore.
    Arn string
    ARN of the data catalog.
    Description string
    Description of the data catalog.
    Name string
    Name of the data catalog. The catalog name must be unique for the AWS account and can use a maximum of 128 alphanumeric, underscore, at sign, or hyphen characters.
    Parameters map[string]string
    Key value pairs that specifies the Lambda function or functions to use for the data catalog. The mapping used depends on the catalog type.
    Tags map[string]string
    Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    TagsAll map[string]string
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    Type string
    Type of data catalog: LAMBDA for a federated catalog, GLUE for AWS Glue Catalog, or HIVE for an external hive metastore.
    arn String
    ARN of the data catalog.
    description String
    Description of the data catalog.
    name String
    Name of the data catalog. The catalog name must be unique for the AWS account and can use a maximum of 128 alphanumeric, underscore, at sign, or hyphen characters.
    parameters Map<String,String>
    Key value pairs that specifies the Lambda function or functions to use for the data catalog. The mapping used depends on the catalog type.
    tags Map<String,String>
    Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll Map<String,String>
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    type String
    Type of data catalog: LAMBDA for a federated catalog, GLUE for AWS Glue Catalog, or HIVE for an external hive metastore.
    arn string
    ARN of the data catalog.
    description string
    Description of the data catalog.
    name string
    Name of the data catalog. The catalog name must be unique for the AWS account and can use a maximum of 128 alphanumeric, underscore, at sign, or hyphen characters.
    parameters {[key: string]: string}
    Key value pairs that specifies the Lambda function or functions to use for the data catalog. The mapping used depends on the catalog type.
    tags {[key: string]: string}
    Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll {[key: string]: string}
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    type string
    Type of data catalog: LAMBDA for a federated catalog, GLUE for AWS Glue Catalog, or HIVE for an external hive metastore.
    arn str
    ARN of the data catalog.
    description str
    Description of the data catalog.
    name str
    Name of the data catalog. The catalog name must be unique for the AWS account and can use a maximum of 128 alphanumeric, underscore, at sign, or hyphen characters.
    parameters Mapping[str, str]
    Key value pairs that specifies the Lambda function or functions to use for the data catalog. The mapping used depends on the catalog type.
    tags Mapping[str, str]
    Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tags_all Mapping[str, str]
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    type str
    Type of data catalog: LAMBDA for a federated catalog, GLUE for AWS Glue Catalog, or HIVE for an external hive metastore.
    arn String
    ARN of the data catalog.
    description String
    Description of the data catalog.
    name String
    Name of the data catalog. The catalog name must be unique for the AWS account and can use a maximum of 128 alphanumeric, underscore, at sign, or hyphen characters.
    parameters Map<String>
    Key value pairs that specifies the Lambda function or functions to use for the data catalog. The mapping used depends on the catalog type.
    tags Map<String>
    Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll Map<String>
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    type String
    Type of data catalog: LAMBDA for a federated catalog, GLUE for AWS Glue Catalog, or HIVE for an external hive metastore.

    Import

    Using pulumi import, import data catalogs using their name. For example:

    $ pulumi import aws:athena/dataCatalog:DataCatalog example example-data-catalog
    

    To learn more about importing existing cloud resources, see Importing resources.

    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
    AWS v6.54.0 published on Friday, Sep 27, 2024 by Pulumi