Skip to content

/AWS1/CL_EC2RESERVATIONFLEET00

Information about an instance type to use in a Capacity Reservation Fleet.

CONSTRUCTOR

IMPORTING

Optional arguments:

IV_INSTANCETYPE TYPE /AWS1/EC2INSTANCETYPE /AWS1/EC2INSTANCETYPE

The instance type for which the Capacity Reservation Fleet reserves capacity.

IV_INSTANCEPLATFORM TYPE /AWS1/EC2CAPRESERVATIONINSTP00 /AWS1/EC2CAPRESERVATIONINSTP00

The type of operating system for which the Capacity Reservation Fleet reserves capacity.

IV_WEIGHT TYPE /AWS1/RT_DOUBLE_AS_STRING /AWS1/RT_DOUBLE_AS_STRING

The number of capacity units provided by the specified instance type. This value, together with the total target capacity that you specify for the Fleet determine the number of instances for which the Fleet reserves capacity. Both values are based on units that make sense for your workload. For more information, see Total target capacity in the Amazon EC2 User Guide.

IV_AVAILABILITYZONE TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The Availability Zone in which the Capacity Reservation Fleet reserves the capacity. A Capacity Reservation Fleet can't span Availability Zones. All instance type specifications that you specify for the Fleet must use the same Availability Zone.

IV_AVAILABILITYZONEID TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The ID of the Availability Zone in which the Capacity Reservation Fleet reserves the capacity. A Capacity Reservation Fleet can't span Availability Zones. All instance type specifications that you specify for the Fleet must use the same Availability Zone.

IV_EBSOPTIMIZED TYPE /AWS1/EC2BOOLEAN /AWS1/EC2BOOLEAN

Indicates whether the Capacity Reservation Fleet supports EBS-optimized instances types. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using EBS-optimized instance types.

IV_PRIORITY TYPE /AWS1/EC2INTEGERWITHCNSTRNTS /AWS1/EC2INTEGERWITHCNSTRNTS

The priority to assign to the instance type. This value is used to determine which of the instance types specified for the Fleet should be prioritized for use. A lower value indicates a high priority. For more information, see Instance type priority in the Amazon EC2 User Guide.


Queryable Attributes

InstanceType

The instance type for which the Capacity Reservation Fleet reserves capacity.

Accessible with the following methods

Method Description
GET_INSTANCETYPE() Getter for INSTANCETYPE, with configurable default
ASK_INSTANCETYPE() Getter for INSTANCETYPE w/ exceptions if field has no value
HAS_INSTANCETYPE() Determine if INSTANCETYPE has a value

InstancePlatform

The type of operating system for which the Capacity Reservation Fleet reserves capacity.

Accessible with the following methods

Method Description
GET_INSTANCEPLATFORM() Getter for INSTANCEPLATFORM, with configurable default
ASK_INSTANCEPLATFORM() Getter for INSTANCEPLATFORM w/ exceptions if field has no va
HAS_INSTANCEPLATFORM() Determine if INSTANCEPLATFORM has a value

Weight

The number of capacity units provided by the specified instance type. This value, together with the total target capacity that you specify for the Fleet determine the number of instances for which the Fleet reserves capacity. Both values are based on units that make sense for your workload. For more information, see Total target capacity in the Amazon EC2 User Guide.

Accessible with the following methods

Method Description
GET_WEIGHT() Getter for WEIGHT, with configurable default
ASK_WEIGHT() Getter for WEIGHT w/ exceptions if field has no value
STR_WEIGHT() String format for WEIGHT, with configurable default
HAS_WEIGHT() Determine if WEIGHT has a value

AvailabilityZone

The Availability Zone in which the Capacity Reservation Fleet reserves the capacity. A Capacity Reservation Fleet can't span Availability Zones. All instance type specifications that you specify for the Fleet must use the same Availability Zone.

Accessible with the following methods

Method Description
GET_AVAILABILITYZONE() Getter for AVAILABILITYZONE, with configurable default
ASK_AVAILABILITYZONE() Getter for AVAILABILITYZONE w/ exceptions if field has no va
HAS_AVAILABILITYZONE() Determine if AVAILABILITYZONE has a value

AvailabilityZoneId

The ID of the Availability Zone in which the Capacity Reservation Fleet reserves the capacity. A Capacity Reservation Fleet can't span Availability Zones. All instance type specifications that you specify for the Fleet must use the same Availability Zone.

Accessible with the following methods

Method Description
GET_AVAILABILITYZONEID() Getter for AVAILABILITYZONEID, with configurable default
ASK_AVAILABILITYZONEID() Getter for AVAILABILITYZONEID w/ exceptions if field has no
HAS_AVAILABILITYZONEID() Determine if AVAILABILITYZONEID has a value

EbsOptimized

Indicates whether the Capacity Reservation Fleet supports EBS-optimized instances types. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using EBS-optimized instance types.

Accessible with the following methods

Method Description
GET_EBSOPTIMIZED() Getter for EBSOPTIMIZED, with configurable default
ASK_EBSOPTIMIZED() Getter for EBSOPTIMIZED w/ exceptions if field has no value
HAS_EBSOPTIMIZED() Determine if EBSOPTIMIZED has a value

Priority

The priority to assign to the instance type. This value is used to determine which of the instance types specified for the Fleet should be prioritized for use. A lower value indicates a high priority. For more information, see Instance type priority in the Amazon EC2 User Guide.

Accessible with the following methods

Method Description
GET_PRIORITY() Getter for PRIORITY, with configurable default
ASK_PRIORITY() Getter for PRIORITY w/ exceptions if field has no value
HAS_PRIORITY() Determine if PRIORITY 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_RESERVATIONFLEETINSTSPECLST

TYPES TT_RESERVATIONFLEETINSTSPECLST TYPE STANDARD TABLE OF REF TO /AWS1/CL_EC2RESERVATIONFLEET00 WITH DEFAULT KEY
.