LambdaInvocationType

class aws_cdk.aws_stepfunctions_tasks.LambdaInvocationType

Bases: enum.Enum

Invocation type of a Lambda.

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.

Attributes

DRY_RUN = 'DRY_RUN'

Validate parameter values and verify that the user or role has permission to invoke the function.

EVENT = '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 = '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.