@Stability(value=Stable)
public static interface CfnDataSource.ConfluenceAttachmentConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Attachment settings are optional, if you don't specify settings attachments, Amazon Kendra won't index them.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.kendra.*;
ConfluenceAttachmentConfigurationProperty confluenceAttachmentConfigurationProperty = ConfluenceAttachmentConfigurationProperty.builder()
.attachmentFieldMappings(List.of(ConfluenceAttachmentToIndexFieldMappingProperty.builder()
.dataSourceFieldName("dataSourceFieldName")
.indexFieldName("indexFieldName")
// the properties below are optional
.dateFieldFormat("dateFieldFormat")
.build()))
.crawlAttachments(false)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnDataSource.ConfluenceAttachmentConfigurationProperty.Builder
A builder for
CfnDataSource.ConfluenceAttachmentConfigurationProperty |
static class |
CfnDataSource.ConfluenceAttachmentConfigurationProperty.Jsii$Proxy
An implementation for
CfnDataSource.ConfluenceAttachmentConfigurationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnDataSource.ConfluenceAttachmentConfigurationProperty.Builder |
builder() |
default Object |
getAttachmentFieldMappings()
Maps attributes or field names of Confluence attachments to Amazon Kendra index field names.
|
default Object |
getCrawlAttachments()
Indicates whether Amazon Kendra indexes attachments to the pages and blogs in the Confluence data source.
|
@Stability(value=Stable) @Nullable default Object getAttachmentFieldMappings()
To create custom fields, use the UpdateIndex API before you map to Confluence fields. For more information, see Mapping data source fields . The Confluence data source field names must exist in your Confluence custom metadata.
If you specify the AttachentFieldMappings parameter, you must specify at least one field mapping.
@Stability(value=Stable) @Nullable default Object getCrawlAttachments()
@Stability(value=Stable) static CfnDataSource.ConfluenceAttachmentConfigurationProperty.Builder builder()
Copyright © 2022. All rights reserved.