StoppingCondition

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

Bases: object

(experimental) 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]) – (experimental) The maximum length of time, in seconds, that the training or compilation job can run. Default: - 1 hour

Stability

experimental

Attributes

max_runtime

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

Default
  • 1 hour

Stability

experimental

Return type

Optional[Duration]