KendraConfigurationProperty Struct
Provides configuration information for the AMAZON.KendraSearchIntent intent. When you use this intent, Amazon Lex searches the specified Amazon Kendra index and returns documents from the index that match the user's utterance.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lex as lex } from 'aws-cdk-lib';
const kendraConfigurationProperty: lex.CfnBot.KendraConfigurationProperty = {
kendraIndex: 'kendraIndex',
// the properties below are optional
queryFilterString: 'queryFilterString',
queryFilterStringEnabled: false,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_lex as lex
kendra_configuration_property = lex.CfnBot.KendraConfigurationProperty(
kendra_index="kendraIndex",
# the properties below are optional
query_filter_string="queryFilterString",
query_filter_string_enabled=False
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.lex.*;
KendraConfigurationProperty kendraConfigurationProperty = KendraConfigurationProperty.builder()
.kendraIndex("kendraIndex")
// the properties below are optional
.queryFilterString("queryFilterString")
.queryFilterStringEnabled(false)
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Lex;
var kendraConfigurationProperty = new KendraConfigurationProperty {
KendraIndex = "kendraIndex",
// the properties below are optional
QueryFilterString = "queryFilterString",
QueryFilterStringEnabled = false
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
kendraConfigurationProperty := &KendraConfigurationProperty{
KendraIndex: jsii.String("kendraIndex"),
// the properties below are optional
QueryFilterString: jsii.String("queryFilterString"),
QueryFilterStringEnabled: jsii.Boolean(false),
}
Properties
The Amazon Resource Name (ARN) of the Amazon Kendra index that you want the `AMAZON.KendraSearchIntent` intent to search. The index must be in the same account and Region as the Amazon Lex bot.
queryFilterStringoptionalstringquery_filter_stringoptionalstrqueryFilterStringoptionalStringQueryFilterStringoptionalstringQueryFilterStringoptional*string #A query filter that Amazon Lex sends to Amazon Kendra to filter the response from a query.
The filter is in the format defined by Amazon Kendra. For more information, see Filtering queries .
queryFilterStringEnabledoptionalboolean | IResolvablequery_filter_string_enabledoptionaltyping.Union[bool, IResolvable]queryFilterStringEnabledoptionalBooleanQueryFilterStringEnabledoptionalboolQueryFilterStringEnabledoptionalinterface{} #Determines whether the `AMAZON.KendraSearchIntent` intent uses a custom query string to query the Amazon Kendra index.