![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.timestream.kotlin.inputs.LogDeliveryConfigurationPropertiesArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.timestream.kotlin.inputs
import com.pulumi.awsnative.timestream.inputs.LogDeliveryConfigurationPropertiesArgs.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 com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
* Configuration for sending logs to customer account from the InfluxDB instance.
* @property s3Configuration S3 configuration for sending logs to customer account from the InfluxDB instance.
*/
public data class LogDeliveryConfigurationPropertiesArgs(
public val s3Configuration: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.timestream.inputs.LogDeliveryConfigurationPropertiesArgs =
com.pulumi.awsnative.timestream.inputs.LogDeliveryConfigurationPropertiesArgs.builder()
.s3Configuration(
s3Configuration.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [LogDeliveryConfigurationPropertiesArgs].
*/
@PulumiTagMarker
public class LogDeliveryConfigurationPropertiesArgsBuilder internal constructor() {
private var s3Configuration:
Output? = null
/**
* @param value S3 configuration for sending logs to customer account from the InfluxDB instance.
*/
@JvmName("gubxslpfinowipui")
public suspend fun s3Configuration(`value`: Output) {
this.s3Configuration = value
}
/**
* @param value S3 configuration for sending logs to customer account from the InfluxDB instance.
*/
@JvmName("aniwrcumjnugstei")
public suspend fun s3Configuration(`value`: LogDeliveryConfigurationPropertiesS3ConfigurationPropertiesArgs) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.s3Configuration = mapped
}
/**
* @param argument S3 configuration for sending logs to customer account from the InfluxDB instance.
*/
@JvmName("iuaxnrcoghtekyie")
public suspend fun s3Configuration(argument: suspend LogDeliveryConfigurationPropertiesS3ConfigurationPropertiesArgsBuilder.() -> Unit) {
val toBeMapped =
LogDeliveryConfigurationPropertiesS3ConfigurationPropertiesArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.s3Configuration = mapped
}
internal fun build(): LogDeliveryConfigurationPropertiesArgs =
LogDeliveryConfigurationPropertiesArgs(
s3Configuration = s3Configuration ?: throw PulumiNullFieldException("s3Configuration"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy