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",
});
}
}
Inherited Members
Namespace: Pulumi.Aws.Glue
Assembly: Pulumi.Aws.dll
Syntax
public class CatalogDatabase : CustomResource
Constructors
View SourceCatalogDatabase(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 SourceCatalogId
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> |
Description
Description of the database.
Declaration
public Output<string> Description { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
LocationUri
The location of the database (for example, an HDFS path).
Declaration
public Output<string> LocationUri { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Name
The name of the database.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
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 SourceGet(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 |