Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
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.inputs
import com.pulumi.awsnative.kendra.inputs.DataSourceConfluenceConfigurationArgs.builder
import com.pulumi.awsnative.kendra.kotlin.enums.DataSourceConfluenceVersion
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property attachmentConfiguration Configuration information for indexing attachments to Confluence blogs and pages.
* @property blogConfiguration Configuration information for indexing Confluence blogs.
* @property exclusionPatterns 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.
* @property inclusionPatterns 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.
* @property pageConfiguration Configuration information for indexing Confluence pages.
* @property secretArn 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](https://docs.aws.amazon.com/kendra/latest/dg/data-source-confluence.html) .
* @property serverUrl 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/* .
* @property spaceConfiguration Configuration information for indexing Confluence spaces.
* @property version The version or the type of Confluence installation to connect to.
* @property vpcConfiguration Configuration information for an Amazon Virtual Private Cloud to connect to your Confluence. For more information, see [Configuring a VPC](https://docs.aws.amazon.com/kendra/latest/dg/vpc-configuration.html) .
* */*/
*/
public data class DataSourceConfluenceConfigurationArgs(
public val attachmentConfiguration: Output? =
null,
public val blogConfiguration: Output? = null,
public val exclusionPatterns: Output>? = null,
public val inclusionPatterns: Output>? = null,
public val pageConfiguration: Output? = null,
public val secretArn: Output,
public val serverUrl: Output,
public val spaceConfiguration: Output? = null,
public val version: Output,
public val vpcConfiguration: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.kendra.inputs.DataSourceConfluenceConfigurationArgs =
com.pulumi.awsnative.kendra.inputs.DataSourceConfluenceConfigurationArgs.builder()
.attachmentConfiguration(
attachmentConfiguration?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.blogConfiguration(blogConfiguration?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.exclusionPatterns(exclusionPatterns?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.inclusionPatterns(inclusionPatterns?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.pageConfiguration(pageConfiguration?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.secretArn(secretArn.applyValue({ args0 -> args0 }))
.serverUrl(serverUrl.applyValue({ args0 -> args0 }))
.spaceConfiguration(
spaceConfiguration?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.version(version.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.vpcConfiguration(
vpcConfiguration?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [DataSourceConfluenceConfigurationArgs].
*/
@PulumiTagMarker
public class DataSourceConfluenceConfigurationArgsBuilder internal constructor() {
private var attachmentConfiguration: Output? =
null
private var blogConfiguration: Output? = null
private var exclusionPatterns: Output>? = null
private var inclusionPatterns: Output>? = null
private var pageConfiguration: Output? = null
private var secretArn: Output? = null
private var serverUrl: Output? = null
private var spaceConfiguration: Output? = null
private var version: Output? = null
private var vpcConfiguration: Output? = null
/**
* @param value Configuration information for indexing attachments to Confluence blogs and pages.
*/
@JvmName("ensasrkqxcpmhtys")
public suspend fun attachmentConfiguration(`value`: Output) {
this.attachmentConfiguration = value
}
/**
* @param value Configuration information for indexing Confluence blogs.
*/
@JvmName("xdouqhfhqwccduce")
public suspend fun blogConfiguration(`value`: Output) {
this.blogConfiguration = value
}
/**
* @param value 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.
*/
@JvmName("rmabiyfbcbjqclyx")
public suspend fun exclusionPatterns(`value`: Output>) {
this.exclusionPatterns = value
}
@JvmName("rapytvsqgmrxhllb")
public suspend fun exclusionPatterns(vararg values: Output) {
this.exclusionPatterns = Output.all(values.asList())
}
/**
* @param values 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.
*/
@JvmName("wplaffsmgjoebyfa")
public suspend fun exclusionPatterns(values: List