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();
 
  • Method Details

    • getCatalog

      @Stability(Experimental) @Nullable default ICatalog getCatalog()
      (experimental) The catalog in which the database will be placed.

      Default: The default, account-wide catalog.

    • getDatabaseName

      @Stability(Experimental) @Nullable default String getDatabaseName()
      (experimental) The name of the database.

      Default: - generated by CDK.

    • getDescription

      @Stability(Experimental) @Nullable default String getDescription()
      (experimental) A description of the database.

      Default: - no database description

    • getLocationUri

      @Stability(Experimental) @Nullable default String 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

      @Stability(Experimental) @Nullable default RemovalPolicy 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

      @Stability(Experimental) static DatabaseProps.Builder builder()
      Returns:
      a DatabaseProps.Builder of DatabaseProps