package awskendra // Provides the configuration information for indexing Salesforce custom articles. // // 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" // // salesforceCustomKnowledgeArticleTypeConfigurationProperty := &SalesforceCustomKnowledgeArticleTypeConfigurationProperty{ // DocumentDataFieldName: jsii.String("documentDataFieldName"), // Name: jsii.String("name"), // // // the properties below are optional // DocumentTitleFieldName: jsii.String("documentTitleFieldName"), // FieldMappings: []interface{}{ // &DataSourceToIndexFieldMappingProperty{ // DataSourceFieldName: jsii.String("dataSourceFieldName"), // IndexFieldName: jsii.String("indexFieldName"), // // // the properties below are optional // DateFieldFormat: jsii.String("dateFieldFormat"), // }, // }, // } // // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-salesforcecustomknowledgearticletypeconfiguration.html // type CfnDataSource_SalesforceCustomKnowledgeArticleTypeConfigurationProperty struct { // The name of the field in the custom knowledge article that contains the document data to index. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-salesforcecustomknowledgearticletypeconfiguration.html#cfn-kendra-datasource-salesforcecustomknowledgearticletypeconfiguration-documentdatafieldname // DocumentDataFieldName *string `field:"required" json:"documentDataFieldName" yaml:"documentDataFieldName"` // The name of the configuration. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-salesforcecustomknowledgearticletypeconfiguration.html#cfn-kendra-datasource-salesforcecustomknowledgearticletypeconfiguration-name // Name *string `field:"required" json:"name" yaml:"name"` // The name of the field in the custom knowledge article that contains the document title. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-salesforcecustomknowledgearticletypeconfiguration.html#cfn-kendra-datasource-salesforcecustomknowledgearticletypeconfiguration-documenttitlefieldname // DocumentTitleFieldName *string `field:"optional" json:"documentTitleFieldName" yaml:"documentTitleFieldName"` // Maps attributes or field names of the custom knowledge article to Amazon Kendra index field names. // // To create custom fields, use the `UpdateIndex` API before you map to Salesforce fields. For more information, see [Mapping data source fields](https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html) . The Salesforce data source field names must exist in your Salesforce custom metadata. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-salesforcecustomknowledgearticletypeconfiguration.html#cfn-kendra-datasource-salesforcecustomknowledgearticletypeconfiguration-fieldmappings // FieldMappings interface{} `field:"optional" json:"fieldMappings" yaml:"fieldMappings"` }