Skip to content

/AWS1/CL_EC2INTERRUPTIONINFO

Contains information about how and when instances in an interruptible reservation can be terminated when capacity is reclaimed.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_sourcecapreservationid TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The ID of the source Capacity Reservation from which the interruptible reservation was created.

iv_interruptiontype TYPE /AWS1/EC2INTERRUPTIONTYPE /AWS1/EC2INTERRUPTIONTYPE

The interruption type that determines how instances are terminated when capacity is reclaimed.


Queryable Attributes

SourceCapacityReservationId

The ID of the source Capacity Reservation from which the interruptible reservation was created.

Accessible with the following methods

Method Description
GET_SOURCECAPRESERVATIONID() Getter for SOURCECAPACITYRESERVATIONID, with configurable de
ASK_SOURCECAPRESERVATIONID() Getter for SOURCECAPACITYRESERVATIONID w/ exceptions if fiel
HAS_SOURCECAPRESERVATIONID() Determine if SOURCECAPACITYRESERVATIONID has a value

InterruptionType

The interruption type that determines how instances are terminated when capacity is reclaimed.

Accessible with the following methods

Method Description
GET_INTERRUPTIONTYPE() Getter for INTERRUPTIONTYPE, with configurable default
ASK_INTERRUPTIONTYPE() Getter for INTERRUPTIONTYPE w/ exceptions if field has no va
HAS_INTERRUPTIONTYPE() Determine if INTERRUPTIONTYPE has a value