com.pulumi.awsnative.pipes.kotlin.outputs.PipeSourceSqsQueueParameters.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.pipes.kotlin.outputs
import kotlin.Int
import kotlin.Suppress
/**
*
* @property batchSize The maximum number of records to include in each batch.
* @property maximumBatchingWindowInSeconds The maximum length of a time to wait for events.
*/
public data class PipeSourceSqsQueueParameters(
public val batchSize: Int? = null,
public val maximumBatchingWindowInSeconds: Int? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.pipes.outputs.PipeSourceSqsQueueParameters): PipeSourceSqsQueueParameters = PipeSourceSqsQueueParameters(
batchSize = javaType.batchSize().map({ args0 -> args0 }).orElse(null),
maximumBatchingWindowInSeconds = javaType.maximumBatchingWindowInSeconds().map({ args0 ->
args0
}).orElse(null),
)
}
}