Skip to content

/AWS1/CL_EC2RSRVDCAPOPTSREQ

Defines EC2 Fleet preferences for utilizing reserved capacity when DefaultTargetCapacityType is set to reserved-capacity.

This configuration can only be used if the EC2 Fleet is of type instant.

When you specify ReservedCapacityOptions, you must also set DefaultTargetCapacityType to reserved-capacity in the TargetCapacitySpecification.

For more information about Interruptible Capacity Reservations, see Launch instances into an Interruptible Capacity Reservation in the Amazon EC2 User Guide.

CONSTRUCTOR

IMPORTING

Optional arguments:

it_reservationtypes TYPE /AWS1/CL_EC2RESVTYPELISTREQ_W=>TT_RESERVATIONTYPELISTREQUEST TT_RESERVATIONTYPELISTREQUEST

The types of Capacity Reservations to use for fulfilling the EC2 Fleet request.


Queryable Attributes

ReservationTypes

The types of Capacity Reservations to use for fulfilling the EC2 Fleet request.

Accessible with the following methods

Method Description
GET_RESERVATIONTYPES() Getter for RESERVATIONTYPES, with configurable default
ASK_RESERVATIONTYPES() Getter for RESERVATIONTYPES w/ exceptions if field has no va
HAS_RESERVATIONTYPES() Determine if RESERVATIONTYPES has a value