/AWS1/CL_SGMCLUSTERLCCONFIG¶
The lifecycle configuration for a SageMaker HyperPod cluster.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_sources3uri TYPE /AWS1/SGMS3URI /AWS1/SGMS3URI¶
An Amazon S3 bucket path where your lifecycle scripts are stored.
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-.
iv_oncreate TYPE /AWS1/SGMCLUSTLCCONFIGFILENAME /AWS1/SGMCLUSTLCCONFIGFILENAME¶
The file name of the entrypoint script of lifecycle scripts under
SourceS3Uri. This entrypoint script runs during cluster creation.
iv_oninitcomplete TYPE /AWS1/SGMCLUSTLCCONFIGFILENAME /AWS1/SGMCLUSTLCCONFIGFILENAME¶
The file name of the entrypoint script of lifecycle scripts under
SourceS3Uri. This script runs on the node after the AMI-based initialization is complete.
Queryable Attributes¶
SourceS3Uri¶
An Amazon S3 bucket path where your lifecycle scripts are stored.
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-.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SOURCES3URI() |
Getter for SOURCES3URI, with configurable default |
ASK_SOURCES3URI() |
Getter for SOURCES3URI w/ exceptions if field has no value |
HAS_SOURCES3URI() |
Determine if SOURCES3URI has a value |
OnCreate¶
The file name of the entrypoint script of lifecycle scripts under
SourceS3Uri. This entrypoint script runs during cluster creation.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ONCREATE() |
Getter for ONCREATE, with configurable default |
ASK_ONCREATE() |
Getter for ONCREATE w/ exceptions if field has no value |
HAS_ONCREATE() |
Determine if ONCREATE has a value |
OnInitComplete¶
The file name of the entrypoint script of lifecycle scripts under
SourceS3Uri. This script runs on the node after the AMI-based initialization is complete.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ONINITCOMPLETE() |
Getter for ONINITCOMPLETE, with configurable default |
ASK_ONINITCOMPLETE() |
Getter for ONINITCOMPLETE w/ exceptions if field has no valu |
HAS_ONINITCOMPLETE() |
Determine if ONINITCOMPLETE has a value |