StoppingCondition

class aws_cdk.aws_stepfunctions_tasks.StoppingCondition(*, max_runtime=None)

Bases: object

__init__(*, max_runtime=None)

Specifies a limit to how long a model training job can run.

When the job reaches the time limit, Amazon SageMaker ends the training job.

Parameters

max_runtime (Optional[Duration]) – The maximum length of time, in seconds, that the training or compilation job can run. Default: - 1 hour

stability :stability: experimental

Return type

None

Attributes

max_runtime

The maximum length of time, in seconds, that the training or compilation job can run.

default :default: - 1 hour

stability :stability: experimental

Return type

Optional[Duration]