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-08-13T16:20:30.649Z")
@Stability(Experimental)
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 ICatalog(experimental) The catalog in which the database will be placed.default String(experimental) The name of the database.default String(experimental) A description of the database.default String(experimental) The location of the database (for example, an HDFS path).default RemovalPolicy(experimental) Policy to apply when the database is removed from the stack.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCatalog
(experimental) The catalog in which the database will be placed.Default: The default, account-wide catalog.
-
getDatabaseName
(experimental) The name of the database.Default: - generated by CDK.
-
getDescription
(experimental) A description of the database.Default: - no database description
-
getLocationUri
(experimental) The location of the database (for example, an HDFS path).Default: undefined. This field is optional in AWS::Glue::Database DatabaseInput
- See Also:
-
getRemovalPolicy
(experimental) 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
-