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 Details

    • sourceS3Uri

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

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

      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 under SourceS3Uri. This entrypoint script runs during cluster creation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.