Interface CfnBot.KendraConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnBot.KendraConfigurationProperty.Jsii$Proxy
- Enclosing class:
- CfnBot
@Stability(Stable)
public static interface CfnBot.KendraConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
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.
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.lex.*;
KendraConfigurationProperty kendraConfigurationProperty = KendraConfigurationProperty.builder()
.kendraIndex("kendraIndex")
// the properties below are optional
.queryFilterString("queryFilterString")
.queryFilterStringEnabled(false)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnBot.KendraConfigurationPropertystatic final classAn implementation forCfnBot.KendraConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The Amazon Resource Name (ARN) of the Amazon Kendra index that you want theAMAZON.KendraSearchIntentintent to search.default StringA query filter that Amazon Lex sends to Amazon Kendra to filter the response from a query.default ObjectDetermines whether theAMAZON.KendraSearchIntentintent uses a custom query string to query the Amazon Kendra index.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getKendraIndex
The Amazon Resource Name (ARN) of the Amazon Kendra index that you want theAMAZON.KendraSearchIntentintent to search. The index must be in the same account and Region as the Amazon Lex bot. -
getQueryFilterString
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 .
-
getQueryFilterStringEnabled
Determines whether theAMAZON.KendraSearchIntentintent uses a custom query string to query the Amazon Kendra index. -
builder
-