
com.pulumi.awsnative.lex.kotlin.inputs.BotAliasCloudWatchLogGroupLogDestinationArgs.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.BotAliasCloudWatchLogGroupLogDestinationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property cloudWatchLogGroupArn A string used to identify the groupArn for the Cloudwatch Log Group
* @property logPrefix A string containing the value for the Log Prefix
*/
public data class BotAliasCloudWatchLogGroupLogDestinationArgs(
public val cloudWatchLogGroupArn: Output,
public val logPrefix: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.lex.inputs.BotAliasCloudWatchLogGroupLogDestinationArgs =
com.pulumi.awsnative.lex.inputs.BotAliasCloudWatchLogGroupLogDestinationArgs.builder()
.cloudWatchLogGroupArn(cloudWatchLogGroupArn.applyValue({ args0 -> args0 }))
.logPrefix(logPrefix.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [BotAliasCloudWatchLogGroupLogDestinationArgs].
*/
@PulumiTagMarker
public class BotAliasCloudWatchLogGroupLogDestinationArgsBuilder internal constructor() {
private var cloudWatchLogGroupArn: Output? = null
private var logPrefix: Output? = null
/**
* @param value A string used to identify the groupArn for the Cloudwatch Log Group
*/
@JvmName("xxrsmdwtxsbfduaw")
public suspend fun cloudWatchLogGroupArn(`value`: Output) {
this.cloudWatchLogGroupArn = value
}
/**
* @param value A string containing the value for the Log Prefix
*/
@JvmName("qlragpwcpuuboqpw")
public suspend fun logPrefix(`value`: Output) {
this.logPrefix = value
}
/**
* @param value A string used to identify the groupArn for the Cloudwatch Log Group
*/
@JvmName("oobauyhbjmroeklx")
public suspend fun cloudWatchLogGroupArn(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.cloudWatchLogGroupArn = mapped
}
/**
* @param value A string containing the value for the Log Prefix
*/
@JvmName("kybygdefdbapjuiy")
public suspend fun logPrefix(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.logPrefix = mapped
}
internal fun build(): BotAliasCloudWatchLogGroupLogDestinationArgs =
BotAliasCloudWatchLogGroupLogDestinationArgs(
cloudWatchLogGroupArn = cloudWatchLogGroupArn ?: throw
PulumiNullFieldException("cloudWatchLogGroupArn"),
logPrefix = logPrefix ?: throw PulumiNullFieldException("logPrefix"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy