View a markdown version of this page

AWS::SageMaker::TrainingJob RetryStrategy - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon 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 Amazon 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