aws-cdk-lib.aws_stepfunctions_tasks.LambdaInvocationType

enum LambdaInvocationType

LanguageType name
.NETAmazon.CDK.AWS.StepFunctions.Tasks.LambdaInvocationType
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsstepfunctionstasks#LambdaInvocationType
Javasoftware.amazon.awscdk.services.stepfunctions.tasks.LambdaInvocationType
Pythonaws_cdk.aws_stepfunctions_tasks.LambdaInvocationType
TypeScript (source)aws-cdk-lib » aws_stepfunctions_tasks » LambdaInvocationType

Invocation type of a Lambda.

Members

NameDescription
REQUEST_RESPONSEInvoke the function synchronously.
EVENTInvoke the function asynchronously.
DRY_RUNValidate parameter values and verify that the user or role has permission to invoke the function.

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.