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

com.pulumi.awsnative.pipes.kotlin.outputs.PipeTargetLambdaFunctionParameters.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.11.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.pipes.kotlin.outputs

import com.pulumi.awsnative.pipes.kotlin.enums.PipeTargetInvocationType
import kotlin.Suppress

/**
 *
 * @property invocationType Specify whether to invoke the function synchronously or asynchronously.
 * - `REQUEST_RESPONSE` (default) - Invoke synchronously. This corresponds to the `RequestResponse` option in the `InvocationType` parameter for the Lambda [Invoke](https://docs.aws.amazon.com/lambda/latest/dg/API_Invoke.html#API_Invoke_RequestSyntax) API.
 * - `FIRE_AND_FORGET` - Invoke asynchronously. This corresponds to the `Event` option in the `InvocationType` parameter for the Lambda [Invoke](https://docs.aws.amazon.com/lambda/latest/dg/API_Invoke.html#API_Invoke_RequestSyntax) API.
 * For more information, see [Invocation types](https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-pipes.html#pipes-invocation) in the *Amazon EventBridge User Guide* .
 */
public data class PipeTargetLambdaFunctionParameters(
    public val invocationType: PipeTargetInvocationType? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.pipes.outputs.PipeTargetLambdaFunctionParameters): PipeTargetLambdaFunctionParameters = PipeTargetLambdaFunctionParameters(
            invocationType = javaType.invocationType().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.pipes.kotlin.enums.PipeTargetInvocationType.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy