Skip to content

/AWS1/CL_EC2CAPRESERVATIONFL02

Information about a Capacity Reservation Fleet.

CONSTRUCTOR

IMPORTING

Optional arguments:

IV_CAPRESERVATIONFLEETID TYPE /AWS1/EC2CAPRESERVATIONFLEETID /AWS1/EC2CAPRESERVATIONFLEETID

The ID of the Capacity Reservation Fleet.

IV_CAPRESERVATIONFLEETARN TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The ARN of the Capacity Reservation Fleet.

IV_STATE TYPE /AWS1/EC2CAPRESERVATIONFLEET00 /AWS1/EC2CAPRESERVATIONFLEET00

The state of the Capacity Reservation Fleet. Possible states include:

  • submitted - The Capacity Reservation Fleet request has been submitted and Amazon Elastic Compute Cloud is preparing to create the Capacity Reservations.

  • modifying - The Capacity Reservation Fleet is being modified. The Fleet remains in this state until the modification is complete.

  • active - The Capacity Reservation Fleet has fulfilled its total target capacity and it is attempting to maintain this capacity. The Fleet remains in this state until it is modified or deleted.

  • partially_fulfilled - The Capacity Reservation Fleet has partially fulfilled its total target capacity. There is insufficient Amazon EC2 to fulfill the total target capacity. The Fleet is attempting to asynchronously fulfill its total target capacity.

  • expiring - The Capacity Reservation Fleet has reach its end date and it is in the process of expiring. One or more of its Capacity reservations might still be active.

  • expired - The Capacity Reservation Fleet has reach its end date. The Fleet and its Capacity Reservations are expired. The Fleet can't create new Capacity Reservations.

  • cancelling - The Capacity Reservation Fleet is in the process of being cancelled. One or more of its Capacity reservations might still be active.

  • cancelled - The Capacity Reservation Fleet has been manually cancelled. The Fleet and its Capacity Reservations are cancelled and the Fleet can't create new Capacity Reservations.

  • failed - The Capacity Reservation Fleet failed to reserve capacity for the specified instance types.

IV_TOTALTARGETCAPACITY TYPE /AWS1/EC2INTEGER /AWS1/EC2INTEGER

The total number of capacity units for which the Capacity Reservation Fleet reserves capacity. For more information, see Total target capacity in the Amazon EC2 User Guide.

IV_TOTALFULFILLEDCAPACITY TYPE /AWS1/RT_DOUBLE_AS_STRING /AWS1/RT_DOUBLE_AS_STRING

The capacity units that have been fulfilled.

IV_TENANCY TYPE /AWS1/EC2FLEETCAPRESERVATION00 /AWS1/EC2FLEETCAPRESERVATION00

The tenancy of the Capacity Reservation Fleet. Tenancies include:

  • default - The Capacity Reservation Fleet is created on hardware that is shared with other Amazon Web Services accounts.

  • dedicated - The Capacity Reservation Fleet is created on single-tenant hardware that is dedicated to a single Amazon Web Services account.

IV_ENDDATE TYPE /AWS1/EC2MILLISECONDDATETIME /AWS1/EC2MILLISECONDDATETIME

The date and time at which the Capacity Reservation Fleet expires.

IV_CREATETIME TYPE /AWS1/EC2MILLISECONDDATETIME /AWS1/EC2MILLISECONDDATETIME

The date and time at which the Capacity Reservation Fleet was created.

IV_INSTANCEMATCHCRITERIA TYPE /AWS1/EC2FLEETINSTMATCHCRIT /AWS1/EC2FLEETINSTMATCHCRIT

Indicates the type of instance launches that the Capacity Reservation Fleet accepts. All Capacity Reservations in the Fleet inherit this instance matching criteria.

Currently, Capacity Reservation Fleets support open instance matching criteria only. This means that instances that have matching attributes (instance type, platform, and Availability Zone) run in the Capacity Reservations automatically. Instances do not need to explicitly target a Capacity Reservation Fleet to use its reserved capacity.

IV_ALLOCATIONSTRATEGY TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The strategy used by the Capacity Reservation Fleet to determine which of the specified instance types to use. For more information, see For more information, see Allocation strategy in the Amazon EC2 User Guide.

IT_INSTANCETYPESPECS TYPE /AWS1/CL_EC2FLEETCAPRESERVAT00=>TT_FLEETCAPACITYRESERVATIONSET TT_FLEETCAPACITYRESERVATIONSET

Information about the instance types for which to reserve the capacity.

IT_TAGS TYPE /AWS1/CL_EC2TAG=>TT_TAGLIST TT_TAGLIST

The tags assigned to the Capacity Reservation Fleet.


Queryable Attributes

CapacityReservationFleetId

The ID of the Capacity Reservation Fleet.

Accessible with the following methods

Method Description
GET_CAPRESERVATIONFLEETID() Getter for CAPACITYRESERVATIONFLEETID, with configurable def
ASK_CAPRESERVATIONFLEETID() Getter for CAPACITYRESERVATIONFLEETID w/ exceptions if field
HAS_CAPRESERVATIONFLEETID() Determine if CAPACITYRESERVATIONFLEETID has a value

CapacityReservationFleetArn

The ARN of the Capacity Reservation Fleet.

Accessible with the following methods

Method Description
GET_CAPRESERVATIONFLEETARN() Getter for CAPACITYRESERVATIONFLEETARN, with configurable de
ASK_CAPRESERVATIONFLEETARN() Getter for CAPACITYRESERVATIONFLEETARN w/ exceptions if fiel
HAS_CAPRESERVATIONFLEETARN() Determine if CAPACITYRESERVATIONFLEETARN has a value

State

The state of the Capacity Reservation Fleet. Possible states include:

  • submitted - The Capacity Reservation Fleet request has been submitted and Amazon Elastic Compute Cloud is preparing to create the Capacity Reservations.

  • modifying - The Capacity Reservation Fleet is being modified. The Fleet remains in this state until the modification is complete.

  • active - The Capacity Reservation Fleet has fulfilled its total target capacity and it is attempting to maintain this capacity. The Fleet remains in this state until it is modified or deleted.

  • partially_fulfilled - The Capacity Reservation Fleet has partially fulfilled its total target capacity. There is insufficient Amazon EC2 to fulfill the total target capacity. The Fleet is attempting to asynchronously fulfill its total target capacity.

  • expiring - The Capacity Reservation Fleet has reach its end date and it is in the process of expiring. One or more of its Capacity reservations might still be active.

  • expired - The Capacity Reservation Fleet has reach its end date. The Fleet and its Capacity Reservations are expired. The Fleet can't create new Capacity Reservations.

  • cancelling - The Capacity Reservation Fleet is in the process of being cancelled. One or more of its Capacity reservations might still be active.

  • cancelled - The Capacity Reservation Fleet has been manually cancelled. The Fleet and its Capacity Reservations are cancelled and the Fleet can't create new Capacity Reservations.

  • failed - The Capacity Reservation Fleet failed to reserve capacity for the specified instance types.

Accessible with the following methods

Method Description
GET_STATE() Getter for STATE, with configurable default
ASK_STATE() Getter for STATE w/ exceptions if field has no value
HAS_STATE() Determine if STATE has a value

TotalTargetCapacity

The total number of capacity units for which the Capacity Reservation Fleet reserves capacity. For more information, see Total target capacity in the Amazon EC2 User Guide.

Accessible with the following methods

Method Description
GET_TOTALTARGETCAPACITY() Getter for TOTALTARGETCAPACITY, with configurable default
ASK_TOTALTARGETCAPACITY() Getter for TOTALTARGETCAPACITY w/ exceptions if field has no
HAS_TOTALTARGETCAPACITY() Determine if TOTALTARGETCAPACITY has a value

TotalFulfilledCapacity

The capacity units that have been fulfilled.

Accessible with the following methods

Method Description
GET_TOTALFULFILLEDCAPACITY() Getter for TOTALFULFILLEDCAPACITY, with configurable default
ASK_TOTALFULFILLEDCAPACITY() Getter for TOTALFULFILLEDCAPACITY w/ exceptions if field has
STR_TOTALFULFILLEDCAPACITY() String format for TOTALFULFILLEDCAPACITY, with configurable
HAS_TOTALFULFILLEDCAPACITY() Determine if TOTALFULFILLEDCAPACITY has a value

Tenancy

The tenancy of the Capacity Reservation Fleet. Tenancies include:

  • default - The Capacity Reservation Fleet is created on hardware that is shared with other Amazon Web Services accounts.

  • dedicated - The Capacity Reservation Fleet is created on single-tenant hardware that is dedicated to a single Amazon Web Services account.

Accessible with the following methods

Method Description
GET_TENANCY() Getter for TENANCY, with configurable default
ASK_TENANCY() Getter for TENANCY w/ exceptions if field has no value
HAS_TENANCY() Determine if TENANCY has a value

EndDate

The date and time at which the Capacity Reservation Fleet expires.

Accessible with the following methods

Method Description
GET_ENDDATE() Getter for ENDDATE, with configurable default
ASK_ENDDATE() Getter for ENDDATE w/ exceptions if field has no value
HAS_ENDDATE() Determine if ENDDATE has a value

CreateTime

The date and time at which the Capacity Reservation Fleet was created.

Accessible with the following methods

Method Description
GET_CREATETIME() Getter for CREATETIME, with configurable default
ASK_CREATETIME() Getter for CREATETIME w/ exceptions if field has no value
HAS_CREATETIME() Determine if CREATETIME has a value

InstanceMatchCriteria

Indicates the type of instance launches that the Capacity Reservation Fleet accepts. All Capacity Reservations in the Fleet inherit this instance matching criteria.

Currently, Capacity Reservation Fleets support open instance matching criteria only. This means that instances that have matching attributes (instance type, platform, and Availability Zone) run in the Capacity Reservations automatically. Instances do not need to explicitly target a Capacity Reservation Fleet to use its reserved capacity.

Accessible with the following methods

Method Description
GET_INSTANCEMATCHCRITERIA() Getter for INSTANCEMATCHCRITERIA, with configurable default
ASK_INSTANCEMATCHCRITERIA() Getter for INSTANCEMATCHCRITERIA w/ exceptions if field has
HAS_INSTANCEMATCHCRITERIA() Determine if INSTANCEMATCHCRITERIA has a value

AllocationStrategy

The strategy used by the Capacity Reservation Fleet to determine which of the specified instance types to use. For more information, see For more information, see Allocation strategy in the Amazon EC2 User Guide.

Accessible with the following methods

Method Description
GET_ALLOCATIONSTRATEGY() Getter for ALLOCATIONSTRATEGY, with configurable default
ASK_ALLOCATIONSTRATEGY() Getter for ALLOCATIONSTRATEGY w/ exceptions if field has no
HAS_ALLOCATIONSTRATEGY() Determine if ALLOCATIONSTRATEGY has a value

InstanceTypeSpecifications

Information about the instance types for which to reserve the capacity.

Accessible with the following methods

Method Description
GET_INSTANCETYPESPECS() Getter for INSTANCETYPESPECIFICATIONS, with configurable def
ASK_INSTANCETYPESPECS() Getter for INSTANCETYPESPECIFICATIONS w/ exceptions if field
HAS_INSTANCETYPESPECS() Determine if INSTANCETYPESPECIFICATIONS has a value

Tags

The tags assigned to the Capacity Reservation Fleet.

Accessible with the following methods

Method Description
GET_TAGS() Getter for TAGS, with configurable default
ASK_TAGS() Getter for TAGS w/ exceptions if field has no value
HAS_TAGS() Determine if TAGS 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_CAPACITYRESERVATIONFLEETSET

TYPES TT_CAPACITYRESERVATIONFLEETSET TYPE STANDARD TABLE OF REF TO /AWS1/CL_EC2CAPRESERVATIONFL02 WITH DEFAULT KEY
.