View a markdown version of this page

AWS::SageMaker::TrainingJob CheckpointConfig - 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 CheckpointConfig

Contains information about the output location for managed spot training checkpoint data.

Syntax

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

JSON

{ "LocalPath" : String, "S3Uri" : String }

YAML

LocalPath: String S3Uri: String

Properties

LocalPath

(Optional) The local directory where checkpoints are written. The default directory is /opt/ml/checkpoints/.

Required: No

Type: String

Pattern: .*

Maximum: 4096

Update requires: Replacement

S3Uri

Identifies the S3 path where you want SageMaker to store checkpoints. For example, s3://bucket-name/key-name-prefix.

Required: Yes

Type: String

Pattern: ^(https|s3)://([^/]+)/?(.*)$

Maximum: 1024

Update requires: Replacement