Skip to content

/AWS1/CL_WSISPOTMARKETOPTIONS

Defines configuration for spot instance deployment.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_blockdurationminutes TYPE /AWS1/WSINONNEGATIVEINTEGER /AWS1/WSINONNEGATIVEINTEGER

Duration of spot instance block reservation.

iv_instanceinterrptbehavior TYPE /AWS1/WSIINSTINTERRPTBEHAVENUM /AWS1/WSIINSTINTERRPTBEHAVENUM

Specifies behavior when spot instance is interrupted.

iv_maxprice TYPE /AWS1/WSISTRING64 /AWS1/WSISTRING64

Maximum hourly price for spot instance.

iv_spotinstancetype TYPE /AWS1/WSISPOTINSTANCETYPEENUM /AWS1/WSISPOTINSTANCETYPEENUM

Defines the type of spot instance request.

iv_validuntilutc TYPE /AWS1/WSITIMESTAMP /AWS1/WSITIMESTAMP

Timestamp until which spot instance request is valid.


Queryable Attributes

BlockDurationMinutes

Duration of spot instance block reservation.

Accessible with the following methods

Method Description
GET_BLOCKDURATIONMINUTES() Getter for BLOCKDURATIONMINUTES, with configurable default
ASK_BLOCKDURATIONMINUTES() Getter for BLOCKDURATIONMINUTES w/ exceptions if field has n
HAS_BLOCKDURATIONMINUTES() Determine if BLOCKDURATIONMINUTES has a value

InstanceInterruptionBehavior

Specifies behavior when spot instance is interrupted.

Accessible with the following methods

Method Description
GET_INSTANCEINTERRPTBEHAVIOR() Getter for INSTANCEINTERRUPTIONBEHAVIOR, with configurable d
ASK_INSTANCEINTERRPTBEHAVIOR() Getter for INSTANCEINTERRUPTIONBEHAVIOR w/ exceptions if fie
HAS_INSTANCEINTERRPTBEHAVIOR() Determine if INSTANCEINTERRUPTIONBEHAVIOR has a value

MaxPrice

Maximum hourly price for spot instance.

Accessible with the following methods

Method Description
GET_MAXPRICE() Getter for MAXPRICE, with configurable default
ASK_MAXPRICE() Getter for MAXPRICE w/ exceptions if field has no value
HAS_MAXPRICE() Determine if MAXPRICE has a value

SpotInstanceType

Defines the type of spot instance request.

Accessible with the following methods

Method Description
GET_SPOTINSTANCETYPE() Getter for SPOTINSTANCETYPE, with configurable default
ASK_SPOTINSTANCETYPE() Getter for SPOTINSTANCETYPE w/ exceptions if field has no va
HAS_SPOTINSTANCETYPE() Determine if SPOTINSTANCETYPE has a value

ValidUntilUtc

Timestamp until which spot instance request is valid.

Accessible with the following methods

Method Description
GET_VALIDUNTILUTC() Getter for VALIDUNTILUTC, with configurable default
ASK_VALIDUNTILUTC() Getter for VALIDUNTILUTC w/ exceptions if field has no value
HAS_VALIDUNTILUTC() Determine if VALIDUNTILUTC has a value