
com.pulumi.awsnative.lex.kotlin.outputs.BotAliasLocaleSettings.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.lex.kotlin.outputs
import kotlin.Boolean
import kotlin.Suppress
/**
* You can use this parameter to specify a specific Lambda function to run different functions in different locales.
* @property codeHookSpecification
* @property enabled Whether the Lambda code hook is enabled
*/
public data class BotAliasLocaleSettings(
public val codeHookSpecification: BotAliasCodeHookSpecification? = null,
public val enabled: Boolean,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.lex.outputs.BotAliasLocaleSettings): BotAliasLocaleSettings = BotAliasLocaleSettings(
codeHookSpecification = javaType.codeHookSpecification().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.lex.kotlin.outputs.BotAliasCodeHookSpecification.Companion.toKotlin(args0)
})
}).orElse(null),
enabled = javaType.enabled(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy