AWSEC2CapacityReservationSpecificationResponse
Objective-C
@interface AWSEC2CapacityReservationSpecificationResponse
Swift
class AWSEC2CapacityReservationSpecificationResponse
Describes the instance’s Capacity Reservation targeting preferences. The action returns the capacityReservationPreference
response element if the instance is configured to run in On-Demand capacity, or if it is configured in run in any open
Capacity Reservation that has matching attributes (instance type, platform, Availability Zone). The action returns the capacityReservationTarget
response element if the instance explicily targets a specific Capacity Reservation or Capacity Reservation group.
-
Describes the instance’s Capacity Reservation preferences. Possible preferences include:
open
- The instance can run in anyopen
Capacity Reservation that has matching attributes (instance type, platform, Availability Zone).none
- The instance avoids running in a Capacity Reservation even if one is available. The instance runs in On-Demand capacity.
Declaration
Objective-C
@property (nonatomic) AWSEC2CapacityReservationPreference capacityReservationPreference;
Swift
var capacityReservationPreference: AWSEC2CapacityReservationPreference { get set }
-
Information about the targeted Capacity Reservation or Capacity Reservation group.
Declaration
Objective-C
@property (nonatomic, strong) AWSEC2CapacityReservationTargetResponse *_Nullable capacityReservationTarget;
Swift
var capacityReservationTarget: AWSEC2CapacityReservationTargetResponse? { get set }