View a markdown version of this page

AWS::SageMaker::TrainingJob RetryStrategy - AWS CloudFormation

This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.

AWS::SageMaker::TrainingJob RetryStrategy

The retry strategy to use when a training job fails due to an InternalServerError. RetryStrategy is specified as part of the CreateTrainingJob and CreateHyperParameterTuningJob requests. You can add the StoppingCondition parameter to the request to limit the training time for the complete job.

Syntax

To declare this entity in your CloudFormation template, use the following syntax:

JSON

{ "MaximumRetryAttempts" : Integer }

YAML

MaximumRetryAttempts: Integer

Properties

MaximumRetryAttempts

The number of times to retry the job. When the job is retried, it's SecondaryStatus is changed to STARTING.

Required: Yes

Type: Integer

Minimum: 1

Maximum: 30

Update requires: Replacement