DatabaseInput
The structure used to create or update a database.
Contents
- Name
-
The name of the database. For Hive compatibility, this is folded to lowercase when it is stored.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 255.
Pattern:
[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\t]*
Required: Yes
- 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.
Type: Array of PrincipalPermissions objects
Required: No
- Description
-
A description of the database.
Type: String
Length Constraints: Minimum length of 0. Maximum length of 2048.
Pattern:
[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
Required: No
- FederatedDatabase
-
A
FederatedDatabase
structure that references an entity outside the AWS Glue Data Catalog.Type: FederatedDatabase object
Required: No
- LocationUri
-
The location of the database (for example, an HDFS path).
Type: String
Length Constraints: Minimum length of 1. Maximum length of 1024.
Pattern:
[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
Required: No
- Parameters
-
These key-value pairs define parameters and properties of the database.
These key-value pairs define parameters and properties of the database.
Type: String to string map
Key Length Constraints: Minimum length of 1. Maximum length of 255.
Key Pattern:
[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\t]*
Value Length Constraints: Maximum length of 512000.
Required: No
- TargetDatabase
-
A
DatabaseIdentifier
structure that describes a target database for resource linking.Type: DatabaseIdentifier object
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: