All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.lex.kotlin.outputs.BotAliasLocaleSettings.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.24.0.0
Show newest version
@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