Class: Aws::SageMaker::Types::ClusterEbsVolumeConfig

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

Overview

Defines the configuration for attaching an additional Amazon Elastic Block Store (EBS) volume to each instance of the SageMaker HyperPod cluster instance group. To learn more, see SageMaker HyperPod release notes: June 20, 2024.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#root_volumeBoolean

Specifies whether the configuration is for the cluster's root or secondary Amazon EBS volume. You can specify two ClusterEbsVolumeConfig fields to configure both the root and secondary volumes. Set the value to True if you'd like to provide your own customer managed Amazon Web Services KMS key to encrypt the root volume. When True:

  • The configuration is applied to the root volume.

  • You can't specify the VolumeSizeInGB field. The size of the root volume is determined for you.

  • You must specify a KMS key ID for VolumeKmsKeyId to encrypt the root volume with your own KMS key instead of an Amazon Web Services owned KMS key.

Otherwise, by default, the value is False, and the following applies:

  • The configuration is applied to the secondary volume, while the root volume is encrypted with an Amazon Web Services owned key.

  • You must specify the VolumeSizeInGB field.

  • You can optionally specify the VolumeKmsKeyId to encrypt the secondary volume with your own KMS key instead of an Amazon Web Services owned KMS key.

Returns:

  • (Boolean)


5331
5332
5333
5334
5335
5336
5337
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 5331

class ClusterEbsVolumeConfig < Struct.new(
  :volume_size_in_gb,
  :volume_kms_key_id,
  :root_volume)
  SENSITIVE = []
  include Aws::Structure
end

#volume_kms_key_idString

The ID of a KMS key to encrypt the Amazon EBS volume.

Returns:

  • (String)


5331
5332
5333
5334
5335
5336
5337
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 5331

class ClusterEbsVolumeConfig < Struct.new(
  :volume_size_in_gb,
  :volume_kms_key_id,
  :root_volume)
  SENSITIVE = []
  include Aws::Structure
end

#volume_size_in_gbInteger

The size in gigabytes (GB) of the additional EBS volume to be attached to the instances in the SageMaker HyperPod cluster instance group. The additional EBS volume is attached to each instance within the SageMaker HyperPod cluster instance group and mounted to /opt/sagemaker.

Returns:

  • (Integer)


5331
5332
5333
5334
5335
5336
5337
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 5331

class ClusterEbsVolumeConfig < Struct.new(
  :volume_size_in_gb,
  :volume_kms_key_id,
  :root_volume)
  SENSITIVE = []
  include Aws::Structure
end