All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.kinesisfirehose.kotlin.inputs.DeliveryStreamCloudWatchLoggingOptionsArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.kinesisfirehose.kotlin.inputs

import com.pulumi.awsnative.kinesisfirehose.inputs.DeliveryStreamCloudWatchLoggingOptionsArgs.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 Indicates whether CloudWatch Logs logging is enabled.
 * @property logGroupName The name of the CloudWatch Logs log group that contains the log stream that Kinesis Data Firehose will use.
 * Conditional. If you enable logging, you must specify this property.
 * @property logStreamName The name of the CloudWatch Logs log stream that Kinesis Data Firehose uses to send logs about data delivery.
 * Conditional. If you enable logging, you must specify this property.
 */
public data class DeliveryStreamCloudWatchLoggingOptionsArgs(
    public val enabled: Output? = null,
    public val logGroupName: Output? = null,
    public val logStreamName: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.kinesisfirehose.inputs.DeliveryStreamCloudWatchLoggingOptionsArgs =
        com.pulumi.awsnative.kinesisfirehose.inputs.DeliveryStreamCloudWatchLoggingOptionsArgs.builder()
            .enabled(enabled?.applyValue({ args0 -> args0 }))
            .logGroupName(logGroupName?.applyValue({ args0 -> args0 }))
            .logStreamName(logStreamName?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [DeliveryStreamCloudWatchLoggingOptionsArgs].
 */
@PulumiTagMarker
public class DeliveryStreamCloudWatchLoggingOptionsArgsBuilder internal constructor() {
    private var enabled: Output? = null

    private var logGroupName: Output? = null

    private var logStreamName: Output? = null

    /**
     * @param value Indicates whether CloudWatch Logs logging is enabled.
     */
    @JvmName("rsmtnoqshdyasopy")
    public suspend fun enabled(`value`: Output) {
        this.enabled = value
    }

    /**
     * @param value The name of the CloudWatch Logs log group that contains the log stream that Kinesis Data Firehose will use.
     * Conditional. If you enable logging, you must specify this property.
     */
    @JvmName("simavymgkalvllvq")
    public suspend fun logGroupName(`value`: Output) {
        this.logGroupName = value
    }

    /**
     * @param value The name of the CloudWatch Logs log stream that Kinesis Data Firehose uses to send logs about data delivery.
     * Conditional. If you enable logging, you must specify this property.
     */
    @JvmName("ajpctldrpjakdery")
    public suspend fun logStreamName(`value`: Output) {
        this.logStreamName = value
    }

    /**
     * @param value Indicates whether CloudWatch Logs logging is enabled.
     */
    @JvmName("tyagxgfvktbbkahu")
    public suspend fun enabled(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.enabled = mapped
    }

    /**
     * @param value The name of the CloudWatch Logs log group that contains the log stream that Kinesis Data Firehose will use.
     * Conditional. If you enable logging, you must specify this property.
     */
    @JvmName("irubwoevjlyvwrff")
    public suspend fun logGroupName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.logGroupName = mapped
    }

    /**
     * @param value The name of the CloudWatch Logs log stream that Kinesis Data Firehose uses to send logs about data delivery.
     * Conditional. If you enable logging, you must specify this property.
     */
    @JvmName("wltnhhthxijtvebj")
    public suspend fun logStreamName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.logStreamName = mapped
    }

    internal fun build(): DeliveryStreamCloudWatchLoggingOptionsArgs =
        DeliveryStreamCloudWatchLoggingOptionsArgs(
            enabled = enabled,
            logGroupName = logGroupName,
            logStreamName = logStreamName,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy