This is the new AWS CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
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, "FederatedDatabase" :FederatedDatabase, "LocationUri" :String, "Name" :String, "Parameters" :Json, "TargetDatabase" :DatabaseIdentifier}
YAML
CreateTableDefaultPermissions:- PrincipalPrivilegesDescription:StringFederatedDatabase:FederatedDatabaseLocationUri:StringName:StringParameters:JsonTargetDatabase: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: Array of PrincipalPrivileges
Update requires: No interruption
Description-
A description of the database.
Required: No
Type: String
Pattern:
[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*Minimum:
0Maximum:
2048Update requires: No interruption
FederatedDatabase-
A
FederatedDatabasestructure that references an entity outside the AWS Glue Data Catalog.Required: No
Type: FederatedDatabase
Update requires: No interruption
LocationUri-
The location of the database (for example, an HDFS path).
Required: No
Type: String
Pattern:
[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*Minimum:
1Maximum:
1024Update 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
Pattern:
[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\t]*Minimum:
1Maximum:
255Update requires: No interruption
Parameters-
These key-value pairs define parameters and properties of the database.
Required: No
Type: Json
Update requires: No interruption
TargetDatabase-
A
DatabaseIdentifierstructure that describes a target database for resource linking.Required: No
Type: DatabaseIdentifier
Update requires: No interruption