
com.pulumi.awsnative.lex.kotlin.inputs.BotAliasConversationLogSettingsArgs.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.inputs
import com.pulumi.awsnative.lex.inputs.BotAliasConversationLogSettingsArgs.builder
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.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Contains information about code hooks that Amazon Lex calls during a conversation.
* @property audioLogSettings The Amazon S3 settings for logging audio to an S3 bucket.
* @property textLogSettings The Amazon CloudWatch Logs settings for logging text and metadata.
*/
public data class BotAliasConversationLogSettingsArgs(
public val audioLogSettings: Output>? = null,
public val textLogSettings: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.lex.inputs.BotAliasConversationLogSettingsArgs =
com.pulumi.awsnative.lex.inputs.BotAliasConversationLogSettingsArgs.builder()
.audioLogSettings(
audioLogSettings?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.textLogSettings(
textLogSettings?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [BotAliasConversationLogSettingsArgs].
*/
@PulumiTagMarker
public class BotAliasConversationLogSettingsArgsBuilder internal constructor() {
private var audioLogSettings: Output>? = null
private var textLogSettings: Output>? = null
/**
* @param value The Amazon S3 settings for logging audio to an S3 bucket.
*/
@JvmName("rvelvxfmknhedutl")
public suspend fun audioLogSettings(`value`: Output>) {
this.audioLogSettings = value
}
@JvmName("nswowqnvsriycovo")
public suspend fun audioLogSettings(vararg values: Output) {
this.audioLogSettings = Output.all(values.asList())
}
/**
* @param values The Amazon S3 settings for logging audio to an S3 bucket.
*/
@JvmName("cpluivnsxasstihj")
public suspend fun audioLogSettings(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy