You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Glue::Types::DatabaseInput

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing DatabaseInput as input to an Aws::Client method, you can use a vanilla 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",
  },
}

The structure used to create or update a database.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#create_table_default_permissionsArray<Types::PrincipalPermissions>

Creates a set of default permissions on the table for principals.

Returns:

#descriptionString

A description of the database.

Returns:

  • (String)

    A description of the database.

#location_uriString

The location of the database (for example, an HDFS path).

Returns:

  • (String)

    The location of the database (for example, an HDFS path).

#nameString

The name of the database. For Hive compatibility, this is folded to lowercase when it is stored.

Returns:

  • (String)

    The name of the database.

#parametersHash<String,String>

These key-value pairs define parameters and properties of the database.

These key-value pairs define parameters and properties of the database.

Returns:

  • (Hash<String,String>)

    These key-value pairs define parameters and properties of the database.

#target_databaseTypes::DatabaseIdentifier

A DatabaseIdentifier structure that describes a target database for resource linking.

Returns: