Class: Aws::SageMaker::Types::ClusterInstanceGroupSpecification

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

Overview

The specifications of an instance group that you need to define.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#execution_roleString

Specifies an IAM execution role to be assumed by the instance group.

Returns:

  • (String)


4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
# File 'lib/aws-sdk-sagemaker/types.rb', line 4034

class ClusterInstanceGroupSpecification < Struct.new(
  :instance_count,
  :instance_group_name,
  :instance_type,
  :life_cycle_config,
  :execution_role,
  :threads_per_core)
  SENSITIVE = []
  include Aws::Structure
end

#instance_countInteger

Specifies the number of instances to add to the instance group of a SageMaker HyperPod cluster.

Returns:

  • (Integer)


4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
# File 'lib/aws-sdk-sagemaker/types.rb', line 4034

class ClusterInstanceGroupSpecification < Struct.new(
  :instance_count,
  :instance_group_name,
  :instance_type,
  :life_cycle_config,
  :execution_role,
  :threads_per_core)
  SENSITIVE = []
  include Aws::Structure
end

#instance_group_nameString

Specifies the name of the instance group.

Returns:

  • (String)


4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
# File 'lib/aws-sdk-sagemaker/types.rb', line 4034

class ClusterInstanceGroupSpecification < Struct.new(
  :instance_count,
  :instance_group_name,
  :instance_type,
  :life_cycle_config,
  :execution_role,
  :threads_per_core)
  SENSITIVE = []
  include Aws::Structure
end

#instance_typeString

Specifies the instance type of the instance group.

Returns:

  • (String)


4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
# File 'lib/aws-sdk-sagemaker/types.rb', line 4034

class ClusterInstanceGroupSpecification < Struct.new(
  :instance_count,
  :instance_group_name,
  :instance_type,
  :life_cycle_config,
  :execution_role,
  :threads_per_core)
  SENSITIVE = []
  include Aws::Structure
end

#life_cycle_configTypes::ClusterLifeCycleConfig

Specifies the LifeCycle configuration for the instance group.



4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
# File 'lib/aws-sdk-sagemaker/types.rb', line 4034

class ClusterInstanceGroupSpecification < Struct.new(
  :instance_count,
  :instance_group_name,
  :instance_type,
  :life_cycle_config,
  :execution_role,
  :threads_per_core)
  SENSITIVE = []
  include Aws::Structure
end

#threads_per_coreInteger

Specifies the value for **Threads per core**. For instance types that support multithreading, you can specify ‘1` for disabling multithreading and `2` for enabling multithreading. For instance types that doesn’t support multithreading, specify ‘1`. For more information, see the reference table of [CPU cores and threads per CPU core per instance type] in the *Amazon Elastic Compute Cloud User Guide*.

[1]: docs.aws.amazon.com/AWSEC2/latest/UserGuide/cpu-options-supported-instances-values.html

Returns:

  • (Integer)


4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
# File 'lib/aws-sdk-sagemaker/types.rb', line 4034

class ClusterInstanceGroupSpecification < Struct.new(
  :instance_count,
  :instance_group_name,
  :instance_type,
  :life_cycle_config,
  :execution_role,
  :threads_per_core)
  SENSITIVE = []
  include Aws::Structure
end