class Aws::Glue::Types::DatabaseInput
The structure used to create or update a database.
@note When making an API call, you may pass DatabaseInput
data as a hash: { name: "NameString", # required description: "DescriptionString", location_uri: "URI", parameters: { "KeyString" => "ParametersMapValue", }, create_table_default_permissions: [ { principal: { data_lake_principal_identifier: "DataLakePrincipalString", }, permissions: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS }, ], target_database: { catalog_id: "CatalogIdString", database_name: "NameString", }, }
@!attribute [rw] name
The name of the database. For Hive compatibility, this is folded to lowercase when it is stored. @return [String]
@!attribute [rw] description
A description of the database. @return [String]
@!attribute [rw] location_uri
The location of the database (for example, an HDFS path). @return [String]
@!attribute [rw] parameters
These key-value pairs define parameters and properties of the database. These key-value pairs define parameters and properties of the database. @return [Hash<String,String>]
@!attribute [rw] create_table_default_permissions
Creates a set of default permissions on the table for principals. @return [Array<Types::PrincipalPermissions>]
@!attribute [rw] target_database
A `DatabaseIdentifier` structure that describes a target database for resource linking. @return [Types::DatabaseIdentifier]
@see docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DatabaseInput AWS API Documentation
Constants
- SENSITIVE