Interface CfnDataSourcePropsMixin.ConnectionConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDataSourcePropsMixin.ConnectionConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnDataSourcePropsMixin
@Stability(Stable)
public static interface CfnDataSourcePropsMixin.ConnectionConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.cfnpropertymixins.services.kendra.*;
ConnectionConfigurationProperty connectionConfigurationProperty = ConnectionConfigurationProperty.builder()
.databaseHost("databaseHost")
.databaseName("databaseName")
.databasePort(123)
.secretArn("secretArn")
.tableName("tableName")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDataSourcePropsMixin.ConnectionConfigurationPropertystatic final classAn implementation forCfnDataSourcePropsMixin.ConnectionConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe name of the host for the database.default StringThe name of the database containing the document data.default NumberThe port that the database uses for connections.default StringThe Amazon Resource Name (ARN) of an AWS Secrets Manager secret that stores the credentials.default StringThe name of the table that contains the document data.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDatabaseHost
The name of the host for the database.Can be either a string (host.subdomain.domain.tld) or an IPv4 or IPv6 address.
- See Also:
-
getDatabaseName
The name of the database containing the document data.- See Also:
-
getDatabasePort
The port that the database uses for connections.- See Also:
-
getSecretArn
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.
- See Also:
-
getTableName
The name of the table that contains the document data.- See Also:
-
builder
-