com.pulumi.aws.kinesis.kotlin.inputs.FirehoseDeliveryStreamOpensearchserverlessConfigurationS3ConfigurationCloudwatchLoggingOptionsArgs.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.FirehoseDeliveryStreamOpensearchserverlessConfigurationS3ConfigurationCloudwatchLoggingOptionsArgs.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
FirehoseDeliveryStreamOpensearchserverlessConfigurationS3ConfigurationCloudwatchLoggingOptionsArgs(
public val enabled: Output? = null,
public val logGroupName: Output? = null,
public val logStreamName: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.aws.kinesis.inputs.FirehoseDeliveryStreamOpensearchserverlessConfigurationS3ConfigurationCloudwatchLoggingOptionsArgs =
com.pulumi.aws.kinesis.inputs.FirehoseDeliveryStreamOpensearchserverlessConfigurationS3ConfigurationCloudwatchLoggingOptionsArgs.builder()
.enabled(enabled?.applyValue({ args0 -> args0 }))
.logGroupName(logGroupName?.applyValue({ args0 -> args0 }))
.logStreamName(logStreamName?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [FirehoseDeliveryStreamOpensearchserverlessConfigurationS3ConfigurationCloudwatchLoggingOptionsArgs].
*/
@PulumiTagMarker
public class
FirehoseDeliveryStreamOpensearchserverlessConfigurationS3ConfigurationCloudwatchLoggingOptionsArgsBuilder
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("yqobojqcjavlonmk")
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("jlgoedtbmqvsudtc")
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("ojdguscedyyerpss")
public suspend fun logStreamName(`value`: Output) {
this.logStreamName = value
}
/**
* @param value Enables or disables the logging. Defaults to `false`.
*/
@JvmName("glhwkauhfuudvojc")
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("xnixofukekjjpfjf")
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("ejdhdhcjfawsnigd")
public suspend fun logStreamName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.logStreamName = mapped
}
internal fun build(): FirehoseDeliveryStreamOpensearchserverlessConfigurationS3ConfigurationCloudwatchLoggingOptionsArgs =
FirehoseDeliveryStreamOpensearchserverlessConfigurationS3ConfigurationCloudwatchLoggingOptionsArgs(
enabled = enabled,
logGroupName = logGroupName,
logStreamName = logStreamName,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy