Show / Hide Table of Contents

Interface IDatabaseProps

Namespace: Amazon.CDK.AWS.Glue.Alpha
Assembly: Amazon.CDK.AWS.Glue.Alpha.dll
Syntax (csharp)
public interface IDatabaseProps
Syntax (vb)
Public Interface IDatabaseProps
Remarks

Stability: Experimental

ExampleMetadata: infused

Examples
new Database(this, "MyDatabase", new DatabaseProps {
                 DatabaseName = "my_database",
                 Description = "my_database_description"
             });

Synopsis

Properties

Catalog

(experimental) The catalog in which the database will be placed.

DatabaseName

(experimental) The name of the database.

Description

(experimental) A description of the database.

LocationUri

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

RemovalPolicy

(experimental) Policy to apply when the database is removed from the stack.

Properties

Catalog

(experimental) The catalog in which the database will be placed.

ICatalog? Catalog { get; }
Property Value

ICatalog

Remarks

Default: The default, account-wide catalog.

Stability: Experimental

DatabaseName

(experimental) The name of the database.

string? DatabaseName { get; }
Property Value

string

Remarks

Default: - generated by CDK.

Stability: Experimental

Description

(experimental) A description of the database.

string? Description { get; }
Property Value

string

Remarks

Default: - no database description

Stability: Experimental

LocationUri

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

string? LocationUri { get; }
Property Value

string

Remarks

Default: undefined. This field is optional in AWS::Glue::Database DatabaseInput

Stability: Experimental

See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-database-databaseinput.html

RemovalPolicy

(experimental) Policy to apply when the database is removed from the stack.

RemovalPolicy? RemovalPolicy { get; }
Property Value

RemovalPolicy?

Remarks

A database is a container for tables and their metadata, so it is retained by default to avoid accidental data loss when it is removed from a stack.

Default: RemovalPolicy.RETAIN

Stability: Experimental

Back to top Generated by DocFX