AWSEC2HostReservation

Objective-C

@interface AWSEC2HostReservation

Swift

class AWSEC2HostReservation

Details about the Dedicated Host Reservation and associated Dedicated Hosts.

  • The number of Dedicated Hosts the reservation is associated with.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable count;

    Swift

    var count: NSNumber? { get set }
  • The currency in which the upfrontPrice and hourlyPrice amounts are specified. At this time, the only supported currency is USD.

    Declaration

    Objective-C

    @property (nonatomic) AWSEC2CurrencyCodeValues currencyCode;

    Swift

    var currencyCode: AWSEC2CurrencyCodeValues { get set }
  • The length of the reservation’s term, specified in seconds. Can be 31536000 (1 year) | 94608000 (3 years).

    Declaration

    Objective-C

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

    Swift

    var duration: NSNumber? { get set }
  • end

    The date and time that the reservation ends.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSDate *_Nullable end;

    Swift

    var end: Date? { 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 that specifies the associated Dedicated Hosts.

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable hourlyPrice;

    Swift

    var hourlyPrice: String? { get set }
  • The instance family of the Dedicated Host Reservation. The instance family on the Dedicated Host must be the same in order for it to benefit from the reservation.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable instanceFamily;

    Swift

    var instanceFamily: String? { get set }
  • The ID of the reservation. This remains the same regardless of which Dedicated Hosts are associated with it.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable offeringId;

    Swift

    var offeringId: String? { get set }
  • The payment option selected for this reservation.

    Declaration

    Objective-C

    @property (nonatomic) AWSEC2PaymentOption paymentOption;

    Swift

    var paymentOption: AWSEC2PaymentOption { get set }
  • The date and time that the reservation started.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSDate *_Nullable start;

    Swift

    var start: Date? { get set }
  • The state of the reservation.

    Declaration

    Objective-C

    @property (nonatomic) AWSEC2ReservationState state;

    Swift

    var state: AWSEC2ReservationState { get set }
  • Any tags assigned to the Dedicated Host Reservation.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<AWSEC2Tag *> *_Nullable tags;

    Swift

    var tags: [AWSEC2Tag]? { get set }
  • The upfront price of the reservation.

    Declaration

    Objective-C

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

    Swift

    var upfrontPrice: String? { get set }