This is the new AWS CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::SageMaker::Cluster ClusterLifeCycleConfig
The lifecycle configuration for a SageMaker HyperPod cluster.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "OnCreate" :String, "SourceS3Uri" :String}
YAML
OnCreate:StringSourceS3Uri:String
Properties
OnCreate-
The file name of the entrypoint script of lifecycle scripts under
SourceS3Uri. This entrypoint script runs during cluster creation.Required: Yes
Type: String
Pattern:
^[\S\s]+$Minimum:
1Maximum:
128Update requires: No interruption
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 managedAmazonSageMakerClusterInstanceRolePolicyattached, which allows access to S3 buckets with the specific prefixsagemaker-.Required: Yes
Type: String
Pattern:
^(https|s3)://([^/]+)/?(.*)$Maximum:
1024Update requires: No interruption