AWS::SageMaker::Cluster ClusterLifeCycleConfig - AWS CloudFormation
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

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::Cluster ClusterLifeCycleConfig

The lifecycle configuration for a SageMaker HyperPod cluster.

Syntax

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

JSON

{ "OnCreate" : String, "OnInitComplete" : String, "SourceS3Uri" : String }

YAML

OnCreate: String OnInitComplete: String SourceS3Uri: String

Properties

OnCreate

The file name of the entrypoint script of lifecycle scripts under SourceS3Uri. This entrypoint script runs during cluster creation.

Required: No

Type: String

Pattern: ^[\S\s]+$

Minimum: 1

Maximum: 128

Update requires: No interruption

OnInitComplete

Property description not available.

Required: No

Type: String

Pattern: ^[\S\s]+$

Minimum: 1

Maximum: 128

Update 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 managed AmazonSageMakerClusterInstanceRolePolicy attached, which allows access to S3 buckets with the specific prefix sagemaker-.

Required: No

Type: String

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

Maximum: 1024

Update requires: No interruption