Class Database

All Implemented Interfaces:
IConstruct, IDependable, IResource, IDatabase,, 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.


 Database.Builder.create(this, "MyDatabase")
  • Constructor Details

    • Database

      protected Database( objRef)
    • Database

      protected Database( initializationMode)
    • Database

      @Stability(Experimental) public Database(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull DatabaseProps props)
      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)
      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.