LambdaInvocationType
- class aws_cdk.aws_stepfunctions_tasks.LambdaInvocationType(value)
Bases:
EnumInvocation type of a Lambda.
- ExampleMetadata:
infused
Example:
# fn: lambda.Function submit_job = tasks.LambdaInvoke(self, "Invoke Handler", lambda_function=fn, payload=sfn.TaskInput.from_json_path_at("$.input"), invocation_type=tasks.LambdaInvocationType.EVENT )
Attributes
- DRY_RUN
Validate parameter values and verify that the user or role has permission to invoke the function.
- 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.
- 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.