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
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.amazon.awscdk.core.IConstruct
IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.services.glue.IDatabase
IDatabase.Jsii$Default, IDatabase.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.core.IResource
IResource.Jsii$Default -
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) 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, isResourceMethods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validateMethods inherited from class software.constructs.Construct
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.amazon.awscdk.core.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.core.IResource
applyRemovalPolicy, getEnv, getStackMethods 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:
getCatalogArnin interfaceIDatabase
-
getCatalogId
(experimental) The catalog id of the database (usually, the AWS account id).- Specified by:
getCatalogIdin interfaceIDatabase
-
getDatabaseArn
(experimental) ARN of this database.- Specified by:
getDatabaseArnin interfaceIDatabase
-
getDatabaseName
(experimental) Name of this database.- Specified by:
getDatabaseNamein interfaceIDatabase
-
getLocationUri
(experimental) Location URI of this database.
-