DatabaseProps
- class aws_cdk.aws_glue_alpha.DatabaseProps(*, catalog=None, database_name=None, description=None, location_uri=None, removal_policy=None)
Bases:
object- Parameters:
catalog (
Optional[ICatalog]) – (deprecated) The catalog in which the database will be placed. Default: The default, account-wide catalog.database_name (
Optional[str]) – (deprecated) The name of the database. Default: - generated by CDK.description (
Optional[str]) – (deprecated) A description of the database. Default: - no database descriptionlocation_uri (
Optional[str]) – (deprecated) The location of the database (for example, an HDFS path). Default: undefined. This field is optional in AWS::Glue::Database DatabaseInputremoval_policy (
Optional[RemovalPolicy]) – (deprecated) Policy to apply when the database is removed from the stack. A database is a container for tables and their metadata, so it is retained by default to avoid accidental data loss when it is removed from a stack. Default: RemovalPolicy.RETAIN
- Stability:
deprecated
- ExampleMetadata:
infused
Example:
glue.Database(self, "MyDatabase", database_name="my_database", description="my_database_description" )
Attributes
- catalog
(deprecated) The catalog in which the database will be placed.
- Default:
The default, account-wide catalog.
- Stability:
deprecated
- database_name
(deprecated) The name of the database.
- Default:
generated by CDK.
- Stability:
deprecated
- description
(deprecated) A description of the database.
- Default:
no database description
- Stability:
deprecated
- location_uri
(deprecated) The location of the database (for example, an HDFS path).
- Default:
undefined. This field is optional in AWS::Glue::Database DatabaseInput
- See:
- Stability:
deprecated
- removal_policy
(deprecated) Policy to apply when the database is removed from the stack.
A database is a container for tables and their metadata, so it is retained by default to avoid accidental data loss when it is removed from a stack.
- Default:
RemovalPolicy.RETAIN
- Stability:
deprecated