Class: Aws::SageMaker::Types::ProcessingInstancePreference

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

Overview

A candidate instance type preference in a processing InstancePreferences list.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#instance_count ⇒ Integer

The number of instances to launch if this instance type is selected. Specify the instance count for the processing job in one of the following two ways:

  1. Per preference – Set InstanceCount on every preference in the InstancePreferences list and don't set ProcessingClusterConfig$InstanceCount. Use this when each instance type needs a different number of instances to deliver equivalent compute.

  2. One count for the job – Set ProcessingClusterConfig$InstanceCount and omit it from every preference. Amazon SageMaker applies this to all instance types in the list.

For example, in a list of five preferences, either all five specify InstanceCount or none of them do. Amazon SageMaker rejects requests that set InstanceCount on only some preferences, that set it both per preference and in ProcessingClusterConfig, or that omit it in both places.

Returns:

  • (Integer)


46903
46904
46905
46906
46907
46908
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 46903

class ProcessingInstancePreference < Struct.new(
  :instance_type,
  :instance_count)
  SENSITIVE = []
  include Aws::Structure
end

#instance_type ⇒ String

The ML compute instance type. An instance type can appear only once in an InstancePreferences list.

Returns:

  • (String)


46903
46904
46905
46906
46907
46908
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 46903

class ProcessingInstancePreference < Struct.new(
  :instance_type,
  :instance_count)
  SENSITIVE = []
  include Aws::Structure
end