ClusterLifeCycleConfig - Amazon SageMaker

ClusterLifeCycleConfig

The lifecycle configuration for a SageMaker HyperPod cluster.

Contents

OnCreate

The file name of the entrypoint script of lifecycle scripts under SourceS3Uri. This entrypoint 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.

Important

Make sure that the S3 bucket path starts with s3://sagemaker-. The IAM role for SageMaker HyperPod has the managed AmazonSageMakerClusterInstanceRolePolicy attached, which allows access to S3 buckets with the specific prefix sagemaker-.

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 AWS SDKs, see the following: