Interface CfnDataSource.ISalesforceStandardObjectConfigurationProperty
Specifies configuration information for indexing a single standard object.
Namespace: Amazon.CDK.AWS.Kendra
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ISalesforceStandardObjectConfigurationProperty
Syntax (vb)
Public Interface ISalesforceStandardObjectConfigurationProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Kendra;
var salesforceStandardObjectConfigurationProperty = new SalesforceStandardObjectConfigurationProperty {
DocumentDataFieldName = "documentDataFieldName",
Name = "name",
// the properties below are optional
DocumentTitleFieldName = "documentTitleFieldName",
FieldMappings = new [] { new DataSourceToIndexFieldMappingProperty {
DataSourceFieldName = "dataSourceFieldName",
IndexFieldName = "indexFieldName",
// the properties below are optional
DateFieldFormat = "dateFieldFormat"
} }
};
Synopsis
Properties
DocumentDataFieldName | The name of the field in the standard object table that contains the document contents. |
DocumentTitleFieldName | The name of the field in the standard object table that contains the document title. |
FieldMappings | Maps attributes or field names of the standard object to Amazon Kendra index field names. |
Name | The name of the standard object. |
Properties
DocumentDataFieldName
The name of the field in the standard object table that contains the document contents.
string DocumentDataFieldName { get; }
Property Value
System.String
Remarks
DocumentTitleFieldName
The name of the field in the standard object table that contains the document title.
virtual string DocumentTitleFieldName { get; }
Property Value
System.String
Remarks
FieldMappings
Maps attributes or field names of the standard object to Amazon Kendra index field names.
virtual object FieldMappings { get; }
Property Value
System.Object
Remarks
To create custom fields, use the UpdateIndex
API before you map to Salesforce fields. For more information, see Mapping data source fields . The Salesforce data source field names must exist in your Salesforce custom metadata.
Name
The name of the standard object.
string Name { get; }
Property Value
System.String