@Stability(value=Stable)
public static interface CfnDataSource.ConfluenceConfigurationProperty
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.*;
ConfluenceConfigurationProperty confluenceConfigurationProperty = ConfluenceConfigurationProperty.builder()
.secretArn("secretArn")
.serverUrl("serverUrl")
.version("version")
// the properties below are optional
.attachmentConfiguration(ConfluenceAttachmentConfigurationProperty.builder()
.attachmentFieldMappings(List.of(ConfluenceAttachmentToIndexFieldMappingProperty.builder()
.dataSourceFieldName("dataSourceFieldName")
.indexFieldName("indexFieldName")
// the properties below are optional
.dateFieldFormat("dateFieldFormat")
.build()))
.crawlAttachments(false)
.build())
.blogConfiguration(ConfluenceBlogConfigurationProperty.builder()
.blogFieldMappings(List.of(ConfluenceBlogToIndexFieldMappingProperty.builder()
.dataSourceFieldName("dataSourceFieldName")
.indexFieldName("indexFieldName")
// the properties below are optional
.dateFieldFormat("dateFieldFormat")
.build()))
.build())
.exclusionPatterns(List.of("exclusionPatterns"))
.inclusionPatterns(List.of("inclusionPatterns"))
.pageConfiguration(ConfluencePageConfigurationProperty.builder()
.pageFieldMappings(List.of(ConfluencePageToIndexFieldMappingProperty.builder()
.dataSourceFieldName("dataSourceFieldName")
.indexFieldName("indexFieldName")
// the properties below are optional
.dateFieldFormat("dateFieldFormat")
.build()))
.build())
.spaceConfiguration(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())
.vpcConfiguration(DataSourceVpcConfigurationProperty.builder()
.securityGroupIds(List.of("securityGroupIds"))
.subnetIds(List.of("subnetIds"))
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnDataSource.ConfluenceConfigurationProperty.Builder
A builder for
CfnDataSource.ConfluenceConfigurationProperty |
static class |
CfnDataSource.ConfluenceConfigurationProperty.Jsii$Proxy
An implementation for
CfnDataSource.ConfluenceConfigurationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnDataSource.ConfluenceConfigurationProperty.Builder |
builder() |
default Object |
getAttachmentConfiguration()
Configuration information for indexing attachments to Confluence blogs and pages.
|
default Object |
getBlogConfiguration()
Configuration information for indexing Confluence blogs.
|
default List<String> |
getExclusionPatterns()
>A list of regular expression patterns to exclude certain blog posts, pages, spaces, or attachments in your Confluence.
|
default List<String> |
getInclusionPatterns()
A list of regular expression patterns to include certain blog posts, pages, spaces, or attachments in your Confluence.
|
default Object |
getPageConfiguration()
Configuration information for indexing Confluence pages.
|
String |
getSecretArn()
The Amazon Resource Name (ARN) of an AWS Secrets Manager secret that contains the key-value pairs required to connect to your Confluence server.
|
String |
getServerUrl()
The URL of your Confluence instance.
|
default Object |
getSpaceConfiguration()
Configuration information for indexing Confluence spaces.
|
String |
getVersion()
Specifies the version of the Confluence installation that you are connecting to.
|
default Object |
getVpcConfiguration()
Configuration information for an Amazon Virtual Private Cloud to connect to your Confluence.
|
@Stability(value=Stable) @NotNull String getSecretArn()
The secret must contain a JSON structure with the following keys:
@Stability(value=Stable) @NotNull String getServerUrl()
Use the full URL of the server. For example, https://server.example.com:port/ . You can also use an IP address, for example, https://192.168.1.113/ .
@Stability(value=Stable) @NotNull String getVersion()
@Stability(value=Stable) @Nullable default Object getAttachmentConfiguration()
@Stability(value=Stable) @Nullable default Object getBlogConfiguration()
@Stability(value=Stable) @Nullable default List<String> getExclusionPatterns()
Content that matches the patterns are excluded from the index. Content that doesn't match the patterns is included in the index. If content matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the content isn't included in the index.
@Stability(value=Stable) @Nullable default List<String> getInclusionPatterns()
Content that matches the patterns are included in the index. Content that doesn't match the patterns is excluded from the index. If content matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the content isn't included in the index.
@Stability(value=Stable) @Nullable default Object getPageConfiguration()
@Stability(value=Stable) @Nullable default Object getSpaceConfiguration()
@Stability(value=Stable) @Nullable default Object getVpcConfiguration()
For more information, see Configuring a VPC .
@Stability(value=Stable) static CfnDataSource.ConfluenceConfigurationProperty.Builder builder()
Copyright © 2022. All rights reserved.