Interface CfnDataSourcePropsMixin.ConfluenceConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDataSourcePropsMixin.ConfluenceConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnDataSourcePropsMixin
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.kendra.*;
ConfluenceConfigurationProperty confluenceConfigurationProperty = ConfluenceConfigurationProperty.builder()
.attachmentConfiguration(ConfluenceAttachmentConfigurationProperty.builder()
.attachmentFieldMappings(List.of(ConfluenceAttachmentToIndexFieldMappingProperty.builder()
.dataSourceFieldName("dataSourceFieldName")
.dateFieldFormat("dateFieldFormat")
.indexFieldName("indexFieldName")
.build()))
.crawlAttachments(false)
.build())
.blogConfiguration(ConfluenceBlogConfigurationProperty.builder()
.blogFieldMappings(List.of(ConfluenceBlogToIndexFieldMappingProperty.builder()
.dataSourceFieldName("dataSourceFieldName")
.dateFieldFormat("dateFieldFormat")
.indexFieldName("indexFieldName")
.build()))
.build())
.exclusionPatterns(List.of("exclusionPatterns"))
.inclusionPatterns(List.of("inclusionPatterns"))
.pageConfiguration(ConfluencePageConfigurationProperty.builder()
.pageFieldMappings(List.of(ConfluencePageToIndexFieldMappingProperty.builder()
.dataSourceFieldName("dataSourceFieldName")
.dateFieldFormat("dateFieldFormat")
.indexFieldName("indexFieldName")
.build()))
.build())
.secretArn("secretArn")
.serverUrl("serverUrl")
.spaceConfiguration(ConfluenceSpaceConfigurationProperty.builder()
.crawlArchivedSpaces(false)
.crawlPersonalSpaces(false)
.excludeSpaces(List.of("excludeSpaces"))
.includeSpaces(List.of("includeSpaces"))
.spaceFieldMappings(List.of(ConfluenceSpaceToIndexFieldMappingProperty.builder()
.dataSourceFieldName("dataSourceFieldName")
.dateFieldFormat("dateFieldFormat")
.indexFieldName("indexFieldName")
.build()))
.build())
.version("version")
.vpcConfiguration(DataSourceVpcConfigurationProperty.builder()
.securityGroupIds(List.of("securityGroupIds"))
.subnetIds(List.of("subnetIds"))
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDataSourcePropsMixin.ConfluenceConfigurationPropertystatic final classAn implementation forCfnDataSourcePropsMixin.ConfluenceConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectConfiguration information for indexing attachments to Confluence blogs and pages.default ObjectConfiguration information for indexing Confluence blogs.A list of regular expression patterns to exclude certain blog posts, pages, spaces, or attachments in your Confluence.A list of regular expression patterns to include certain blog posts, pages, spaces, or attachments in your Confluence.default ObjectConfiguration information for indexing Confluence pages.default StringThe Amazon Resource Name (ARN) of an AWS Secrets Manager secret that contains the user name and password required to connect to the Confluence instance.default StringThe URL of your Confluence instance.default ObjectConfiguration information for indexing Confluence spaces.default StringThe version or the type of Confluence installation to connect to.default ObjectConfiguration information for an Amazon Virtual Private Cloud to connect to your Confluence.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAttachmentConfiguration
Configuration information for indexing attachments to Confluence blogs and pages.Returns union: either
IResolvableorCfnDataSourcePropsMixin.ConfluenceAttachmentConfigurationProperty- See Also:
-
getBlogConfiguration
Configuration information for indexing Confluence blogs.Returns union: either
IResolvableorCfnDataSourcePropsMixin.ConfluenceBlogConfigurationProperty- See Also:
-
getExclusionPatterns
A list of regular expression patterns to exclude certain blog posts, pages, spaces, or attachments in your Confluence.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.
- See Also:
-
getInclusionPatterns
A list of regular expression patterns to include certain blog posts, pages, spaces, or attachments in your Confluence.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.
- See Also:
-
getPageConfiguration
Configuration information for indexing Confluence pages.Returns union: either
IResolvableorCfnDataSourcePropsMixin.ConfluencePageConfigurationProperty- See Also:
-
getSecretArn
The Amazon Resource Name (ARN) of an AWS Secrets Manager secret that contains the user name and password required to connect to the Confluence instance.If you use Confluence Cloud, you use a generated API token as the password.
You can also provide authentication credentials in the form of a personal access token. For more information, see Using a Confluence data source .
- See Also:
-
getServerUrl
The URL of your Confluence instance.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/ .
- See Also:
-
getSpaceConfiguration
Configuration information for indexing Confluence spaces.Returns union: either
IResolvableorCfnDataSourcePropsMixin.ConfluenceSpaceConfigurationProperty- See Also:
-
getVersion
The version or the type of Confluence installation to connect to.- See Also:
-
getVpcConfiguration
Configuration information for an Amazon Virtual Private Cloud to connect to your Confluence.For more information, see Configuring a VPC .
Returns union: either
IResolvableorCfnDataSourcePropsMixin.DataSourceVpcConfigurationProperty- See Also:
-
builder
-