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:
- PrincipalPrivileges
Description: String
FederatedDatabase:
FederatedDatabase
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: 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:
0
Maximum:
2048
Update requires: No interruption
FederatedDatabase
-
A
FederatedDatabase
structure 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:
1
Maximum:
1024
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
Pattern:
[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\t]*
Minimum:
1
Maximum:
255
Update 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
DatabaseIdentifier
structure that describes a target database for resource linking.Required: No
Type: DatabaseIdentifier
Update requires: No interruption