
com.pulumi.awsnative.kendra.kotlin.outputs.DataSourceConfluenceSpaceConfiguration.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.kendra.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property crawlArchivedSpaces `TRUE` to index archived spaces.
* @property crawlPersonalSpaces `TRUE` to index personal spaces. You 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](https://docs.aws.amazon.com/kendra/latest/dg/user-context-filter.html) .
* @property excludeSpaces A list of space keys of Confluence spaces. 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.
* @property includeSpaces A list of space keys for Confluence spaces. 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.
* @property spaceFieldMappings Maps attributes or field names of Confluence spaces to Amazon Kendra index field names. To create custom fields, use the `UpdateIndex` API before you map to Confluence fields. For more information, see [Mapping data source fields](https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html) . 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.
*/
public data class DataSourceConfluenceSpaceConfiguration(
public val crawlArchivedSpaces: Boolean? = null,
public val crawlPersonalSpaces: Boolean? = null,
public val excludeSpaces: List? = null,
public val includeSpaces: List? = null,
public val spaceFieldMappings: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.kendra.outputs.DataSourceConfluenceSpaceConfiguration): DataSourceConfluenceSpaceConfiguration = DataSourceConfluenceSpaceConfiguration(
crawlArchivedSpaces = javaType.crawlArchivedSpaces().map({ args0 -> args0 }).orElse(null),
crawlPersonalSpaces = javaType.crawlPersonalSpaces().map({ args0 -> args0 }).orElse(null),
excludeSpaces = javaType.excludeSpaces().map({ args0 -> args0 }),
includeSpaces = javaType.includeSpaces().map({ args0 -> args0 }),
spaceFieldMappings = javaType.spaceFieldMappings().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.kendra.kotlin.outputs.DataSourceConfluenceSpaceToIndexFieldMapping.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy