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. If the value is
on, the Dedicated Host supports multiple instance types in the instance family. If the value isoff, the Dedicated Host supports a single instance type only.Declaration
Objective-C
@property (nonatomic) AWSEC2AllowsMultipleInstanceTypes allowsMultipleInstanceTypes;Swift
var allowsMultipleInstanceTypes: AWSEC2AllowsMultipleInstanceTypes { get set } -
The ID of the Outpost hardware asset on which the Dedicated Host is allocated.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable assetId;Swift
var assetId: String? { 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 Ensuring 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 } -
Indicates whether host maintenance is enabled or disabled for the Dedicated Host.
Declaration
Objective-C
@property (nonatomic) AWSEC2HostMaintenance hostMaintenance;Swift
var hostMaintenance: AWSEC2HostMaintenance { 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
nullresponse 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 Amazon Resource Name (ARN) of the Amazon Web Services Outpost on which the Dedicated Host is allocated.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable outpostArn;Swift
var outpostArn: String? { get set } -
The ID of the Amazon Web Services 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 }
View on GitHub
Install in Dash
AWSEC2Host Class Reference