-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnDataSource_SalesforceChatterFeedConfigurationProperty.go
58 lines (55 loc) · 3.17 KB
/
CfnDataSource_SalesforceChatterFeedConfigurationProperty.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
package awskendra
// The configuration information for syncing a Salesforce chatter feed.
//
// The contents of the object comes from the Salesforce FeedItem table.
//
// 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"
//
// salesforceChatterFeedConfigurationProperty := &SalesforceChatterFeedConfigurationProperty{
// DocumentDataFieldName: jsii.String("documentDataFieldName"),
//
// // 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"),
// },
// },
// IncludeFilterTypes: []*string{
// jsii.String("includeFilterTypes"),
// },
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-salesforcechatterfeedconfiguration.html
//
type CfnDataSource_SalesforceChatterFeedConfigurationProperty struct {
// The name of the column in the Salesforce FeedItem table that contains the content to index.
//
// Typically this is the `Body` column.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-salesforcechatterfeedconfiguration.html#cfn-kendra-datasource-salesforcechatterfeedconfiguration-documentdatafieldname
//
DocumentDataFieldName *string `field:"required" json:"documentDataFieldName" yaml:"documentDataFieldName"`
// The name of the column in the Salesforce FeedItem table that contains the title of the document.
//
// This is typically the `Title` column.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-salesforcechatterfeedconfiguration.html#cfn-kendra-datasource-salesforcechatterfeedconfiguration-documenttitlefieldname
//
DocumentTitleFieldName *string `field:"optional" json:"documentTitleFieldName" yaml:"documentTitleFieldName"`
// Maps fields from a Salesforce chatter feed into Amazon Kendra index fields.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-salesforcechatterfeedconfiguration.html#cfn-kendra-datasource-salesforcechatterfeedconfiguration-fieldmappings
//
FieldMappings interface{} `field:"optional" json:"fieldMappings" yaml:"fieldMappings"`
// Filters the documents in the feed based on status of the user.
//
// When you specify `ACTIVE_USERS` only documents from users who have an active account are indexed. When you specify `STANDARD_USER` only documents for Salesforce standard users are documented. You can specify both.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-salesforcechatterfeedconfiguration.html#cfn-kendra-datasource-salesforcechatterfeedconfiguration-includefiltertypes
//
IncludeFilterTypes *[]*string `field:"optional" json:"includeFilterTypes" yaml:"includeFilterTypes"`
}