Show / Hide Table of Contents

Class CatalogDatabase

Provides a Glue Catalog Database Resource. You can refer to the Glue Developer Guide for a full explanation of the Glue Data Catalog functionality

Example Usage

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
public MyStack()
{
    var awsGlueCatalogDatabase = new Aws.Glue.CatalogDatabase("awsGlueCatalogDatabase", new Aws.Glue.CatalogDatabaseArgs
    {
        Name = "MyCatalogDatabase",
    });
}

}
Inheritance
System.Object
Resource
CustomResource
CatalogDatabase
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aws.Glue
Assembly: Pulumi.Aws.dll
Syntax
public class CatalogDatabase : CustomResource

Constructors

View Source

CatalogDatabase(String, CatalogDatabaseArgs, CustomResourceOptions)

Create a CatalogDatabase resource with the given unique name, arguments, and options.

Declaration
public CatalogDatabase(string name, CatalogDatabaseArgs args = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

CatalogDatabaseArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

CatalogId

ID of the Glue Catalog to create the database in. If omitted, this defaults to the AWS Account ID.

Declaration
public Output<string> CatalogId { get; }
Property Value
Type Description
Output<System.String>
View Source

Description

Description of the database.

Declaration
public Output<string> Description { get; }
Property Value
Type Description
Output<System.String>
View Source

LocationUri

The location of the database (for example, an HDFS path).

Declaration
public Output<string> LocationUri { get; }
Property Value
Type Description
Output<System.String>
View Source

Name

The name of the database.

Declaration
public Output<string> Name { get; }
Property Value
Type Description
Output<System.String>
View Source

Parameters

A list of key-value pairs that define parameters and properties of the database.

Declaration
public Output<ImmutableDictionary<string, string>> Parameters { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.String>>

Methods

View Source

Get(String, Input<String>, CatalogDatabaseState, CustomResourceOptions)

Get an existing CatalogDatabase resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static CatalogDatabase Get(string name, Input<string> id, CatalogDatabaseState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

CatalogDatabaseState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
CatalogDatabase
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.