package awslex


// Contains details about the configuration of the Amazon OpenSearch Service database used for the `AMAZON.QnAIntent` .
//
// Example:
//   // 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"
//
//   opensearchConfigurationProperty := &OpensearchConfigurationProperty{
//   	DomainEndpoint: jsii.String("domainEndpoint"),
//   	ExactResponse: jsii.Boolean(false),
//   	ExactResponseFields: &ExactResponseFieldsProperty{
//   		AnswerField: jsii.String("answerField"),
//   		QuestionField: jsii.String("questionField"),
//   	},
//   	IncludeFields: []*string{
//   		jsii.String("includeFields"),
//   	},
//   	IndexName: jsii.String("indexName"),
//   }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-opensearchconfiguration.html
//
type CfnBot_OpensearchConfigurationProperty struct {
	// The endpoint of the Amazon OpenSearch Service domain.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-opensearchconfiguration.html#cfn-lex-bot-opensearchconfiguration-domainendpoint
	//
	DomainEndpoint *string `field:"optional" json:"domainEndpoint" yaml:"domainEndpoint"`
	// Specifies whether to return an exact response or to return an answer generated by the model using the fields you specify from the database.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-opensearchconfiguration.html#cfn-lex-bot-opensearchconfiguration-exactresponse
	//
	ExactResponse interface{} `field:"optional" json:"exactResponse" yaml:"exactResponse"`
	// Contains the names of the fields used for an exact response to the user.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-opensearchconfiguration.html#cfn-lex-bot-opensearchconfiguration-exactresponsefields
	//
	ExactResponseFields interface{} `field:"optional" json:"exactResponseFields" yaml:"exactResponseFields"`
	// Contains a list of fields from the Amazon OpenSearch Service that the model can use to generate the answer to the query.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-opensearchconfiguration.html#cfn-lex-bot-opensearchconfiguration-includefields
	//
	IncludeFields *[]*string `field:"optional" json:"includeFields" yaml:"includeFields"`
	// The name of the Amazon OpenSearch Service index.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-opensearchconfiguration.html#cfn-lex-bot-opensearchconfiguration-indexname
	//
	IndexName *string `field:"optional" json:"indexName" yaml:"indexName"`
}

