/AWS1/CL_SGMPRCSGINSTANCEPREF¶
A candidate instance type preference in a processing InstancePreferences list.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_instancetype TYPE /AWS1/SGMPROCESSINGINSTTYPE /AWS1/SGMPROCESSINGINSTTYPE¶
The ML compute instance type. An instance type can appear only once in an
InstancePreferenceslist.
Optional arguments:¶
iv_instancecount TYPE /AWS1/SGMPROCESSINGINSTCOUNT /AWS1/SGMPROCESSINGINSTCOUNT¶
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:
Per preference – Set
InstanceCounton every preference in theInstancePreferenceslist and don't setProcessingClusterConfig$InstanceCount. Use this when each instance type needs a different number of instances to deliver equivalent compute.One count for the job – Set
ProcessingClusterConfig$InstanceCountand 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
InstanceCountor none of them do. Amazon SageMaker rejects requests that setInstanceCounton only some preferences, that set it both per preference and inProcessingClusterConfig, or that omit it in both places.
Queryable Attributes¶
InstanceType¶
The ML compute instance type. An instance type can appear only once in an
InstancePreferenceslist.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_INSTANCETYPE() |
Getter for INSTANCETYPE, with configurable default |
ASK_INSTANCETYPE() |
Getter for INSTANCETYPE w/ exceptions if field has no value |
HAS_INSTANCETYPE() |
Determine if INSTANCETYPE has a value |
InstanceCount¶
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:
Per preference – Set
InstanceCounton every preference in theInstancePreferenceslist and don't setProcessingClusterConfig$InstanceCount. Use this when each instance type needs a different number of instances to deliver equivalent compute.One count for the job – Set
ProcessingClusterConfig$InstanceCountand 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
InstanceCountor none of them do. Amazon SageMaker rejects requests that setInstanceCounton only some preferences, that set it both per preference and inProcessingClusterConfig, or that omit it in both places.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_INSTANCECOUNT() |
Getter for INSTANCECOUNT, with configurable default |
ASK_INSTANCECOUNT() |
Getter for INSTANCECOUNT w/ exceptions if field has no value |
HAS_INSTANCECOUNT() |
Determine if INSTANCECOUNT has a value |
Public Local Types In This Class¶
Internal table types, representing arrays and maps of this class, are defined as local types:
TT_PROCESSINGINSTANCEPREFLIST¶
TYPES TT_PROCESSINGINSTANCEPREFLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_SGMPRCSGINSTANCEPREF WITH DEFAULT KEY
.