Class Database
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.Resource
software.amazon.awscdk.services.glue.alpha.Database
- All Implemented Interfaces:
IEnvironmentAware,IResource,IDatabase,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)",
date="2026-08-13T16:20:30.649Z")
@Stability(Experimental)
public class Database
extends Resource
implements IDatabase
(experimental) A Glue database.
Example:
import software.amazon.awscdk.RemovalPolicy;
Database.Builder.create(this, "MyDatabase")
.databaseName("my_database")
.removalPolicy(RemovalPolicy.DESTROY)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class(experimental) A fluent builder forDatabase.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.services.glue.alpha.IDatabase
IDatabase.Jsii$Default, IDatabase.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String(experimental) Uniquely identifies this class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDatabase(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedDatabase(software.amazon.jsii.JsiiObjectRef objRef) Database(software.constructs.Construct scope, String id, DatabaseProps props) -
Method Summary
Modifier and TypeMethodDescriptionstatic IDatabasefromDatabaseArn(software.constructs.Construct scope, String id, String databaseArn) (experimental) The catalog this database belongs to.(experimental) The ARN of the database.(experimental) The name of the database.(experimental) Location URI of this database.voidsetLocationUri(String value) (experimental) Location URI of this database.Methods inherited from class software.amazon.awscdk.Resource
applyCrossStackReferenceStrength, applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isOwnedResource, isResource, withMethods inherited from class software.constructs.Construct
getNode, isConstruct, toStringMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNode, withMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
PROPERTY_INJECTION_ID
(experimental) Uniquely identifies this class.
-
-
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, @Nullable DatabaseProps props) - Parameters:
scope- This parameter is required.id- This parameter is required.props-
-
Database
@Stability(Experimental) public Database(@NotNull software.constructs.Construct scope, @NotNull String id) - Parameters:
scope- This parameter is required.id- 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.
-
getCatalog
(experimental) The catalog this database belongs to.Defaults to the implicit, account-wide catalog, materialized on first access.
- Specified by:
getCatalogin interfaceIDatabase
-
getDatabaseArn
(experimental) The ARN of the database.- Specified by:
getDatabaseArnin interfaceIDatabase
-
getDatabaseName
(experimental) The name of the database.- Specified by:
getDatabaseNamein interfaceIDatabase
-
getLocationUri
(experimental) Location URI of this database. -
setLocationUri
(experimental) Location URI of this database.
-