Interface ClusterLifeCycleConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ClusterLifeCycleConfig.Builder,
,ClusterLifeCycleConfig> SdkBuilder<ClusterLifeCycleConfig.Builder,
,ClusterLifeCycleConfig> SdkPojo
- Enclosing class:
ClusterLifeCycleConfig
public static interface ClusterLifeCycleConfig.Builder
extends SdkPojo, CopyableBuilder<ClusterLifeCycleConfig.Builder,ClusterLifeCycleConfig>
-
Method Summary
Modifier and TypeMethodDescriptionThe 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
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, 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 managedAmazonSageMakerClusterInstanceRolePolicy
attached, 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 managedAmazonSageMakerClusterInstanceRolePolicy
attached, 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.
-