ActivityPolicy Class

Execution policy for an activity.

Constructor

ActivityPolicy(*args: Any, **kwargs: Any)

Variables

Name Description
timeout
any

Specifies the timeout for the activity to run. The default timeout is 7 days. Type: string (or Expression with resultType string), pattern: ((d+).)?(dd):(60|([0-5][0-9])):(60|([0-5][0-9])).

retry
any

Maximum ordinary retry attempts. Default is 0. Type: integer (or Expression with resultType integer), minimum: 0.

retry_interval_in_seconds
int

Interval between each retry attempt (in seconds). The default is 30 sec.

secure_input

When set to true, Input from activity is considered as secure and will not be logged to monitoring.

secure_output

When set to true, Output from activity is considered as secure and will not be logged to monitoring.

Attributes

retry

integer (or Expression with resultType integer), minimum: 0.

retry: Any | None

retry_interval_in_seconds

Interval between each retry attempt (in seconds). The default is 30 sec.

retry_interval_in_seconds: int | None

secure_input

When set to true, Input from activity is considered as secure and will not be logged to monitoring.

secure_input: bool | None

secure_output

When set to true, Output from activity is considered as secure and will not be logged to monitoring.

secure_output: bool | None

timeout

string (or Expression with resultType string), pattern: ((d+).)?(dd):(60|([0-5][0-9])):(60|([0-5][0-9])).

timeout: Any | None