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

com.pulumi.awsnative.kinesisfirehose.kotlin.outputs.DeliveryStreamAmazonOpenSearchServerlessBufferingHints.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.kinesisfirehose.kotlin.outputs

import kotlin.Int
import kotlin.Suppress

/**
 *
 * @property intervalInSeconds Buffer incoming data for the specified period of time, in seconds, before delivering it to the destination. The default value is 300 (5 minutes).
 * @property sizeInMbs Buffer incoming data to the specified size, in MBs, before delivering it to the destination. The default value is 5.
 * We recommend setting this parameter to a value greater than the amount of data you typically ingest into the delivery stream in 10 seconds. For example, if you typically ingest data at 1 MB/sec, the value should be 10 MB or higher.
 */
public data class DeliveryStreamAmazonOpenSearchServerlessBufferingHints(
    public val intervalInSeconds: Int? = null,
    public val sizeInMbs: Int? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.kinesisfirehose.outputs.DeliveryStreamAmazonOpenSearchServerlessBufferingHints): DeliveryStreamAmazonOpenSearchServerlessBufferingHints =
            DeliveryStreamAmazonOpenSearchServerlessBufferingHints(
                intervalInSeconds = javaType.intervalInSeconds().map({ args0 -> args0 }).orElse(null),
                sizeInMbs = javaType.sizeInMbs().map({ args0 -> args0 }).orElse(null),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy