Class Database

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IConstruct, IDependable, IResource, IDatabase, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:42.543Z") @Stability(Experimental) public class Database extends Resource implements IDatabase
(experimental) A Glue database.

Example:

 Database.Builder.create(this, "MyDatabase")
         .databaseName("my_database")
         .build();
 
  • Constructor Details

    • Database

      protected Database(software.amazon.jsii.JsiiObjectRef objRef)
    • Database

      protected Database(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • Database

      @Stability(Experimental) public Database(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull DatabaseProps props)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      props - This parameter is required.
  • Method Details

    • fromDatabaseArn

      @Stability(Experimental) @NotNull public static IDatabase fromDatabaseArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String databaseArn)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      databaseArn - This parameter is required.
    • getCatalogArn

      @Stability(Experimental) @NotNull public String getCatalogArn()
      (experimental) ARN of the Glue catalog in which this database is stored.
      Specified by:
      getCatalogArn in interface IDatabase
    • getCatalogId

      @Stability(Experimental) @NotNull public String getCatalogId()
      (experimental) The catalog id of the database (usually, the AWS account id).
      Specified by:
      getCatalogId in interface IDatabase
    • getDatabaseArn

      @Stability(Experimental) @NotNull public String getDatabaseArn()
      (experimental) ARN of this database.
      Specified by:
      getDatabaseArn in interface IDatabase
    • getDatabaseName

      @Stability(Experimental) @NotNull public String getDatabaseName()
      (experimental) Name of this database.
      Specified by:
      getDatabaseName in interface IDatabase
    • getLocationUri

      @Stability(Experimental) @Nullable public String getLocationUri()
      (experimental) Location URI of this database.