Show / Hide Table of Contents

Class DatabaseProps

Inheritance
object
DatabaseProps
Implements
IDatabaseProps
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.Glue
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class DatabaseProps : IDatabaseProps
Syntax (vb)
Public Class DatabaseProps Implements IDatabaseProps
Remarks

ExampleMetadata: infused

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

Synopsis

Constructors

DatabaseProps()

Properties

Catalog

The catalog in which the database will be placed.

DatabaseName

The name of the database.

Description

A description of the database.

LocationUri

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

RemovalPolicy

Policy to apply when the database is removed from the stack.

Constructors

DatabaseProps()

public DatabaseProps()
Remarks

ExampleMetadata: infused

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

Properties

Catalog

The catalog in which the database will be placed.

public ICatalog? Catalog { get; set; }
Property Value

ICatalog

Remarks

Default: The default, account-wide catalog.

DatabaseName

The name of the database.

public string? DatabaseName { get; set; }
Property Value

string

Remarks

Default: - generated by CDK.

Description

A description of the database.

public string? Description { get; set; }
Property Value

string

Remarks

Default: - no database description

LocationUri

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

public string? LocationUri { get; set; }
Property Value

string

Remarks

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

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

RemovalPolicy

Policy to apply when the database is removed from the stack.

public RemovalPolicy? RemovalPolicy { get; set; }
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

Implements

IDatabaseProps
Back to top Generated by DocFX