Interface CfnDataSourcePropsMixin.DatabaseConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDataSourcePropsMixin.DatabaseConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnDataSourcePropsMixin
@Stability(Stable)
public static interface CfnDataSourcePropsMixin.DatabaseConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Provides the configuration information to an Amazon Kendra supported 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.*;
DatabaseConfigurationProperty databaseConfigurationProperty = DatabaseConfigurationProperty.builder()
.aclConfiguration(AclConfigurationProperty.builder()
.allowedGroupsColumnName("allowedGroupsColumnName")
.build())
.columnConfiguration(ColumnConfigurationProperty.builder()
.changeDetectingColumns(List.of("changeDetectingColumns"))
.documentDataColumnName("documentDataColumnName")
.documentIdColumnName("documentIdColumnName")
.documentTitleColumnName("documentTitleColumnName")
.fieldMappings(List.of(DataSourceToIndexFieldMappingProperty.builder()
.dataSourceFieldName("dataSourceFieldName")
.dateFieldFormat("dateFieldFormat")
.indexFieldName("indexFieldName")
.build()))
.build())
.connectionConfiguration(ConnectionConfigurationProperty.builder()
.databaseHost("databaseHost")
.databaseName("databaseName")
.databasePort(123)
.secretArn("secretArn")
.tableName("tableName")
.build())
.databaseEngineType("databaseEngineType")
.sqlConfiguration(SqlConfigurationProperty.builder()
.queryIdentifiersEnclosingOption("queryIdentifiersEnclosingOption")
.build())
.vpcConfiguration(DataSourceVpcConfigurationProperty.builder()
.securityGroupIds(List.of("securityGroupIds"))
.subnetIds(List.of("subnetIds"))
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDataSourcePropsMixin.DatabaseConfigurationPropertystatic final classAn implementation forCfnDataSourcePropsMixin.DatabaseConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectInformation about the database column that provides information for user context filtering.default ObjectInformation about where the index should get the document information from the database.default ObjectConfiguration information that's required to connect to a database.default StringThe type of database engine that runs the database.default ObjectProvides information about how Amazon Kendra uses quote marks around SQL identifiers when querying a database data source.default ObjectProvides information for connecting to an Amazon VPC.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAclConfiguration
Information about the database column that provides information for user context filtering.Returns union: either
IResolvableorCfnDataSourcePropsMixin.AclConfigurationProperty- See Also:
-
getColumnConfiguration
Information about where the index should get the document information from the database.Returns union: either
IResolvableorCfnDataSourcePropsMixin.ColumnConfigurationProperty- See Also:
-
getConnectionConfiguration
Configuration information that's required to connect to a database.Returns union: either
IResolvableorCfnDataSourcePropsMixin.ConnectionConfigurationProperty- See Also:
-
getDatabaseEngineType
The type of database engine that runs the database.- See Also:
-
getSqlConfiguration
Provides information about how Amazon Kendra uses quote marks around SQL identifiers when querying a database data source.Returns union: either
IResolvableorCfnDataSourcePropsMixin.SqlConfigurationProperty- See Also:
-
getVpcConfiguration
Provides information for connecting to an Amazon VPC.Returns union: either
IResolvableorCfnDataSourcePropsMixin.DataSourceVpcConfigurationProperty- See Also:
-
builder
-