Interface CfnBotPropsMixin.KendraConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnBotPropsMixin.KendraConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnBotPropsMixin
@Stability(Stable)
public static interface CfnBotPropsMixin.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.cfnpropertymixins.services.lex.*;
KendraConfigurationProperty kendraConfigurationProperty = KendraConfigurationProperty.builder()
.kendraIndex("kendraIndex")
.queryFilterString("queryFilterString")
.queryFilterStringEnabled(false)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnBotPropsMixin.KendraConfigurationPropertystatic final classAn implementation forCfnBotPropsMixin.KendraConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe 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.- See Also:
-
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 .
- See Also:
-
getQueryFilterStringEnabled
Determines whether theAMAZON.KendraSearchIntentintent uses a custom query string to query the Amazon Kendra index.Returns union: either
BooleanorIResolvable- See Also:
-
builder
-