# SalesforceKnowledgeArticleConfigurationProperty

Provides the configuration information for the knowledge article types that Amazon Kendra indexes.

Amazon Kendra indexes standard knowledge articles and the standard fields of knowledge articles, or the custom fields of custom knowledge articles, but not both

- Source: Generated code
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_kendra as kendra } from 'aws-cdk-lib';
const salesforceKnowledgeArticleConfigurationProperty: kendra.CfnDataSource.SalesforceKnowledgeArticleConfigurationProperty = {
  includedStates: ['includedStates'],

  // the properties below are optional
  customKnowledgeArticleTypeConfigurations: [{
    documentDataFieldName: 'documentDataFieldName',
    name: 'name',

    // the properties below are optional
    documentTitleFieldName: 'documentTitleFieldName',
    fieldMappings: [{
      dataSourceFieldName: 'dataSourceFieldName',
      indexFieldName: 'indexFieldName',

      // the properties below are optional
      dateFieldFormat: 'dateFieldFormat',
    }],
  }],
  standardKnowledgeArticleTypeConfiguration: {
    documentDataFieldName: 'documentDataFieldName',

    // the properties below are optional
    documentTitleFieldName: 'documentTitleFieldName',
    fieldMappings: [{
      dataSourceFieldName: 'dataSourceFieldName',
      indexFieldName: 'indexFieldName',

      // the properties below are optional
      dateFieldFormat: 'dateFieldFormat',
    }],
  },
};
```

## Properties

- `customKnowledgeArticleTypeConfigurations`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnDataSource.SalesforceCustomKnowledgeArticleTypeConfigurationProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_kendra.CfnDataSource.SalesforceCustomKnowledgeArticleTypeConfigurationProperty.html)[] — Configuration information for custom Salesforce knowledge articles.

- `includedStates`: string[] (required) — Specifies the document states that should be included when Amazon Kendra indexes knowledge articles.

  You must specify at least one state.

- `standardKnowledgeArticleTypeConfiguration`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnDataSource.SalesforceStandardKnowledgeArticleTypeConfigurationProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_kendra.CfnDataSource.SalesforceStandardKnowledgeArticleTypeConfigurationProperty.html) — Configuration information for standard Salesforce knowledge articles.
