interface ConnectionConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Kendra.CfnDataSource.ConnectionConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awskendra#CfnDataSource_ConnectionConfigurationProperty |
Java | software.amazon.awscdk.services.kendra.CfnDataSource.ConnectionConfigurationProperty |
Python | aws_cdk.aws_kendra.CfnDataSource.ConnectionConfigurationProperty |
TypeScript | aws-cdk-lib » aws_kendra » CfnDataSource » ConnectionConfigurationProperty |
Provides the configuration information that's required to connect to a database.
Example
// 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
| Name | Type | Description |
|---|---|---|
| database | string | The name of the host for the database. |
| database | string | The name of the database containing the document data. |
| database | number | The port that the database uses for connections. |
| secret | string | The Amazon Resource Name (ARN) of an AWS Secrets Manager secret that stores the credentials. |
| table | string | The name of the table that contains the document data. |
databaseHost
Type:
string
The name of the host for the database.
Can be either a string (host.subdomain.domain.tld) or an IPv4 or IPv6 address.
databaseName
Type:
string
The name of the database containing the document data.
databasePort
Type:
number
The port that the database uses for connections.
secretArn
Type:
string
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 . For more information about AWS Secrets Manager , see What Is AWS Secrets Manager in the AWS Secrets Manager user guide.
tableName
Type:
string
The name of the table that contains the document data.

.NET
Go
Java
Python
TypeScript