interface SharePointConfigurationProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Kendra.CfnDataSource.SharePointConfigurationProperty |
![]() | software.amazon.awscdk.services.kendra.CfnDataSource.SharePointConfigurationProperty |
![]() | aws_cdk.aws_kendra.CfnDataSource.SharePointConfigurationProperty |
![]() | @aws-cdk/aws-kendra » CfnDataSource » SharePointConfigurationProperty |
Provides the configuration information to connect to Microsoft SharePoint as your data source.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as kendra from '@aws-cdk/aws-kendra';
const sharePointConfigurationProperty: kendra.CfnDataSource.SharePointConfigurationProperty = {
secretArn: 'secretArn',
sharePointVersion: 'sharePointVersion',
urls: ['urls'],
// the properties below are optional
crawlAttachments: false,
disableLocalGroups: false,
documentTitleFieldName: 'documentTitleFieldName',
exclusionPatterns: ['exclusionPatterns'],
fieldMappings: [{
dataSourceFieldName: 'dataSourceFieldName',
indexFieldName: 'indexFieldName',
// the properties below are optional
dateFieldFormat: 'dateFieldFormat',
}],
inclusionPatterns: ['inclusionPatterns'],
sslCertificateS3Path: {
bucket: 'bucket',
key: 'key',
},
useChangeLog: false,
vpcConfiguration: {
securityGroupIds: ['securityGroupIds'],
subnetIds: ['subnetIds'],
},
};
Properties
Name | Type | Description |
---|---|---|
secret | string | The Amazon Resource Name (ARN) of an AWS Secrets Manager secret that contains the user name and password required to connect to the SharePoint instance. |
share | string | The version of Microsoft SharePoint that you use. |
urls | string[] | The Microsoft SharePoint site URLs for the documents you want to index. |
crawl | boolean | IResolvable | TRUE to index document attachments. |
disable | boolean | IResolvable | TRUE to disable local groups information. |
document | string | The Microsoft SharePoint attribute field that contains the title of the document. |
exclusion | string[] | A list of regular expression patterns. |
field | IResolvable | IResolvable | Data [] | A list of DataSourceToIndexFieldMapping objects that map Microsoft SharePoint attributes or fields to Amazon Kendra index fields. |
inclusion | string[] | A list of regular expression patterns to include certain documents in your SharePoint. |
ssl | IResolvable | S3 | Information required to find a specific file in an Amazon S3 bucket. |
use | boolean | IResolvable | TRUE to use the SharePoint change log to determine which documents require updating in the index. |
vpc | IResolvable | Data | Provides information for connecting to an Amazon VPC. |
secretArn
Type:
string
The Amazon Resource Name (ARN) of an AWS Secrets Manager secret that contains the user name and password required to connect to the SharePoint instance.
For more information, see Microsoft SharePoint .
sharePointVersion
Type:
string
The version of Microsoft SharePoint that you use.
urls
Type:
string[]
The Microsoft SharePoint site URLs for the documents you want to index.
crawlAttachments?
Type:
boolean |
IResolvable
(optional)
TRUE
to index document attachments.
disableLocalGroups?
Type:
boolean |
IResolvable
(optional)
TRUE
to disable local groups information.
documentTitleFieldName?
Type:
string
(optional)
The Microsoft SharePoint attribute field that contains the title of the document.
exclusionPatterns?
Type:
string[]
(optional)
A list of regular expression patterns.
Documents that match the patterns are excluded from the index. Documents that don't match the patterns are included in the index. If a document matches both an exclusion pattern and an inclusion pattern, the document is not included in the index.
The regex is applied to the display URL of the SharePoint document.
fieldMappings?
Type:
IResolvable
|
IResolvable
|
Data
[]
(optional)
A list of DataSourceToIndexFieldMapping
objects that map Microsoft SharePoint attributes or fields to Amazon Kendra index fields.
You must first create the index fields using the UpdateIndex operation before you map SharePoint attributes. For more information, see Mapping Data Source Fields .
inclusionPatterns?
Type:
string[]
(optional)
A list of regular expression patterns to include certain documents in your SharePoint.
Documents that match the patterns are included in the index. Documents that don't match the patterns are excluded from the index. If a document matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the document isn't included in the index.
The regex applies to the display URL of the SharePoint document.
sslCertificateS3Path?
Type:
IResolvable
|
S3
(optional)
Information required to find a specific file in an Amazon S3 bucket.
useChangeLog?
Type:
boolean |
IResolvable
(optional)
TRUE
to use the SharePoint change log to determine which documents require updating in the index.
Depending on the change log's size, it may take longer for Amazon Kendra to use the change log than to scan all of your documents in SharePoint.
vpcConfiguration?
Type:
IResolvable
|
Data
(optional)
Provides information for connecting to an Amazon VPC.