@Stability(value=Stable)
public static interface CfnDataSource.ConnectionConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.kendra.*;
ConnectionConfigurationProperty connectionConfigurationProperty = ConnectionConfigurationProperty.builder()
.databaseHost("databaseHost")
.databaseName("databaseName")
.databasePort(123)
.secretArn("secretArn")
.tableName("tableName")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnDataSource.ConnectionConfigurationProperty.Builder
A builder for
CfnDataSource.ConnectionConfigurationProperty |
static class |
CfnDataSource.ConnectionConfigurationProperty.Jsii$Proxy
An implementation for
CfnDataSource.ConnectionConfigurationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnDataSource.ConnectionConfigurationProperty.Builder |
builder() |
String |
getDatabaseHost()
The name of the host for the database.
|
String |
getDatabaseName()
The name of the database containing the document data.
|
Number |
getDatabasePort()
The port that the database uses for connections.
|
String |
getSecretArn()
The Amazon Resource Name (ARN) of credentials stored in AWS Secrets Manager .
|
String |
getTableName()
The name of the table that contains the document data.
|
@Stability(value=Stable) @NotNull String getDatabaseHost()
Can be either a string (host.subdomain.domain.tld) or an IPv4 or IPv6 address.
@Stability(value=Stable) @NotNull String getDatabaseName()
@Stability(value=Stable) @NotNull Number getDatabasePort()
@Stability(value=Stable) @NotNull String getSecretArn()
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.
@Stability(value=Stable) @NotNull String getTableName()
@Stability(value=Stable) static CfnDataSource.ConnectionConfigurationProperty.Builder builder()
Copyright © 2022. All rights reserved.