class Aws::Kendra::Types::ConnectionConfiguration
Provides the information necessary to connect to a database.
@note When making an API call, you may pass ConnectionConfiguration
data as a hash: { database_host: "DatabaseHost", # required database_port: 1, # required database_name: "DatabaseName", # required table_name: "TableName", # required secret_arn: "SecretArn", # required }
@!attribute [rw] database_host
The name of the host for the database. Can be either a string (host.subdomain.domain.tld) or an IPv4 or IPv6 address. @return [String]
@!attribute [rw] database_port
The port that the database uses for connections. @return [Integer]
@!attribute [rw] database_name
The name of the database containing the document data. @return [String]
@!attribute [rw] table_name
The name of the table that contains the document data. @return [String]
@!attribute [rw] secret_arn
The Amazon Resource Name (ARN) of credentials stored in Secrets Manager. The credentials should be a user/password pair. For more information, see [Using a Database Data Source][1]. For more information about Secrets Manager, see [ What Is Secrets Manager][2] in the <i> Secrets Manager </i> user guide. [1]: https://docs.aws.amazon.com/kendra/latest/dg/data-source-database.html [2]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/intro.html @return [String]
@see docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/ConnectionConfiguration AWS API Documentation
Constants
- SENSITIVE