Skip to content

/AWS1/CL_LMDINSTANCEREQS

Specifications that define the characteristics and constraints for compute instances used by the capacity provider.

CONSTRUCTOR

IMPORTING

Optional arguments:

it_architectures TYPE /AWS1/CL_LMDARCHITECTURESLST_W=>TT_ARCHITECTURESLIST TT_ARCHITECTURESLIST

A list of supported CPU architectures for compute instances. Valid values include x86_64 and arm64.

it_allowedinstancetypes TYPE /AWS1/CL_LMDINSTANCETYPESET_W=>TT_INSTANCETYPESET TT_INSTANCETYPESET

A list of EC2 instance types that the capacity provider is allowed to use. If not specified, all compatible instance types are allowed.

it_excludedinstancetypes TYPE /AWS1/CL_LMDINSTANCETYPESET_W=>TT_INSTANCETYPESET TT_INSTANCETYPESET

A list of EC2 instance types that the capacity provider should not use, even if they meet other requirements.


Queryable Attributes

Architectures

A list of supported CPU architectures for compute instances. Valid values include x86_64 and arm64.

Accessible with the following methods

Method Description
GET_ARCHITECTURES() Getter for ARCHITECTURES, with configurable default
ASK_ARCHITECTURES() Getter for ARCHITECTURES w/ exceptions if field has no value
HAS_ARCHITECTURES() Determine if ARCHITECTURES has a value

AllowedInstanceTypes

A list of EC2 instance types that the capacity provider is allowed to use. If not specified, all compatible instance types are allowed.

Accessible with the following methods

Method Description
GET_ALLOWEDINSTANCETYPES() Getter for ALLOWEDINSTANCETYPES, with configurable default
ASK_ALLOWEDINSTANCETYPES() Getter for ALLOWEDINSTANCETYPES w/ exceptions if field has n
HAS_ALLOWEDINSTANCETYPES() Determine if ALLOWEDINSTANCETYPES has a value

ExcludedInstanceTypes

A list of EC2 instance types that the capacity provider should not use, even if they meet other requirements.

Accessible with the following methods

Method Description
GET_EXCLUDEDINSTANCETYPES() Getter for EXCLUDEDINSTANCETYPES, with configurable default
ASK_EXCLUDEDINSTANCETYPES() Getter for EXCLUDEDINSTANCETYPES w/ exceptions if field has
HAS_EXCLUDEDINSTANCETYPES() Determine if EXCLUDEDINSTANCETYPES has a value