# ConnectionConfigurationProperty

Provides the configuration information that's required to connect to a database.

- Source: Generated code
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_kendra as kendra } from 'aws-cdk-lib';
const connectionConfigurationProperty: kendra.CfnDataSource.ConnectionConfigurationProperty = {
  databaseHost: 'databaseHost',
  databaseName: 'databaseName',
  databasePort: 123,
  secretArn: 'secretArn',
  tableName: 'tableName',
};
```

## Properties

- `databaseHost`: string (required) — The name of the host for the database.

  Can be either a string (host.subdomain.domain.tld) or an IPv4 or IPv6 address.

- `databaseName`: string (required) — The name of the database containing the document data.

- `databasePort`: number (required) — The port that the database uses for connections.

- `secretArn`: string (required) — The Amazon Resource Name (ARN) of an AWS Secrets Manager secret that stores the credentials.

  The credentials should be a user-password pair. For more information, see [Using a Database Data Source](https://docs.aws.amazon.com/kendra/latest/dg/data-source-database.html) . For more information about AWS Secrets Manager , see [What Is AWS Secrets Manager](https://docs.aws.amazon.com/secretsmanager/latest/userguide/intro.html) in the *AWS Secrets Manager* user guide.

- `tableName`: string (required) — The name of the table that contains the document data.
