@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()
Defines how attachment metadata fields should be mapped to index fields.
|
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()
Before you can map a field, you must first create an index field with a matching type using the console or the UpdateIndex operation.
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.