Skip to content

/AWS1/CL_EC2CAPRESERVATIONTGT

Describes a target Capacity Reservation or Capacity Reservation group.

CONSTRUCTOR

IMPORTING

Optional arguments:

IV_CAPACITYRESERVATIONID TYPE /AWS1/EC2CAPACITYRESERVATIONID /AWS1/EC2CAPACITYRESERVATIONID

The ID of the Capacity Reservation in which to run the instance.

IV_CAPRESERVATIONRESRCGRPARN TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The ARN of the Capacity Reservation resource group in which to run the instance.


Queryable Attributes

CapacityReservationId

The ID of the Capacity Reservation in which to run the instance.

Accessible with the following methods

Method Description
GET_CAPACITYRESERVATIONID() Getter for CAPACITYRESERVATIONID, with configurable default
ASK_CAPACITYRESERVATIONID() Getter for CAPACITYRESERVATIONID w/ exceptions if field has
HAS_CAPACITYRESERVATIONID() Determine if CAPACITYRESERVATIONID has a value

CapacityReservationResourceGroupArn

The ARN of the Capacity Reservation resource group in which to run the instance.

Accessible with the following methods

Method Description
GET_CAPRESERVATIONRESRCGRARN() Getter for CAPRESERVATIONRESRCGROUPARN, with configurable de
ASK_CAPRESERVATIONRESRCGRARN() Getter for CAPRESERVATIONRESRCGROUPARN w/ exceptions if fiel
HAS_CAPRESERVATIONRESRCGRARN() Determine if CAPRESERVATIONRESRCGROUPARN has a value