AWSEC2Purchase

@interface AWSEC2Purchase

Describes the result of the purchase.

  • The currency in which the UpfrontPrice and HourlyPrice amounts are specified. At this time, the only supported currency is USD.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) AWSEC2CurrencyCodeValues currencyCode;

    Swift

    var currencyCode: AWSEC2CurrencyCodeValues { get set }
  • The duration of the reservation’s term in seconds.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSNumber *_Nullable duration;

    Swift

    var duration: NSNumber? { get set }
  • The IDs of the Dedicated Hosts associated with the reservation.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic)
        NSArray<NSString *> *_Nullable hostIdSet;

    Swift

    var hostIdSet: [String]? { get set }
  • The ID of the reservation.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSString *_Nullable hostReservationId;

    Swift

    var hostReservationId: String? { get set }
  • The hourly price of the reservation per hour.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) 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 (readwrite, strong, nonatomic) NSString *_Nullable instanceFamily;

    Swift

    var instanceFamily: String? { get set }
  • The payment option for the reservation.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) AWSEC2PaymentOption paymentOption;

    Swift

    var paymentOption: AWSEC2PaymentOption { get set }
  • The upfront price of the reservation.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSString *_Nullable upfrontPrice;

    Swift

    var upfrontPrice: String? { get set }