interface ExactResponseFieldsProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Lex.CfnBotPropsMixin.ExactResponseFieldsProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awslex#CfnBotPropsMixin_ExactResponseFieldsProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.lex.CfnBotPropsMixin.ExactResponseFieldsProperty |
Python | aws_cdk.cfn_property_mixins.aws_lex.CfnBotPropsMixin.ExactResponseFieldsProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_lex » CfnBotPropsMixin » ExactResponseFieldsProperty |
Contains the names of the fields used for an exact response to the user.
Example
// 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/cfn-property-mixins';
const exactResponseFieldsProperty: lex.CfnBotPropsMixin.ExactResponseFieldsProperty = {
answerField: 'answerField',
questionField: 'questionField',
};
Properties
| Name | Type | Description |
|---|---|---|
| answer | string | The name of the field that contains the answer to the query made to the OpenSearch Service database. |
| question | string | The name of the field that contains the query made to the OpenSearch Service database. |
answerField?
Type:
string
(optional)
The name of the field that contains the answer to the query made to the OpenSearch Service database.
questionField?
Type:
string
(optional)
The name of the field that contains the query made to the OpenSearch Service database.

.NET
Go
Java
Python
TypeScript