-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnDataSource_SalesforceStandardObjectAttachmentConfigurationProperty.go
36 lines (33 loc) · 1.88 KB
/
CfnDataSource_SalesforceStandardObjectAttachmentConfigurationProperty.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
package awskendra
// Provides the configuration information for processing attachments to Salesforce standard objects.
//
// 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"
//
// salesforceStandardObjectAttachmentConfigurationProperty := &SalesforceStandardObjectAttachmentConfigurationProperty{
// 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-salesforcestandardobjectattachmentconfiguration.html
//
type CfnDataSource_SalesforceStandardObjectAttachmentConfigurationProperty struct {
// The name of the field used for the document title.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-salesforcestandardobjectattachmentconfiguration.html#cfn-kendra-datasource-salesforcestandardobjectattachmentconfiguration-documenttitlefieldname
//
DocumentTitleFieldName *string `field:"optional" json:"documentTitleFieldName" yaml:"documentTitleFieldName"`
// One or more objects that map fields in attachments to Amazon Kendra index fields.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-salesforcestandardobjectattachmentconfiguration.html#cfn-kendra-datasource-salesforcestandardobjectattachmentconfiguration-fieldmappings
//
FieldMappings interface{} `field:"optional" json:"fieldMappings" yaml:"fieldMappings"`
}