Enum StateMachineInvocationType
java.lang.Object
java.lang.Enum<StateMachineInvocationType>
software.amazon.awscdk.services.pipes.targets.alpha.StateMachineInvocationType
- All Implemented Interfaces:
Serializable
,Comparable<StateMachineInvocationType>
,java.lang.constant.Constable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-10-31T19:13:08.360Z")
@Stability(Experimental)
public enum StateMachineInvocationType
extends Enum<StateMachineInvocationType>
(experimental) InvocationType for invoking the State Machine.
Example:
Queue sourceQueue; IStateMachine targetStateMachine; SfnStateMachine pipeTarget = SfnStateMachine.Builder.create(targetStateMachine) .invocationType(StateMachineInvocationType.FIRE_AND_FORGET) .build(); Pipe pipe = Pipe.Builder.create(this, "Pipe") .source(new SqsSource(sourceQueue)) .target(pipeTarget) .build();
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription(experimental) Invoke StepFunction asynchronously (StartExecution
).(experimental) Invoke StepFunction synchronously (StartSyncExecution
) and wait for the execution to complete. -
Method Summary
Modifier and TypeMethodDescriptionstatic StateMachineInvocationType
Returns the enum constant of this type with the specified name.static StateMachineInvocationType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
FIRE_AND_FORGET
(experimental) Invoke StepFunction asynchronously (StartExecution
).See https://docs.aws.amazon.com/step-functions/latest/apireference/API_StartExecution.html for more details.
-
REQUEST_RESPONSE
(experimental) Invoke StepFunction synchronously (StartSyncExecution
) and wait for the execution to complete.See https://docs.aws.amazon.com/step-functions/latest/apireference/API_StartSyncExecution.html for more details.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-