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

com.pulumi.awsnative.appflow.kotlin.inputs.ConnectorProvisioningConfigArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.appflow.kotlin.inputs

import com.pulumi.awsnative.appflow.inputs.ConnectorProvisioningConfigArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 * Contains information about the configuration of the connector being registered.
 * @property lambda Contains information about the configuration of the lambda which is being registered as the connector.
 */
public data class ConnectorProvisioningConfigArgs(
    public val lambda: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.appflow.inputs.ConnectorProvisioningConfigArgs =
        com.pulumi.awsnative.appflow.inputs.ConnectorProvisioningConfigArgs.builder()
            .lambda(lambda?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [ConnectorProvisioningConfigArgs].
 */
@PulumiTagMarker
public class ConnectorProvisioningConfigArgsBuilder internal constructor() {
    private var lambda: Output? = null

    /**
     * @param value Contains information about the configuration of the lambda which is being registered as the connector.
     */
    @JvmName("lmujcfkrmjbiqaec")
    public suspend fun lambda(`value`: Output) {
        this.lambda = value
    }

    /**
     * @param value Contains information about the configuration of the lambda which is being registered as the connector.
     */
    @JvmName("thislfifeewhftko")
    public suspend fun lambda(`value`: ConnectorLambdaConnectorProvisioningConfigArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.lambda = mapped
    }

    /**
     * @param argument Contains information about the configuration of the lambda which is being registered as the connector.
     */
    @JvmName("waarxrkhieehvvma")
    public suspend fun lambda(argument: suspend ConnectorLambdaConnectorProvisioningConfigArgsBuilder.() -> Unit) {
        val toBeMapped = ConnectorLambdaConnectorProvisioningConfigArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.lambda = mapped
    }

    internal fun build(): ConnectorProvisioningConfigArgs = ConnectorProvisioningConfigArgs(
        lambda = lambda,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy