Class Database
(experimental) A Glue database.
Inherited Members
Namespace: Amazon.CDK.AWS.Glue.Alpha
Assembly: Amazon.CDK.AWS.Glue.Alpha.dll
Syntax (csharp)
public class Database : Resource, IDatabase, IResource, IConstruct, IDependable, IEnvironmentAware
Syntax (vb)
Public Class Database Inherits Resource Implements IDatabase, IResource, IConstruct, IDependable, IEnvironmentAware
Remarks
Stability: Experimental
ExampleMetadata: infused
Examples
using Amazon.CDK;
new Database(this, "MyDatabase", new DatabaseProps {
DatabaseName = "my_database",
RemovalPolicy = RemovalPolicy.DESTROY
});
Synopsis
Constructors
| Database(Construct, string, IDatabaseProps?) | (experimental) A Glue database. |
Properties
| Catalog | (experimental) The catalog this database belongs to. |
| DatabaseArn | (experimental) The ARN of the database. |
| DatabaseName | (experimental) The name of the database. |
| LocationUri | (experimental) Location URI of this database. |
| PROPERTY_INJECTION_ID | (experimental) Uniquely identifies this class. |
Methods
| FromDatabaseArn(Construct, string, string) | (experimental) A Glue database. |
Constructors
Database(Construct, string, IDatabaseProps?)
(experimental) A Glue database.
public Database(Construct scope, string id, IDatabaseProps? props = null)
Parameters
- scope Construct
- id string
- props IDatabaseProps
Remarks
Stability: Experimental
Properties
Catalog
(experimental) The catalog this database belongs to.
public virtual ICatalog Catalog { get; }
Property Value
Remarks
Defaults to the implicit, account-wide catalog, materialized on first access.
Stability: Experimental
DatabaseArn
(experimental) The ARN of the database.
public virtual string DatabaseArn { get; }
Property Value
Remarks
Stability: Experimental
DatabaseName
(experimental) The name of the database.
public virtual string DatabaseName { get; }
Property Value
Remarks
Stability: Experimental
LocationUri
(experimental) Location URI of this database.
public virtual string? LocationUri { get; }
Property Value
Remarks
Stability: Experimental
PROPERTY_INJECTION_ID
(experimental) Uniquely identifies this class.
public static string PROPERTY_INJECTION_ID { get; }
Property Value
Remarks
Stability: Experimental
Methods
FromDatabaseArn(Construct, string, string)
(experimental) A Glue database.
public static IDatabase FromDatabaseArn(Construct scope, string id, string databaseArn)
Parameters
Returns
Remarks
Stability: Experimental