
com.pulumi.awsnative.kendra.kotlin.outputs.DataSourceConfluenceAttachmentConfiguration.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.kendra.kotlin.outputs
import kotlin.Boolean
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property attachmentFieldMappings Maps attributes or field names of Confluence attachments 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 `AttachentFieldMappings` parameter, you must specify at least one field mapping.
* @property crawlAttachments `TRUE` to index attachments of pages and blogs in Confluence.
*/
public data class DataSourceConfluenceAttachmentConfiguration(
public val attachmentFieldMappings: List? =
null,
public val crawlAttachments: Boolean? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.kendra.outputs.DataSourceConfluenceAttachmentConfiguration): DataSourceConfluenceAttachmentConfiguration = DataSourceConfluenceAttachmentConfiguration(
attachmentFieldMappings = javaType.attachmentFieldMappings().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.kendra.kotlin.outputs.DataSourceConfluenceAttachmentToIndexFieldMapping.Companion.toKotlin(args0)
})
}),
crawlAttachments = javaType.crawlAttachments().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy