InvokeActivityProps

class aws_cdk.aws_stepfunctions_tasks.InvokeActivityProps(*, heartbeat=None)

Bases: object

(deprecated) Properties for FunctionTask.

Parameters

heartbeat (Optional[Duration]) – (deprecated) 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

Deprecated

use StepFunctionsInvokeActivity and StepFunctionsInvokeActivityProps.

Stability

deprecated

ExampleMetadata

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_stepfunctions_tasks as stepfunctions_tasks
import aws_cdk.core as cdk

invoke_activity_props = stepfunctions_tasks.InvokeActivityProps(
    heartbeat=cdk.Duration.minutes(30)
)

Attributes

heartbeat

(deprecated) 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

Return type

Optional[Duration]