interface ConnectionConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Kendra.Mixins.CfnDataSourcePropsMixin.ConnectionConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awskendra/mixins#CfnDataSourcePropsMixin_ConnectionConfigurationProperty |
Java | software.amazon.awscdk.mixins.preview.services.kendra.mixins.CfnDataSourcePropsMixin.ConnectionConfigurationProperty |
Python | aws_cdk.mixins_preview.aws_kendra.mixins.CfnDataSourcePropsMixin.ConnectionConfigurationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_kendra » mixins » CfnDataSourcePropsMixin » 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 { mixins as kendra_mixins } from '@aws-cdk/mixins-preview/aws-kendra';
const connectionConfigurationProperty: kendra_mixins.CfnDataSourcePropsMixin.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
(optional)
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
(optional)
The name of the database containing the document data.
databasePort?
Type:
number
(optional)
The port that the database uses for connections.
secretArn?
Type:
string
(optional)
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
(optional)
The name of the table that contains the document data.

.NET
Go
Java
Python
TypeScript