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

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
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)


4341
4342
4343
4344
4345
4346
# File 'lib/aws-sdk-sagemaker/types.rb', line 4341

class ClusterLifeCycleConfig < Struct.new(
  :source_s3_uri,
  :on_create)
  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][1

has the managed [

‘AmazonSageMakerClusterInstanceRolePolicy` ][2] attached, which allows access to S3 buckets with the specific prefix `sagemaker-`.

[1]: docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-hyperpod-prerequisites.html#sagemaker-hyperpod-prerequisites-iam-role-for-hyperpod [2]: docs.aws.amazon.com/sagemaker/latest/dg/security-iam-awsmanpol-cluster.html

Returns:

  • (String)


4341
4342
4343
4344
4345
4346
# File 'lib/aws-sdk-sagemaker/types.rb', line 4341

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