DatabaseProps Struct
Example
ts
new glue.Database(this, 'MyDatabase', {
databaseName: 'my_database',
description: 'my_database_description',
});
Properties
The catalog in which the database will be placed.
Default: The default, account-wide catalog.
The name of the database.
Default: generated by CDK.
A description of the database.
Default: no database description
The location of the database (for example, an HDFS path).
Default: undefined. This field is optional in AWS::Glue::Database DatabaseInput
removalPolicyRemovalPolicyremoval_policyRemovalPolicyremovalPolicyRemovalPolicyRemovalPolicyRemovalPolicyRemovalPolicyRemovalPolicy= RemovalPolicy.RETAIN#Policy to apply when the database is removed from the stack.
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.