Interface ClusterLifeCycleConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ClusterLifeCycleConfig.Builder,,ClusterLifeCycleConfig> SdkBuilder<ClusterLifeCycleConfig.Builder,,ClusterLifeCycleConfig> SdkPojo
- Enclosing class:
ClusterLifeCycleConfig
-
Method Summary
Modifier and TypeMethodDescriptionThe file name of the entrypoint script of lifecycle scripts underSourceS3Uri.onInitComplete(String onInitComplete) The file name of the entrypoint script of lifecycle scripts underSourceS3Uri.sourceS3Uri(String sourceS3Uri) An Amazon S3 bucket path where your lifecycle scripts are stored.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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-.- Parameters:
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-.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
onCreate
The file name of the entrypoint script of lifecycle scripts under
SourceS3Uri. This entrypoint script runs during cluster creation.- Parameters:
onCreate- The file name of the entrypoint script of lifecycle scripts underSourceS3Uri. This entrypoint script runs during cluster creation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Parameters:
onInitComplete- The file name of the entrypoint script of lifecycle scripts underSourceS3Uri. This script runs on the node after the AMI-based initialization is complete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-