Database

class aws_cdk.aws_glue.Database(scope, id, *, database_name, location_uri=None)

Bases: aws_cdk.core.Resource

A Glue database.

stability :stability: experimental

__init__(scope, id, *, database_name, location_uri=None)
Parameters
  • scope (Construct) –

  • id (str) –

  • database_name (str) – The name of the database.

  • location_uri (Optional[str]) – The location of the database (for example, an HDFS path). Default: undefined. This field is optional in AWS::Glue::Database DatabaseInput

stability :stability: experimental

Return type

None

Methods

to_string()

Returns a string representation of this construct.

Return type

str

Attributes

catalog_arn

ARN of the Glue catalog in which this database is stored.

stability :stability: experimental

Return type

str

catalog_id

ID of the Glue catalog in which this database is stored.

stability :stability: experimental

Return type

str

database_arn

ARN of this database.

stability :stability: experimental

Return type

str

database_name

Name of this database.

stability :stability: experimental

Return type

str

location_uri

Location URI of this database.

stability :stability: experimental

Return type

Optional[str]

node

The construct tree node associated with this construct.

Return type

ConstructNode

stack

The stack in which this resource is defined.

Return type

Stack

Static Methods

classmethod from_database_arn(scope, id, database_arn)
Parameters
  • scope (Construct) –

  • id (str) –

  • database_arn (str) –

stability :stability: experimental

Return type

IDatabase

classmethod is_construct(x)

Return whether the given object is a Construct.

Parameters

x (Any) –

Return type

bool