interface ServiceNowServiceCatalogConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Kendra.Mixins.CfnDataSourcePropsMixin.ServiceNowServiceCatalogConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awskendra/mixins#CfnDataSourcePropsMixin_ServiceNowServiceCatalogConfigurationProperty |
Java | software.amazon.awscdk.mixins.preview.services.kendra.mixins.CfnDataSourcePropsMixin.ServiceNowServiceCatalogConfigurationProperty |
Python | aws_cdk.mixins_preview.aws_kendra.mixins.CfnDataSourcePropsMixin.ServiceNowServiceCatalogConfigurationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_kendra » mixins » CfnDataSourcePropsMixin » ServiceNowServiceCatalogConfigurationProperty |
Provides the configuration information for crawling service catalog items in the ServiceNow site.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as kendra_mixins } from '@aws-cdk/mixins-preview/aws-kendra';
const serviceNowServiceCatalogConfigurationProperty: kendra_mixins.CfnDataSourcePropsMixin.ServiceNowServiceCatalogConfigurationProperty = {
crawlAttachments: false,
documentDataFieldName: 'documentDataFieldName',
documentTitleFieldName: 'documentTitleFieldName',
excludeAttachmentFilePatterns: ['excludeAttachmentFilePatterns'],
fieldMappings: [{
dataSourceFieldName: 'dataSourceFieldName',
dateFieldFormat: 'dateFieldFormat',
indexFieldName: 'indexFieldName',
}],
includeAttachmentFilePatterns: ['includeAttachmentFilePatterns'],
};
Properties
| Name | Type | Description |
|---|---|---|
| crawl | boolean | IResolvable | TRUE to index attachments to service catalog items. |
| document | string | The name of the ServiceNow field that is mapped to the index document contents field in the Amazon Kendra index. |
| document | string | The name of the ServiceNow field that is mapped to the index document title field. |
| exclude | string[] | A list of regular expression patterns to exclude certain attachments of catalogs in your ServiceNow. |
| field | IResolvable | (IResolvable | Data)[] | Maps attributes or field names of catalogs to Amazon Kendra index field names. |
| include | string[] | A list of regular expression patterns to include certain attachments of catalogs in your ServiceNow. |
crawlAttachments?
Type:
boolean | IResolvable
(optional)
TRUE to index attachments to service catalog items.
documentDataFieldName?
Type:
string
(optional)
The name of the ServiceNow field that is mapped to the index document contents field in the Amazon Kendra index.
documentTitleFieldName?
Type:
string
(optional)
The name of the ServiceNow field that is mapped to the index document title field.
excludeAttachmentFilePatterns?
Type:
string[]
(optional)
A list of regular expression patterns to exclude certain attachments of catalogs in your ServiceNow.
Item that match the patterns are excluded from the index. Items that don't match the patterns are included in the index. If an item matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the item isn't included in the index.
The regex is applied to the file name of the attachment.
fieldMappings?
Type:
IResolvable | (IResolvable | Data)[]
(optional)
Maps attributes or field names of catalogs to Amazon Kendra index field names.
To create custom fields, use the UpdateIndex API before you map to ServiceNow fields. For more information, see Mapping data source fields . The ServiceNow data source field names must exist in your ServiceNow custom metadata.
includeAttachmentFilePatterns?
Type:
string[]
(optional)
A list of regular expression patterns to include certain attachments of catalogs in your ServiceNow.
Item that match the patterns are included in the index. Items that don't match the patterns are excluded from the index. If an item matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the item isn't included in the index.
The regex is applied to the file name of the attachment.

.NET
Go
Java
Python
TypeScript