Enum LambdaInvocationType
java.lang.Object
java.lang.Enum<LambdaInvocationType>
software.amazon.awscdk.services.stepfunctions.tasks.LambdaInvocationType
- All Implemented Interfaces:
Serializable
,Comparable<LambdaInvocationType>
,java.lang.constant.Constable
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:48.109Z")
@Stability(Stable)
public enum LambdaInvocationType
extends Enum<LambdaInvocationType>
Invocation type of a Lambda.
Example:
Function fn; LambdaInvoke submitJob = LambdaInvoke.Builder.create(this, "Invoke Handler") .lambdaFunction(fn) .payload(TaskInput.fromJsonPathAt("$.input")) .invocationType(LambdaInvocationType.EVENT) .build();
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionValidate parameter values and verify that the user or role has permission to invoke the function.Invoke the function asynchronously.Invoke the function synchronously. -
Method Summary
Modifier and TypeMethodDescriptionstatic LambdaInvocationType
Returns the enum constant of this type with the specified name.static LambdaInvocationType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
REQUEST_RESPONSE
Invoke the function synchronously.Keep the connection open until the function returns a response or times out. The API response includes the function response and additional data.
-
EVENT
Invoke the function asynchronously.Send events that fail multiple times to the function's dead-letter queue (if it's configured). The API response only includes a status code.
-
DRY_RUN
Validate parameter values and verify that the user or role has permission to invoke the function.
-
-
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
-