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

com.pulumi.aws.timestreaminfluxdb.kotlin.inputs.DbInstanceLogDeliveryConfigurationArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.timestreaminfluxdb.kotlin.inputs

import com.pulumi.aws.timestreaminfluxdb.inputs.DbInstanceLogDeliveryConfigurationArgs.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.jvm.JvmName

/**
 *
 * @property s3Configuration Configuration for S3 bucket log delivery.
 */
public data class DbInstanceLogDeliveryConfigurationArgs(
    public val s3Configuration: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.timestreaminfluxdb.inputs.DbInstanceLogDeliveryConfigurationArgs =
        com.pulumi.aws.timestreaminfluxdb.inputs.DbInstanceLogDeliveryConfigurationArgs.builder()
            .s3Configuration(
                s3Configuration?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            ).build()
}

/**
 * Builder for [DbInstanceLogDeliveryConfigurationArgs].
 */
@PulumiTagMarker
public class DbInstanceLogDeliveryConfigurationArgsBuilder internal constructor() {
    private var s3Configuration: Output? = null

    /**
     * @param value Configuration for S3 bucket log delivery.
     */
    @JvmName("agihohgxblmdlbxm")
    public suspend fun s3Configuration(`value`: Output) {
        this.s3Configuration = value
    }

    /**
     * @param value Configuration for S3 bucket log delivery.
     */
    @JvmName("cikvcxubbllptpug")
    public suspend fun s3Configuration(`value`: DbInstanceLogDeliveryConfigurationS3ConfigurationArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.s3Configuration = mapped
    }

    /**
     * @param argument Configuration for S3 bucket log delivery.
     */
    @JvmName("ouempyislbdgixvy")
    public suspend fun s3Configuration(argument: suspend DbInstanceLogDeliveryConfigurationS3ConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = DbInstanceLogDeliveryConfigurationS3ConfigurationArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.s3Configuration = mapped
    }

    internal fun build(): DbInstanceLogDeliveryConfigurationArgs =
        DbInstanceLogDeliveryConfigurationArgs(
            s3Configuration = s3Configuration,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy