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

com.pulumi.awsnative.lambda.kotlin.inputs.EventSourceMappingSelfManagedKafkaEventSourceConfigArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.lambda.kotlin.inputs

import com.pulumi.awsnative.lambda.inputs.EventSourceMappingSelfManagedKafkaEventSourceConfigArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * 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 EventSourceMappingSelfManagedKafkaEventSourceConfigArgs(
    public val consumerGroupId: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.lambda.inputs.EventSourceMappingSelfManagedKafkaEventSourceConfigArgs =
        com.pulumi.awsnative.lambda.inputs.EventSourceMappingSelfManagedKafkaEventSourceConfigArgs.builder()
            .consumerGroupId(consumerGroupId?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [EventSourceMappingSelfManagedKafkaEventSourceConfigArgs].
 */
@PulumiTagMarker
public class EventSourceMappingSelfManagedKafkaEventSourceConfigArgsBuilder internal constructor() {
    private var consumerGroupId: Output? = null

    /**
     * @param value 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).
     */
    @JvmName("voawhjqusaivvxtu")
    public suspend fun consumerGroupId(`value`: Output) {
        this.consumerGroupId = value
    }

    /**
     * @param value 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).
     */
    @JvmName("pgdflkiafhxpjtkv")
    public suspend fun consumerGroupId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.consumerGroupId = mapped
    }

    internal fun build(): EventSourceMappingSelfManagedKafkaEventSourceConfigArgs =
        EventSourceMappingSelfManagedKafkaEventSourceConfigArgs(
            consumerGroupId = consumerGroupId,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy