Class Database
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.core.Construct
software.amazon.awscdk.core.Resource
software.amazon.awscdk.services.glue.Database
- 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();
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
(experimental) A fluent builder forDatabase
.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.glue.IDatabase
IDatabase.Jsii$Default, IDatabase.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IResource
IResource.Jsii$Default
-
Constructor Summary
ModifierConstructorDescriptionprotected
Database
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
Database
(software.amazon.jsii.JsiiObjectRef objRef) Database
(software.constructs.Construct scope, String id, DatabaseProps props) -
Method Summary
Modifier and TypeMethodDescriptionstatic IDatabase
fromDatabaseArn
(software.constructs.Construct scope, String id, String databaseArn) (experimental) ARN of the Glue catalog in which this database is stored.(experimental) The catalog id of the database (usually, the AWS account id).(experimental) ARN of this database.(experimental) Name of this database.(experimental) Location URI of this database.Methods inherited from class software.amazon.awscdk.core.Resource
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResource
Methods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
Methods inherited from class software.constructs.Construct
toString
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.amazon.awscdk.core.IConstruct
getNode
Methods inherited from interface software.amazon.awscdk.core.IResource
applyRemovalPolicy, getEnv, getStack
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
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
(experimental) ARN of the Glue catalog in which this database is stored.- Specified by:
getCatalogArn
in interfaceIDatabase
-
getCatalogId
(experimental) The catalog id of the database (usually, the AWS account id).- Specified by:
getCatalogId
in interfaceIDatabase
-
getDatabaseArn
(experimental) ARN of this database.- Specified by:
getDatabaseArn
in interfaceIDatabase
-
getDatabaseName
(experimental) Name of this database.- Specified by:
getDatabaseName
in interfaceIDatabase
-
getLocationUri
(experimental) Location URI of this database.
-