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

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

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

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

import kotlin.Suppress

/**
 * The self-managed Apache Kafka cluster for your event source.
 * @property endpoints The list of bootstrap servers for your Kafka brokers in the following format: ``"KafkaBootstrapServers": ["abc.xyz.com:xxxx","abc2.xyz.com:xxxx"]``.
 */
public data class EventSourceMappingSelfManagedEventSource(
    public val endpoints: EventSourceMappingEndpoints? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.lambda.outputs.EventSourceMappingSelfManagedEventSource): EventSourceMappingSelfManagedEventSource = EventSourceMappingSelfManagedEventSource(
            endpoints = javaType.endpoints().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.lambda.kotlin.outputs.EventSourceMappingEndpoints.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy