com.pulumi.aws.kinesis.kotlin.inputs.FirehoseDeliveryStreamRedshiftConfigurationCloudwatchLoggingOptionsArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-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.aws.kinesis.kotlin.inputs
import com.pulumi.aws.kinesis.inputs.FirehoseDeliveryStreamRedshiftConfigurationCloudwatchLoggingOptionsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property enabled Enables or disables the logging. Defaults to `false`.
* @property logGroupName The CloudWatch group name for logging. This value is required if `enabled` is true.
* @property logStreamName The CloudWatch log stream name for logging. This value is required if `enabled` is true.
*/
public data class FirehoseDeliveryStreamRedshiftConfigurationCloudwatchLoggingOptionsArgs(
public val enabled: Output? = null,
public val logGroupName: Output? = null,
public val logStreamName: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.aws.kinesis.inputs.FirehoseDeliveryStreamRedshiftConfigurationCloudwatchLoggingOptionsArgs =
com.pulumi.aws.kinesis.inputs.FirehoseDeliveryStreamRedshiftConfigurationCloudwatchLoggingOptionsArgs.builder()
.enabled(enabled?.applyValue({ args0 -> args0 }))
.logGroupName(logGroupName?.applyValue({ args0 -> args0 }))
.logStreamName(logStreamName?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [FirehoseDeliveryStreamRedshiftConfigurationCloudwatchLoggingOptionsArgs].
*/
@PulumiTagMarker
public class FirehoseDeliveryStreamRedshiftConfigurationCloudwatchLoggingOptionsArgsBuilder internal constructor() {
private var enabled: Output? = null
private var logGroupName: Output? = null
private var logStreamName: Output? = null
/**
* @param value Enables or disables the logging. Defaults to `false`.
*/
@JvmName("wahlhdsnuvbljaah")
public suspend fun enabled(`value`: Output) {
this.enabled = value
}
/**
* @param value The CloudWatch group name for logging. This value is required if `enabled` is true.
*/
@JvmName("godtlwfgkdfypstw")
public suspend fun logGroupName(`value`: Output) {
this.logGroupName = value
}
/**
* @param value The CloudWatch log stream name for logging. This value is required if `enabled` is true.
*/
@JvmName("ytithmquucimojca")
public suspend fun logStreamName(`value`: Output) {
this.logStreamName = value
}
/**
* @param value Enables or disables the logging. Defaults to `false`.
*/
@JvmName("cjadaoaermcpmxwx")
public suspend fun enabled(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.enabled = mapped
}
/**
* @param value The CloudWatch group name for logging. This value is required if `enabled` is true.
*/
@JvmName("bauxkyleueifdpri")
public suspend fun logGroupName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.logGroupName = mapped
}
/**
* @param value The CloudWatch log stream name for logging. This value is required if `enabled` is true.
*/
@JvmName("dkswpfpkahivkakg")
public suspend fun logStreamName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.logStreamName = mapped
}
internal fun build(): FirehoseDeliveryStreamRedshiftConfigurationCloudwatchLoggingOptionsArgs =
FirehoseDeliveryStreamRedshiftConfigurationCloudwatchLoggingOptionsArgs(
enabled = enabled,
logGroupName = logGroupName,
logStreamName = logStreamName,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy