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

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

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

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

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property authenticationConfiguration The authentication configuration of the Amazon MSK cluster.
 * @property mskClusterArn The ARN of the Amazon MSK cluster.
 * @property readFromTimestamp The start date and time in UTC for the offset position within your MSK topic from where Firehose begins to read. By default, this is set to timestamp when Firehose becomes Active.
 * If you want to create a Firehose stream with Earliest start position from SDK or CLI, you need to set the `ReadFromTimestamp` parameter to Epoch (1970-01-01T00:00:00Z).
 * @property topicName The topic name within the Amazon MSK cluster.
 */
public data class DeliveryStreamMskSourceConfiguration(
    public val authenticationConfiguration: DeliveryStreamAuthenticationConfiguration,
    public val mskClusterArn: String,
    public val readFromTimestamp: String? = null,
    public val topicName: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.kinesisfirehose.outputs.DeliveryStreamMskSourceConfiguration): DeliveryStreamMskSourceConfiguration = DeliveryStreamMskSourceConfiguration(
            authenticationConfiguration = javaType.authenticationConfiguration().let({ args0 ->
                com.pulumi.awsnative.kinesisfirehose.kotlin.outputs.DeliveryStreamAuthenticationConfiguration.Companion.toKotlin(args0)
            }),
            mskClusterArn = javaType.mskClusterArn(),
            readFromTimestamp = javaType.readFromTimestamp().map({ args0 -> args0 }).orElse(null),
            topicName = javaType.topicName(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy