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.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.lex.kotlin
import com.pulumi.awsnative.lex.BotArgs.builder
import com.pulumi.awsnative.lex.kotlin.inputs.BotLocaleArgs
import com.pulumi.awsnative.lex.kotlin.inputs.BotLocaleArgsBuilder
import com.pulumi.awsnative.lex.kotlin.inputs.BotS3LocationArgs
import com.pulumi.awsnative.lex.kotlin.inputs.BotS3LocationArgsBuilder
import com.pulumi.awsnative.lex.kotlin.inputs.BotTagArgs
import com.pulumi.awsnative.lex.kotlin.inputs.BotTagArgsBuilder
import com.pulumi.awsnative.lex.kotlin.inputs.BotTestBotAliasSettingsArgs
import com.pulumi.awsnative.lex.kotlin.inputs.BotTestBotAliasSettingsArgsBuilder
import com.pulumi.awsnative.lex.kotlin.inputs.DataPrivacyPropertiesArgs
import com.pulumi.awsnative.lex.kotlin.inputs.DataPrivacyPropertiesArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Amazon Lex conversational bot performing automated tasks such as ordering a pizza, booking a hotel, and so on.
* @property autoBuildBotLocales Specifies whether to build the bot locales after bot creation completes.
* @property botFileS3Location The Amazon S3 location of files used to import a bot. The files must be in the import format specified in [JSON format for importing and exporting](https://docs.aws.amazon.com/lexv2/latest/dg/import-export-format.html) in the *Amazon Lex developer guide.*
* @property botLocales List of bot locales
* @property botTags A list of tags to add to the bot, which can only be added at bot creation.
* @property dataPrivacy Data privacy setting of the Bot.
* @property description The description of the version.
* @property idleSessionTtlInSeconds IdleSessionTTLInSeconds of the resource
* @property name The name of the bot locale.
* @property roleArn The Amazon Resource Name (ARN) of the IAM role used to build and run the bot.
* @property testBotAliasSettings Specifies configuration settings for the alias used to test the bot. If the `TestBotAliasSettings` property is not specified, the settings are configured with default values.
* @property testBotAliasTags A list of tags to add to the test alias for a bot, , which can only be added at bot/bot alias creation.
*/
public data class BotArgs(
public val autoBuildBotLocales: Output? = null,
public val botFileS3Location: Output? = null,
public val botLocales: Output>? = null,
public val botTags: Output>? = null,
public val dataPrivacy: Output? = null,
public val description: Output? = null,
public val idleSessionTtlInSeconds: Output? = null,
public val name: Output? = null,
public val roleArn: Output? = null,
public val testBotAliasSettings: Output? = null,
public val testBotAliasTags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.lex.BotArgs =
com.pulumi.awsnative.lex.BotArgs.builder()
.autoBuildBotLocales(autoBuildBotLocales?.applyValue({ args0 -> args0 }))
.botFileS3Location(botFileS3Location?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.botLocales(
botLocales?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.botTags(
botTags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.dataPrivacy(dataPrivacy?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.description(description?.applyValue({ args0 -> args0 }))
.idleSessionTtlInSeconds(idleSessionTtlInSeconds?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 }))
.roleArn(roleArn?.applyValue({ args0 -> args0 }))
.testBotAliasSettings(
testBotAliasSettings?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.testBotAliasTags(
testBotAliasTags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [BotArgs].
*/
@PulumiTagMarker
public class BotArgsBuilder internal constructor() {
private var autoBuildBotLocales: Output? = null
private var botFileS3Location: Output? = null
private var botLocales: Output>? = null
private var botTags: Output>? = null
private var dataPrivacy: Output? = null
private var description: Output? = null
private var idleSessionTtlInSeconds: Output? = null
private var name: Output? = null
private var roleArn: Output? = null
private var testBotAliasSettings: Output? = null
private var testBotAliasTags: Output>? = null
/**
* @param value Specifies whether to build the bot locales after bot creation completes.
*/
@JvmName("tgnlxuxtiqosheey")
public suspend fun autoBuildBotLocales(`value`: Output) {
this.autoBuildBotLocales = value
}
/**
* @param value The Amazon S3 location of files used to import a bot. The files must be in the import format specified in [JSON format for importing and exporting](https://docs.aws.amazon.com/lexv2/latest/dg/import-export-format.html) in the *Amazon Lex developer guide.*
*/
@JvmName("vbhnrnbskknwpwqm")
public suspend fun botFileS3Location(`value`: Output) {
this.botFileS3Location = value
}
/**
* @param value List of bot locales
*/
@JvmName("fhesycjhvnhdmrsh")
public suspend fun botLocales(`value`: Output>) {
this.botLocales = value
}
@JvmName("wohfmuemunomihyp")
public suspend fun botLocales(vararg values: Output) {
this.botLocales = Output.all(values.asList())
}
/**
* @param values List of bot locales
*/
@JvmName("fhbricpocbkmxgen")
public suspend fun botLocales(values: List