interface CfnDataSourceMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Kendra.Mixins.CfnDataSourceMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awskendra/mixins#CfnDataSourceMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.kendra.mixins.CfnDataSourceMixinProps |
Python | aws_cdk.mixins_preview.aws_kendra.mixins.CfnDataSourceMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_kendra » mixins » CfnDataSourceMixinProps |
Properties for CfnDataSourcePropsMixin.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kendra-datasource.html
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 cfnDataSourceMixinProps: kendra_mixins.CfnDataSourceMixinProps = {
customDocumentEnrichmentConfiguration: {
inlineConfigurations: [{
condition: {
conditionDocumentAttributeKey: 'conditionDocumentAttributeKey',
conditionOnValue: {
dateValue: 'dateValue',
longValue: 123,
stringListValue: ['stringListValue'],
stringValue: 'stringValue',
},
operator: 'operator',
},
documentContentDeletion: false,
target: {
targetDocumentAttributeKey: 'targetDocumentAttributeKey',
targetDocumentAttributeValue: {
dateValue: 'dateValue',
longValue: 123,
stringListValue: ['stringListValue'],
stringValue: 'stringValue',
},
targetDocumentAttributeValueDeletion: false,
},
}],
postExtractionHookConfiguration: {
invocationCondition: {
conditionDocumentAttributeKey: 'conditionDocumentAttributeKey',
conditionOnValue: {
dateValue: 'dateValue',
longValue: 123,
stringListValue: ['stringListValue'],
stringValue: 'stringValue',
},
operator: 'operator',
},
lambdaArn: 'lambdaArn',
s3Bucket: 's3Bucket',
},
preExtractionHookConfiguration: {
invocationCondition: {
conditionDocumentAttributeKey: 'conditionDocumentAttributeKey',
conditionOnValue: {
dateValue: 'dateValue',
longValue: 123,
stringListValue: ['stringListValue'],
stringValue: 'stringValue',
},
operator: 'operator',
},
lambdaArn: 'lambdaArn',
s3Bucket: 's3Bucket',
},
roleArn: 'roleArn',
},
dataSourceConfiguration: {
confluenceConfiguration: {
attachmentConfiguration: {
attachmentFieldMappings: [{
dataSourceFieldName: 'dataSourceFieldName',
dateFieldFormat: 'dateFieldFormat',
indexFieldName: 'indexFieldName',
}],
crawlAttachments: false,
},
blogConfiguration: {
blogFieldMappings: [{
dataSourceFieldName: 'dataSourceFieldName',
dateFieldFormat: 'dateFieldFormat',
indexFieldName: 'indexFieldName',
}],
},
exclusionPatterns: ['exclusionPatterns'],
inclusionPatterns: ['inclusionPatterns'],
pageConfiguration: {
pageFieldMappings: [{
dataSourceFieldName: 'dataSourceFieldName',
dateFieldFormat: 'dateFieldFormat',
indexFieldName: 'indexFieldName',
}],
},
secretArn: 'secretArn',
serverUrl: 'serverUrl',
spaceConfiguration: {
crawlArchivedSpaces: false,
crawlPersonalSpaces: false,
excludeSpaces: ['excludeSpaces'],
includeSpaces: ['includeSpaces'],
spaceFieldMappings: [{
dataSourceFieldName: 'dataSourceFieldName',
dateFieldFormat: 'dateFieldFormat',
indexFieldName: 'indexFieldName',
}],
},
version: 'version',
vpcConfiguration: {
securityGroupIds: ['securityGroupIds'],
subnetIds: ['subnetIds'],
},
},
databaseConfiguration: {
aclConfiguration: {
allowedGroupsColumnName: 'allowedGroupsColumnName',
},
columnConfiguration: {
changeDetectingColumns: ['changeDetectingColumns'],
documentDataColumnName: 'documentDataColumnName',
documentIdColumnName: 'documentIdColumnName',
documentTitleColumnName: 'documentTitleColumnName',
fieldMappings: [{
dataSourceFieldName: 'dataSourceFieldName',
dateFieldFormat: 'dateFieldFormat',
indexFieldName: 'indexFieldName',
}],
},
connectionConfiguration: {
databaseHost: 'databaseHost',
databaseName: 'databaseName',
databasePort: 123,
secretArn: 'secretArn',
tableName: 'tableName',
},
databaseEngineType: 'databaseEngineType',
sqlConfiguration: {
queryIdentifiersEnclosingOption: 'queryIdentifiersEnclosingOption',
},
vpcConfiguration: {
securityGroupIds: ['securityGroupIds'],
subnetIds: ['subnetIds'],
},
},
googleDriveConfiguration: {
excludeMimeTypes: ['excludeMimeTypes'],
excludeSharedDrives: ['excludeSharedDrives'],
excludeUserAccounts: ['excludeUserAccounts'],
exclusionPatterns: ['exclusionPatterns'],
fieldMappings: [{
dataSourceFieldName: 'dataSourceFieldName',
dateFieldFormat: 'dateFieldFormat',
indexFieldName: 'indexFieldName',
}],
inclusionPatterns: ['inclusionPatterns'],
secretArn: 'secretArn',
},
oneDriveConfiguration: {
disableLocalGroups: false,
exclusionPatterns: ['exclusionPatterns'],
fieldMappings: [{
dataSourceFieldName: 'dataSourceFieldName',
dateFieldFormat: 'dateFieldFormat',
indexFieldName: 'indexFieldName',
}],
inclusionPatterns: ['inclusionPatterns'],
oneDriveUsers: {
oneDriveUserList: ['oneDriveUserList'],
oneDriveUserS3Path: {
bucket: 'bucket',
key: 'key',
},
},
secretArn: 'secretArn',
tenantDomain: 'tenantDomain',
},
s3Configuration: {
accessControlListConfiguration: {
keyPath: 'keyPath',
},
bucketName: 'bucketName',
documentsMetadataConfiguration: {
s3Prefix: 's3Prefix',
},
exclusionPatterns: ['exclusionPatterns'],
inclusionPatterns: ['inclusionPatterns'],
inclusionPrefixes: ['inclusionPrefixes'],
},
salesforceConfiguration: {
chatterFeedConfiguration: {
documentDataFieldName: 'documentDataFieldName',
documentTitleFieldName: 'documentTitleFieldName',
fieldMappings: [{
dataSourceFieldName: 'dataSourceFieldName',
dateFieldFormat: 'dateFieldFormat',
indexFieldName: 'indexFieldName',
}],
includeFilterTypes: ['includeFilterTypes'],
},
crawlAttachments: false,
excludeAttachmentFilePatterns: ['excludeAttachmentFilePatterns'],
includeAttachmentFilePatterns: ['includeAttachmentFilePatterns'],
knowledgeArticleConfiguration: {
customKnowledgeArticleTypeConfigurations: [{
documentDataFieldName: 'documentDataFieldName',
documentTitleFieldName: 'documentTitleFieldName',
fieldMappings: [{
dataSourceFieldName: 'dataSourceFieldName',
dateFieldFormat: 'dateFieldFormat',
indexFieldName: 'indexFieldName',
}],
name: 'name',
}],
includedStates: ['includedStates'],
standardKnowledgeArticleTypeConfiguration: {
documentDataFieldName: 'documentDataFieldName',
documentTitleFieldName: 'documentTitleFieldName',
fieldMappings: [{
dataSourceFieldName: 'dataSourceFieldName',
dateFieldFormat: 'dateFieldFormat',
indexFieldName: 'indexFieldName',
}],
},
},
secretArn: 'secretArn',
serverUrl: 'serverUrl',
standardObjectAttachmentConfiguration: {
documentTitleFieldName: 'documentTitleFieldName',
fieldMappings: [{
dataSourceFieldName: 'dataSourceFieldName',
dateFieldFormat: 'dateFieldFormat',
indexFieldName: 'indexFieldName',
}],
},
standardObjectConfigurations: [{
documentDataFieldName: 'documentDataFieldName',
documentTitleFieldName: 'documentTitleFieldName',
fieldMappings: [{
dataSourceFieldName: 'dataSourceFieldName',
dateFieldFormat: 'dateFieldFormat',
indexFieldName: 'indexFieldName',
}],
name: 'name',
}],
},
serviceNowConfiguration: {
authenticationType: 'authenticationType',
hostUrl: 'hostUrl',
knowledgeArticleConfiguration: {
crawlAttachments: false,
documentDataFieldName: 'documentDataFieldName',
documentTitleFieldName: 'documentTitleFieldName',
excludeAttachmentFilePatterns: ['excludeAttachmentFilePatterns'],
fieldMappings: [{
dataSourceFieldName: 'dataSourceFieldName',
dateFieldFormat: 'dateFieldFormat',
indexFieldName: 'indexFieldName',
}],
filterQuery: 'filterQuery',
includeAttachmentFilePatterns: ['includeAttachmentFilePatterns'],
},
secretArn: 'secretArn',
serviceCatalogConfiguration: {
crawlAttachments: false,
documentDataFieldName: 'documentDataFieldName',
documentTitleFieldName: 'documentTitleFieldName',
excludeAttachmentFilePatterns: ['excludeAttachmentFilePatterns'],
fieldMappings: [{
dataSourceFieldName: 'dataSourceFieldName',
dateFieldFormat: 'dateFieldFormat',
indexFieldName: 'indexFieldName',
}],
includeAttachmentFilePatterns: ['includeAttachmentFilePatterns'],
},
serviceNowBuildVersion: 'serviceNowBuildVersion',
},
sharePointConfiguration: {
crawlAttachments: false,
disableLocalGroups: false,
documentTitleFieldName: 'documentTitleFieldName',
exclusionPatterns: ['exclusionPatterns'],
fieldMappings: [{
dataSourceFieldName: 'dataSourceFieldName',
dateFieldFormat: 'dateFieldFormat',
indexFieldName: 'indexFieldName',
}],
inclusionPatterns: ['inclusionPatterns'],
secretArn: 'secretArn',
sharePointVersion: 'sharePointVersion',
sslCertificateS3Path: {
bucket: 'bucket',
key: 'key',
},
urls: ['urls'],
useChangeLog: false,
vpcConfiguration: {
securityGroupIds: ['securityGroupIds'],
subnetIds: ['subnetIds'],
},
},
templateConfiguration: {
template: 'template',
},
webCrawlerConfiguration: {
authenticationConfiguration: {
basicAuthentication: [{
credentials: 'credentials',
host: 'host',
port: 123,
}],
},
crawlDepth: 123,
maxContentSizePerPageInMegaBytes: 123,
maxLinksPerPage: 123,
maxUrlsPerMinuteCrawlRate: 123,
proxyConfiguration: {
credentials: 'credentials',
host: 'host',
port: 123,
},
urlExclusionPatterns: ['urlExclusionPatterns'],
urlInclusionPatterns: ['urlInclusionPatterns'],
urls: {
seedUrlConfiguration: {
seedUrls: ['seedUrls'],
webCrawlerMode: 'webCrawlerMode',
},
siteMapsConfiguration: {
siteMaps: ['siteMaps'],
},
},
},
workDocsConfiguration: {
crawlComments: false,
exclusionPatterns: ['exclusionPatterns'],
fieldMappings: [{
dataSourceFieldName: 'dataSourceFieldName',
dateFieldFormat: 'dateFieldFormat',
indexFieldName: 'indexFieldName',
}],
inclusionPatterns: ['inclusionPatterns'],
organizationId: 'organizationId',
useChangeLog: false,
},
},
description: 'description',
indexId: 'indexId',
languageCode: 'languageCode',
name: 'name',
roleArn: 'roleArn',
schedule: 'schedule',
tags: [{
key: 'key',
value: 'value',
}],
type: 'type',
};
Properties
| Name | Type | Description |
|---|---|---|
| custom | IResolvable | Custom | Configuration information for altering document metadata and content during the document ingestion process. |
| data | IResolvable | Data | Configuration information for an Amazon Kendra data source. |
| description? | string | A description for the data source connector. |
| index | string | The identifier of the index you want to use with the data source connector. |
| language | string | The code for a language. |
| name? | string | The name of the data source. |
| role | string | The Amazon Resource Name (ARN) of a role with permission to access the data source. |
| schedule? | string | Sets the frequency that Amazon Kendra checks the documents in your data source and updates the index. |
| tags? | Cfn[] | An array of key-value pairs to apply to this resource. |
| type? | string | The type of the data source. |
customDocumentEnrichmentConfiguration?
Type:
IResolvable | Custom
(optional)
Configuration information for altering document metadata and content during the document ingestion process.
dataSourceConfiguration?
Type:
IResolvable | Data
(optional)
Configuration information for an Amazon Kendra data source.
The contents of the configuration depend on the type of data source. You can only specify one type of data source in the configuration.
You can't specify the Configuration parameter when the Type parameter is set to CUSTOM .
The Configuration parameter is required for all other data sources.
description?
Type:
string
(optional)
A description for the data source connector.
indexId?
Type:
string
(optional)
The identifier of the index you want to use with the data source connector.
languageCode?
Type:
string
(optional)
The code for a language.
This shows a supported language for all documents in the data source. English is supported by default. For more information on supported languages, including their codes, see Adding documents in languages other than English .
name?
Type:
string
(optional)
The name of the data source.
roleArn?
Type:
string
(optional)
The Amazon Resource Name (ARN) of a role with permission to access the data source.
You can't specify the RoleArn parameter when the Type parameter is set to CUSTOM .
The RoleArn parameter is required for all other data sources.
schedule?
Type:
string
(optional)
Sets the frequency that Amazon Kendra checks the documents in your data source and updates the index.
If you don't set a schedule, Amazon Kendra doesn't periodically update the index.
tags?
Type:
Cfn[]
(optional)
An array of key-value pairs to apply to this resource.
For more information, see Tag .
type?
Type:
string
(optional)
The type of the data source.

.NET
Go
Java
Python
TypeScript