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

com.pulumi.awsnative.pipes.kotlin.inputs.PipeTargetStateMachineParametersArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.pipes.kotlin.inputs

import com.pulumi.awsnative.pipes.inputs.PipeTargetStateMachineParametersArgs.builder
import com.pulumi.awsnative.pipes.kotlin.enums.PipeTargetInvocationType
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property invocationType Specify whether to invoke the Step Functions state machine synchronously or asynchronously.
 * - `REQUEST_RESPONSE` (default) - Invoke synchronously. For more information, see [StartSyncExecution](https://docs.aws.amazon.com/step-functions/latest/apireference/API_StartSyncExecution.html) in the *AWS Step Functions API Reference* .
 * > `REQUEST_RESPONSE` is not supported for `STANDARD` state machine workflows.
 * - `FIRE_AND_FORGET` - Invoke asynchronously. For more information, see [StartExecution](https://docs.aws.amazon.com/step-functions/latest/apireference/API_StartExecution.html) in the *AWS Step Functions API Reference* .
 * 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 PipeTargetStateMachineParametersArgs(
    public val invocationType: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.pipes.inputs.PipeTargetStateMachineParametersArgs =
        com.pulumi.awsnative.pipes.inputs.PipeTargetStateMachineParametersArgs.builder()
            .invocationType(
                invocationType?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            ).build()
}

/**
 * Builder for [PipeTargetStateMachineParametersArgs].
 */
@PulumiTagMarker
public class PipeTargetStateMachineParametersArgsBuilder internal constructor() {
    private var invocationType: Output? = null

    /**
     * @param value Specify whether to invoke the Step Functions state machine synchronously or asynchronously.
     * - `REQUEST_RESPONSE` (default) - Invoke synchronously. For more information, see [StartSyncExecution](https://docs.aws.amazon.com/step-functions/latest/apireference/API_StartSyncExecution.html) in the *AWS Step Functions API Reference* .
     * > `REQUEST_RESPONSE` is not supported for `STANDARD` state machine workflows.
     * - `FIRE_AND_FORGET` - Invoke asynchronously. For more information, see [StartExecution](https://docs.aws.amazon.com/step-functions/latest/apireference/API_StartExecution.html) in the *AWS Step Functions API Reference* .
     * 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* .
     */
    @JvmName("swqitirissvbqxon")
    public suspend fun invocationType(`value`: Output) {
        this.invocationType = value
    }

    /**
     * @param value Specify whether to invoke the Step Functions state machine synchronously or asynchronously.
     * - `REQUEST_RESPONSE` (default) - Invoke synchronously. For more information, see [StartSyncExecution](https://docs.aws.amazon.com/step-functions/latest/apireference/API_StartSyncExecution.html) in the *AWS Step Functions API Reference* .
     * > `REQUEST_RESPONSE` is not supported for `STANDARD` state machine workflows.
     * - `FIRE_AND_FORGET` - Invoke asynchronously. For more information, see [StartExecution](https://docs.aws.amazon.com/step-functions/latest/apireference/API_StartExecution.html) in the *AWS Step Functions API Reference* .
     * 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* .
     */
    @JvmName("mmnejmddjnxynxpc")
    public suspend fun invocationType(`value`: PipeTargetInvocationType?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.invocationType = mapped
    }

    internal fun build(): PipeTargetStateMachineParametersArgs = PipeTargetStateMachineParametersArgs(
        invocationType = invocationType,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy