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

com.pulumi.awsnative.lambda.kotlin.outputs.EventSourceMappingSelfManagedKafkaEventSourceConfig.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.lambda.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 * Specific configuration settings for a self-managed Apache Kafka event source.
 * @property consumerGroupId The identifier for the Kafka consumer group to join. The consumer group ID must be unique among all your Kafka event sources. After creating a Kafka event source mapping with the consumer group ID specified, you cannot update this value. For more information, see [Customizable consumer group ID](https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#services-msk-consumer-group-id).
 */
public data class EventSourceMappingSelfManagedKafkaEventSourceConfig(
    public val consumerGroupId: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.lambda.outputs.EventSourceMappingSelfManagedKafkaEventSourceConfig): EventSourceMappingSelfManagedKafkaEventSourceConfig =
            EventSourceMappingSelfManagedKafkaEventSourceConfig(
                consumerGroupId = javaType.consumerGroupId().map({ args0 -> args0 }).orElse(null),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy