RunLambdaTaskProps

class aws_cdk.aws_stepfunctions_tasks.RunLambdaTaskProps(*, client_context=None, integration_pattern=None, invocation_type=None, payload=None, qualifier=None)

Bases: object

__init__(*, client_context=None, integration_pattern=None, invocation_type=None, payload=None, qualifier=None)

Properties for RunLambdaTask.

Parameters
  • client_context (Optional[str]) – Client context to pass to the function. Default: - No context

  • integration_pattern (Optional[ServiceIntegrationPattern]) – The service integration pattern indicates different ways to invoke Lambda function. The valid value for Lambda is either FIRE_AND_FORGET or WAIT_FOR_TASK_TOKEN, it determines whether to pause the workflow until a task token is returned. If this is set to WAIT_FOR_TASK_TOKEN, the Context.taskToken value must be included somewhere in the payload and the Lambda must call SendTaskSuccess/SendTaskFailure using that token. Default: FIRE_AND_FORGET

  • invocation_type (Optional[InvocationType]) – Invocation type of the Lambda function. Default: RequestResponse

  • payload (Optional[Mapping[str, Any]]) – The JSON that you want to provide to your Lambda function as input.

  • qualifier (Optional[str]) – Version or alias of the function to be invoked. Default: - No qualifier

stability :stability: experimental

Attributes

client_context

Client context to pass to the function.

default :default: - No context

stability :stability: experimental

Return type

Optional[str]

integration_pattern

The service integration pattern indicates different ways to invoke Lambda function.

The valid value for Lambda is either FIRE_AND_FORGET or WAIT_FOR_TASK_TOKEN, it determines whether to pause the workflow until a task token is returned.

If this is set to WAIT_FOR_TASK_TOKEN, the Context.taskToken value must be included somewhere in the payload and the Lambda must call SendTaskSuccess/SendTaskFailure using that token.

default :default: FIRE_AND_FORGET

stability :stability: experimental

Return type

Optional[ServiceIntegrationPattern]

invocation_type

Invocation type of the Lambda function.

default :default: RequestResponse

stability :stability: experimental

Return type

Optional[InvocationType]

payload

The JSON that you want to provide to your Lambda function as input.

stability :stability: experimental

Return type

Optional[Mapping[str, Any]]

qualifier

Version or alias of the function to be invoked.

default :default: - No qualifier

stability :stability: experimental

Return type

Optional[str]