AWS::Glue::Database DatabaseInput - AWS CloudFormation

AWS::Glue::Database DatabaseInput

The structure used to create or update a database.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "CreateTableDefaultPermissions" : [ PrincipalPrivileges, ... ], "Description" : String, "LocationUri" : String, "Name" : String, "Parameters" : Json, "TargetDatabase" : DatabaseIdentifier }

Properties

CreateTableDefaultPermissions

Creates a set of default permissions on the table for principals. Used by AWS Lake Formation. Not used in the normal course of AWS Glue operations.

Required: No

Type: List of PrincipalPrivileges

Update requires: No interruption

Description

A description of the database.

Required: No

Type: String

Update requires: No interruption

LocationUri

The location of the database (for example, an HDFS path).

Required: No

Type: String

Update requires: No interruption

Name

The name of the database. For Hive compatibility, this is folded to lowercase when it is stored.

Required: No

Type: String

Update requires: Replacement

Parameters

These key-value pairs define parameters and properties of the database.

Required: No

Type: Json

Update requires: No interruption

TargetDatabase

A DatabaseIdentifier structure that describes a target database for resource linking.

Required: No

Type: DatabaseIdentifier

Update requires: No interruption