
com.pulumi.awsnative.kinesisfirehose.kotlin.inputs.DeliveryStreamAmazonopensearchserviceRetryOptionsArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-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.awsnative.kinesisfirehose.kotlin.inputs
import com.pulumi.awsnative.kinesisfirehose.inputs.DeliveryStreamAmazonopensearchserviceRetryOptionsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property durationInSeconds After an initial failure to deliver to Amazon OpenSearch Service, the total amount of time during which Kinesis Data Firehose retries delivery (including the first attempt). After this time has elapsed, the failed documents are written to Amazon S3. Default value is 300 seconds (5 minutes). A value of 0 (zero) results in no retries.
*/
public data class DeliveryStreamAmazonopensearchserviceRetryOptionsArgs(
public val durationInSeconds: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.kinesisfirehose.inputs.DeliveryStreamAmazonopensearchserviceRetryOptionsArgs =
com.pulumi.awsnative.kinesisfirehose.inputs.DeliveryStreamAmazonopensearchserviceRetryOptionsArgs.builder()
.durationInSeconds(durationInSeconds?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DeliveryStreamAmazonopensearchserviceRetryOptionsArgs].
*/
@PulumiTagMarker
public class DeliveryStreamAmazonopensearchserviceRetryOptionsArgsBuilder internal constructor() {
private var durationInSeconds: Output? = null
/**
* @param value After an initial failure to deliver to Amazon OpenSearch Service, the total amount of time during which Kinesis Data Firehose retries delivery (including the first attempt). After this time has elapsed, the failed documents are written to Amazon S3. Default value is 300 seconds (5 minutes). A value of 0 (zero) results in no retries.
*/
@JvmName("wosemcctxfskiscu")
public suspend fun durationInSeconds(`value`: Output) {
this.durationInSeconds = value
}
/**
* @param value After an initial failure to deliver to Amazon OpenSearch Service, the total amount of time during which Kinesis Data Firehose retries delivery (including the first attempt). After this time has elapsed, the failed documents are written to Amazon S3. Default value is 300 seconds (5 minutes). A value of 0 (zero) results in no retries.
*/
@JvmName("xbunwhcrgparpnas")
public suspend fun durationInSeconds(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.durationInSeconds = mapped
}
internal fun build(): DeliveryStreamAmazonopensearchserviceRetryOptionsArgs =
DeliveryStreamAmazonopensearchserviceRetryOptionsArgs(
durationInSeconds = durationInSeconds,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy