AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

Class: Aws::Kendra::Types::DatabaseConfiguration

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

Overview

Note:

When passing DatabaseConfiguration as input to an Aws::Client method, you can use a vanilla Hash:

{
  database_engine_type: "RDS_AURORA_MYSQL", # required, accepts RDS_AURORA_MYSQL, RDS_AURORA_POSTGRESQL, RDS_MYSQL, RDS_POSTGRESQL
  connection_configuration: { # required
    database_host: "DatabaseHost", # required
    database_port: 1, # required
    database_name: "DatabaseName", # required
    table_name: "TableName", # required
    secret_arn: "SecretArn", # required
  },
  vpc_configuration: {
    subnet_ids: ["SubnetId"], # required
    security_group_ids: ["VpcSecurityGroupId"], # required
  },
  column_configuration: { # required
    document_id_column_name: "ColumnName", # required
    document_data_column_name: "ColumnName", # required
    document_title_column_name: "ColumnName",
    field_mappings: [
      {
        data_source_field_name: "DataSourceFieldName", # required
        date_field_format: "DataSourceDateFieldFormat",
        index_field_name: "IndexFieldName", # required
      },
    ],
    change_detecting_columns: ["ColumnName"], # required
  },
  acl_configuration: {
    allowed_groups_column_name: "ColumnName", # required
  },
}

Provides the information necessary to connect a database to an index.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#acl_configurationTypes::AclConfiguration

Information about the database column that provides information for user context filtering.

Returns:

  • (Types::AclConfiguration)

    Information about the database column that provides information for user context filtering.

#column_configurationTypes::ColumnConfiguration

Information about where the index should get the document information from the database.

Returns:

#connection_configurationTypes::ConnectionConfiguration

The information necessary to connect to a database.

Returns:

#database_engine_typeString

The type of database engine that runs the database.

Possible values:

  • RDS_AURORA_MYSQL
  • RDS_AURORA_POSTGRESQL
  • RDS_MYSQL
  • RDS_POSTGRESQL

Returns:

  • (String)

    The type of database engine that runs the database.

#vpc_configurationTypes::DataSourceVpcConfiguration

Provides information for connecting to an Amazon VPC.

Returns: