Class: Aws::SageMaker::Types::ClusterLifeCycleConfig

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb

Overview

The lifecycle configuration for a SageMaker HyperPod cluster.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#on_createString

The file name of the entrypoint script of lifecycle scripts under SourceS3Uri. This entrypoint script runs during cluster creation.

Returns:

  • (String)


6906
6907
6908
6909
6910
6911
6912
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 6906

class ClusterLifeCycleConfig < Struct.new(
  :source_s3_uri,
  :on_create,
  :on_init_complete)
  SENSITIVE = []
  include Aws::Structure
end

#on_init_completeString

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.

Returns:

  • (String)


6906
6907
6908
6909
6910
6911
6912
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 6906

class ClusterLifeCycleConfig < Struct.new(
  :source_s3_uri,
  :on_create,
  :on_init_complete)
  SENSITIVE = []
  include Aws::Structure
end

#source_s3_uriString

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:

  • (String)


6906
6907
6908
6909
6910
6911
6912
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 6906

class ClusterLifeCycleConfig < Struct.new(
  :source_s3_uri,
  :on_create,
  :on_init_complete)
  SENSITIVE = []
  include Aws::Structure
end