AWSEC2LaunchTemplateCapacityReservationSpecificationResponse
Objective-C
@interface AWSEC2LaunchTemplateCapacityReservationSpecificationResponse
Swift
class AWSEC2LaunchTemplateCapacityReservationSpecificationResponse
Information about the Capacity Reservation targeting option.
-
Indicates 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 target Capacity Reservation or Capacity Reservation group.
Declaration
Objective-C
@property (nonatomic, strong) AWSEC2CapacityReservationTargetResponse *_Nullable capacityReservationTarget;
Swift
var capacityReservationTarget: AWSEC2CapacityReservationTargetResponse? { get set }