InvokeActivity

class aws_cdk.aws_stepfunctions_tasks.InvokeActivity(activity, *, heartbeat=None)

Bases: object

(deprecated) A Step Functions Task to invoke an Activity worker.

An Activity can be used directly as a Resource.

Deprecated
  • use StepFunctionsInvokeActivity

Stability

deprecated

Parameters
  • activity (IActivity) –

  • heartbeat (Optional[Duration]) – Maximum time between heart beats. If the time between heart beats takes longer than this, a ‘Timeout’ error is raised. Default: No heart beat timeout

Stability

deprecated

Methods

bind(_task)

(deprecated) Called when the task object is used in a workflow.

Parameters

_task (Task) –

Stability

deprecated

Return type

StepFunctionsTaskConfig