@Stability(value=Stable)
public static interface CfnDataSource.ConfluenceSpaceConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
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.*;
ConfluenceSpaceConfigurationProperty confluenceSpaceConfigurationProperty = ConfluenceSpaceConfigurationProperty.builder()
.crawlArchivedSpaces(false)
.crawlPersonalSpaces(false)
.excludeSpaces(List.of("excludeSpaces"))
.includeSpaces(List.of("includeSpaces"))
.spaceFieldMappings(List.of(ConfluenceSpaceToIndexFieldMappingProperty.builder()
.dataSourceFieldName("dataSourceFieldName")
.indexFieldName("indexFieldName")
// the properties below are optional
.dateFieldFormat("dateFieldFormat")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnDataSource.ConfluenceSpaceConfigurationProperty.Builder
A builder for
CfnDataSource.ConfluenceSpaceConfigurationProperty |
static class |
CfnDataSource.ConfluenceSpaceConfigurationProperty.Jsii$Proxy
An implementation for
CfnDataSource.ConfluenceSpaceConfigurationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnDataSource.ConfluenceSpaceConfigurationProperty.Builder |
builder() |
default Object |
getCrawlArchivedSpaces()
Specifies whether Amazon Kendra should index archived spaces.
|
default Object |
getCrawlPersonalSpaces()
Specifies whether Amazon Kendra should index personal spaces.
|
default List<String> |
getExcludeSpaces()
A list of space keys of Confluence spaces.
|
default List<String> |
getIncludeSpaces()
A list of space keys for Confluence spaces.
|
default Object |
getSpaceFieldMappings()
Maps attributes or field names of Confluence spaces to Amazon Kendra index field names.
|
@Stability(value=Stable) @Nullable default Object getCrawlArchivedSpaces()
@Stability(value=Stable) @Nullable default Object getCrawlPersonalSpaces()
Users can add restrictions to items in personal spaces. If personal spaces are indexed, queries without user context information may return restricted items from a personal space in their results. For more information, see Filtering on user context .
@Stability(value=Stable) @Nullable default List<String> getExcludeSpaces()
If you include a key, the blogs, documents, and attachments in the space are not indexed. If a space is in both the ExcludeSpaces and the IncludeSpaces list, the space is excluded.
@Stability(value=Stable) @Nullable default List<String> getIncludeSpaces()
If you include a key, the blogs, documents, and attachments in the space are indexed. Spaces that aren't in the list aren't indexed. A space in the list must exist. Otherwise, Amazon Kendra logs an error when the data source is synchronized. If a space is in both the IncludeSpaces and the ExcludeSpaces list, the space is excluded.
@Stability(value=Stable) @Nullable default Object getSpaceFieldMappings()
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 SpaceFieldMappings parameter, you must specify at least one field mapping.
@Stability(value=Stable) static CfnDataSource.ConfluenceSpaceConfigurationProperty.Builder builder()
Copyright © 2022. All rights reserved.