interface ClusterLifeCycleConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.SageMaker.Mixins.CfnClusterPropsMixin.ClusterLifeCycleConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awssagemaker/mixins#CfnClusterPropsMixin_ClusterLifeCycleConfigProperty |
Java | software.amazon.awscdk.mixins.preview.services.sagemaker.mixins.CfnClusterPropsMixin.ClusterLifeCycleConfigProperty |
Python | aws_cdk.mixins_preview.aws_sagemaker.mixins.CfnClusterPropsMixin.ClusterLifeCycleConfigProperty |
TypeScript | @aws-cdk/mixins-preview » aws_sagemaker » mixins » CfnClusterPropsMixin » ClusterLifeCycleConfigProperty |
The lifecycle configuration for a SageMaker HyperPod cluster.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as sagemaker_mixins } from '@aws-cdk/mixins-preview/aws-sagemaker';
const clusterLifeCycleConfigProperty: sagemaker_mixins.CfnClusterPropsMixin.ClusterLifeCycleConfigProperty = {
onCreate: 'onCreate',
sourceS3Uri: 'sourceS3Uri',
};
Properties
| Name | Type | Description |
|---|---|---|
| on | string | The file name of the entrypoint script of lifecycle scripts under SourceS3Uri . |
| source | string | An Amazon S3 bucket path where your lifecycle scripts are stored. |
onCreate?
Type:
string
(optional)
The file name of the entrypoint script of lifecycle scripts under SourceS3Uri .
This entrypoint script runs during cluster creation.
sourceS3Uri?
Type:
string
(optional)
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-.

.NET
Go
Java
Python
TypeScript