Skip to content

/AWS1/CL_SGMINSTANCEPOOL

Specifies an instance type and its priority for a heterogeneous endpoint. Use instance pools to configure a production variant with multiple instance types, enabling the endpoint to provision instances across different types based on priority.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_instancetype TYPE /AWS1/SGMPRODUCTIONVARIANTIN00 /AWS1/SGMPRODUCTIONVARIANTIN00

The ML compute instance type for the instance pool.

iv_priority TYPE /AWS1/SGMINSTANCEPOOLPRIORITY /AWS1/SGMINSTANCEPOOLPRIORITY

The priority for the instance pool. SageMaker attempts to provision instances in order of priority, starting with the lowest value. If instances for a higher-priority pool are unavailable, SageMaker attempts to provision from the next pool.

Valid values: 1 to 5, where 1 is the highest priority.

Optional arguments:

iv_modelnameoverride TYPE /AWS1/SGMMODELNAME /AWS1/SGMMODELNAME

The name of a SageMaker model to use for this instance pool instead of the model specified for the production variant. Use this to deploy a different model optimized for the instance type in this pool.


Queryable Attributes

InstanceType

The ML compute instance type for the instance pool.

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

ModelNameOverride

The name of a SageMaker model to use for this instance pool instead of the model specified for the production variant. Use this to deploy a different model optimized for the instance type in this pool.

Accessible with the following methods

Method Description
GET_MODELNAMEOVERRIDE() Getter for MODELNAMEOVERRIDE, with configurable default
ASK_MODELNAMEOVERRIDE() Getter for MODELNAMEOVERRIDE w/ exceptions if field has no v
HAS_MODELNAMEOVERRIDE() Determine if MODELNAMEOVERRIDE has a value

Priority

The priority for the instance pool. SageMaker attempts to provision instances in order of priority, starting with the lowest value. If instances for a higher-priority pool are unavailable, SageMaker attempts to provision from the next pool.

Valid values: 1 to 5, where 1 is the highest priority.

Accessible with the following methods

Method Description
GET_PRIORITY() Getter for PRIORITY, with configurable default
ASK_PRIORITY() Getter for PRIORITY w/ exceptions if field has no value
HAS_PRIORITY() Determine if PRIORITY 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_INSTANCEPOOLLIST

TYPES TT_INSTANCEPOOLLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_SGMINSTANCEPOOL WITH DEFAULT KEY
.