Interface DatabaseProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
DatabaseProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)",
date="2026-09-17T14:54:05.022Z")
@Stability(Stable)
public interface DatabaseProps
extends software.amazon.jsii.JsiiSerializable
Example:
Database.Builder.create(this, "MyDatabase")
.databaseName("my_database")
.description("my_database_description")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forDatabasePropsstatic final classAn implementation forDatabaseProps -
Method Summary
Modifier and TypeMethodDescriptionstatic DatabaseProps.Builderbuilder()default ICatalogThe catalog in which the database will be placed.default StringThe name of the database.default StringA description of the database.default StringThe location of the database (for example, an HDFS path).default RemovalPolicyPolicy to apply when the database is removed from the stack.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCatalog
The catalog in which the database will be placed.Default: The default, account-wide catalog.
-
getDatabaseName
The name of the database.Default: - generated by CDK.
-
getDescription
A description of the database.Default: - no database description
-
getLocationUri
The location of the database (for example, an HDFS path).Default: undefined. This field is optional in AWS::Glue::Database DatabaseInput
- See Also:
-
getRemovalPolicy
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.
Default: RemovalPolicy.RETAIN
-
builder
- Returns:
- a
DatabaseProps.BuilderofDatabaseProps
-