AWSEC2Host

Objective-C

@interface AWSEC2Host

Swift

class AWSEC2Host

Describes the properties of the Dedicated Host.

  • The time that the Dedicated Host was allocated.

    Declaration

    Objective-C

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

    Swift

    var allocationTime: Date? { get set }
  • Indicates whether the Dedicated Host supports multiple instance types of the same instance family, or a specific instance type only. one indicates that the Dedicated Host supports multiple instance types in the instance family. off indicates that the Dedicated Host supports a single instance type only.

    Declaration

    Objective-C

    @property (nonatomic) AWSEC2AllowsMultipleInstanceTypes allowsMultipleInstanceTypes;

    Swift

    var allowsMultipleInstanceTypes: AWSEC2AllowsMultipleInstanceTypes { get set }
  • Whether auto-placement is on or off.

    Declaration

    Objective-C

    @property (nonatomic) AWSEC2AutoPlacement autoPlacement;

    Swift

    var autoPlacement: AWSEC2AutoPlacement { get set }
  • The Availability Zone of the Dedicated Host.

    Declaration

    Objective-C

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

    Swift

    var availabilityZone: String? { get set }
  • The ID of the Availability Zone in which the Dedicated Host is allocated.

    Declaration

    Objective-C

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

    Swift

    var availabilityZoneId: String? { get set }
  • Information about the instances running on the Dedicated Host.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSEC2AvailableCapacity *_Nullable availableCapacity;

    Swift

    var availableCapacity: AWSEC2AvailableCapacity? { get set }
  • Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.

    Declaration

    Objective-C

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

    Swift

    var clientToken: String? { get set }
  • The ID of the Dedicated Host.

    Declaration

    Objective-C

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

    Swift

    var hostId: String? { get set }
  • The hardware specifications of the Dedicated Host.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSEC2HostProperties *_Nullable hostProperties;

    Swift

    var hostProperties: AWSEC2HostProperties? { get set }
  • Indicates whether host recovery is enabled or disabled for the Dedicated Host.

    Declaration

    Objective-C

    @property (nonatomic) AWSEC2HostRecovery hostRecovery;

    Swift

    var hostRecovery: AWSEC2HostRecovery { get set }
  • The reservation ID of the Dedicated Host. This returns a null response if the Dedicated Host doesn’t have an associated reservation.

    Declaration

    Objective-C

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

    Swift

    var hostReservationId: String? { get set }
  • The IDs and instance type that are currently running on the Dedicated Host.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<AWSEC2HostInstance *> *_Nullable instances;

    Swift

    var instances: [AWSEC2HostInstance]? { get set }
  • Indicates whether the Dedicated Host is in a host resource group. If memberOfServiceLinkedResourceGroup is true, the host is in a host resource group; otherwise, it is not.

    Declaration

    Objective-C

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

    Swift

    var memberOfServiceLinkedResourceGroup: NSNumber? { get set }
  • The ID of the AWS account that owns the Dedicated Host.

    Declaration

    Objective-C

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

    Swift

    var ownerId: String? { get set }
  • The time that the Dedicated Host was released.

    Declaration

    Objective-C

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

    Swift

    var releaseTime: Date? { get set }
  • The Dedicated Host’s state.

    Declaration

    Objective-C

    @property (nonatomic) AWSEC2AllocationState state;

    Swift

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

    Declaration

    Objective-C

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

    Swift

    var tags: [AWSEC2Tag]? { get set }