AWSEC2Purchase
Objective-C
@interface AWSEC2Purchase
Swift
class AWSEC2Purchase
Describes the result of the purchase.
-
The currency in which the
UpfrontPrice
andHourlyPrice
amounts are specified. At this time, the only supported currency isUSD
.Declaration
Objective-C
@property (nonatomic) AWSEC2CurrencyCodeValues currencyCode;
Swift
var currencyCode: AWSEC2CurrencyCodeValues { get set }
-
The duration of the reservation’s term in seconds.
Declaration
Objective-C
@property (nonatomic, strong) NSNumber *_Nullable duration;
Swift
var duration: NSNumber? { get set }
-
The IDs of the Dedicated Hosts associated with the reservation.
Declaration
Objective-C
@property (nonatomic, strong) NSArray<NSString *> *_Nullable hostIdSet;
Swift
var hostIdSet: [String]? { get set }
-
The ID of the reservation.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable hostReservationId;
Swift
var hostReservationId: String? { get set }
-
The hourly price of the reservation per hour.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable hourlyPrice;
Swift
var hourlyPrice: String? { get set }
-
The instance family on the Dedicated Host that the reservation can be associated with.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable instanceFamily;
Swift
var instanceFamily: String? { get set }
-
The payment option for the reservation.
Declaration
Objective-C
@property (nonatomic) AWSEC2PaymentOption paymentOption;
Swift
var paymentOption: AWSEC2PaymentOption { get set }
-
The upfront price of the reservation.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable upfrontPrice;
Swift
var upfrontPrice: String? { get set }