
com.pulumi.awsnative.pipes.kotlin.outputs.PipeSourceSelfManagedKafkaParameters.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.pipes.kotlin.outputs
import com.pulumi.awsnative.pipes.kotlin.enums.PipeSelfManagedKafkaStartPosition
import kotlin.Any
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property additionalBootstrapServers An array of server URLs.
* @property batchSize The maximum number of records to include in each batch.
* @property consumerGroupId The name of the destination queue to consume.
* @property credentials The credentials needed to access the resource.
* @property maximumBatchingWindowInSeconds The maximum length of a time to wait for events.
* @property serverRootCaCertificate Optional SecretManager ARN which stores the database credentials
* @property startingPosition (Streams only) The position in a stream from which to start reading.
* @property topicName The name of the topic that the pipe will read from.
* @property vpc This structure specifies the VPC subnets and security groups for the stream, and whether a public IP address is to be used.
*/
public data class PipeSourceSelfManagedKafkaParameters(
public val additionalBootstrapServers: List? = null,
public val batchSize: Int? = null,
public val consumerGroupId: String? = null,
public val credentials: Any? = null,
public val maximumBatchingWindowInSeconds: Int? = null,
public val serverRootCaCertificate: String? = null,
public val startingPosition: PipeSelfManagedKafkaStartPosition? = null,
public val topicName: String,
public val vpc: PipeSelfManagedKafkaAccessConfigurationVpc? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.pipes.outputs.PipeSourceSelfManagedKafkaParameters): PipeSourceSelfManagedKafkaParameters = PipeSourceSelfManagedKafkaParameters(
additionalBootstrapServers = javaType.additionalBootstrapServers().map({ args0 -> args0 }),
batchSize = javaType.batchSize().map({ args0 -> args0 }).orElse(null),
consumerGroupId = javaType.consumerGroupId().map({ args0 -> args0 }).orElse(null),
credentials = javaType.credentials().map({ args0 -> args0 }).orElse(null),
maximumBatchingWindowInSeconds = javaType.maximumBatchingWindowInSeconds().map({ args0 ->
args0
}).orElse(null),
serverRootCaCertificate = javaType.serverRootCaCertificate().map({ args0 -> args0 }).orElse(null),
startingPosition = javaType.startingPosition().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.pipes.kotlin.enums.PipeSelfManagedKafkaStartPosition.Companion.toKotlin(args0)
})
}).orElse(null),
topicName = javaType.topicName(),
vpc = javaType.vpc().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.pipes.kotlin.outputs.PipeSelfManagedKafkaAccessConfigurationVpc.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy