DatabaseProps Struct
Example
ts
new glue.Database(this, 'MyDatabase', {
databaseName: 'my_database',
description: 'my_database_description',
});
Properties
catalogICatalogcatalogICatalogcatalogICatalogCatalogICatalogCatalogICatalog= The default, account-wide catalo…#The catalog in which the database will be placed.
default
Default: The default, account-wide catalog.
databaseNamestringdatabase_namestrdatabaseNameStringDatabaseNamestringDatabaseName*string= generated by CDK.#The name of the database.
descriptionstringdescriptionstrdescriptionStringDescriptionstringDescription*string= no database description#A description of the database.
locationUristringlocation_uristrlocationUriStringLocationUristringLocationUri*string= undefined. This field is optiona…#The location of the database (for example, an HDFS path).
default
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.