
com.pulumi.awsnative.lex.kotlin.outputs.BotElicitationCodeHookInvocationSetting.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.lex.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
/**
* Settings that specify the dialog code hook that is called by Amazon Lex between eliciting slot values.
* @property enableCodeHookInvocation Indicates whether a Lambda function should be invoked for the dialog.
* @property invocationLabel A label that indicates the dialog step from which the dialog code hook is happening.
*/
public data class BotElicitationCodeHookInvocationSetting(
public val enableCodeHookInvocation: Boolean,
public val invocationLabel: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.lex.outputs.BotElicitationCodeHookInvocationSetting): BotElicitationCodeHookInvocationSetting = BotElicitationCodeHookInvocationSetting(
enableCodeHookInvocation = javaType.enableCodeHookInvocation(),
invocationLabel = javaType.invocationLabel().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy