AWS::Glue::Database DatabaseInput
The structure used to create or update a database.
Syntax
To declare this entity in your Amazon 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 Amazon Lake Formation. Not used in the normal course of Amazon Glue operations.
Required: No
Type: List of PrincipalPrivileges
Update requires: No interruption
Description-
A description of the database.
Required: No
Type: String
Minimum:
0Maximum:
2048Pattern:
[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*Update requires: No interruption
FederatedDatabaseProperty description not available.
Required: No
Type: FederatedDatabase
Update requires: No interruption
LocationUri-
The location of the database (for example, an HDFS path).
Required: No
Type: String
Minimum:
1Maximum:
1024Pattern:
[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*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
Minimum:
1Maximum:
255Pattern:
[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\t]*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
DatabaseIdentifierstructure that describes a target database for resource linking.Required: No
Type: DatabaseIdentifier
Update requires: No interruption