View a markdown version of this page

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

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

Syntax

To declare this entity in your 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