ClusterLifeCycleConfig - Amazon SageMaker
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).

ClusterLifeCycleConfig

The LifeCycle configuration for a SageMaker HyperPod cluster.

Contents

OnCreate

The directory of the LifeCycle script under SourceS3Uri. This LifeCycle script runs during cluster creation.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 128.

Pattern: ^[\S\s]+$

Required: Yes

SourceS3Uri

An Amazon S3 bucket path where your LifeCycle scripts are stored.

Type: String

Length Constraints: Maximum length of 1024.

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

Required: Yes

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: