AWSEC2ModifyHostsRequest

Objective-C

@interface AWSEC2ModifyHostsRequest

Swift

class AWSEC2ModifyHostsRequest
  • Specify whether to enable or disable auto-placement.

    Declaration

    Objective-C

    @property (nonatomic) AWSEC2AutoPlacement autoPlacement;

    Swift

    var autoPlacement: AWSEC2AutoPlacement { get set }
  • The IDs of the Dedicated Hosts to modify.

    Declaration

    Objective-C

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

    Swift

    var hostIds: [String]? { get set }
  • Indicates whether to enable or disable host maintenance for the Dedicated Host. For more information, see Host maintenance in the Amazon EC2 User Guide.

    Declaration

    Objective-C

    @property (nonatomic) AWSEC2HostMaintenance hostMaintenance;

    Swift

    var hostMaintenance: AWSEC2HostMaintenance { get set }
  • Indicates whether to enable or disable host recovery for the Dedicated Host. For more information, see Host recovery in the Amazon EC2 User Guide.

    Declaration

    Objective-C

    @property (nonatomic) AWSEC2HostRecovery hostRecovery;

    Swift

    var hostRecovery: AWSEC2HostRecovery { get set }
  • Specifies the instance family to be supported by the Dedicated Host. Specify this parameter to modify a Dedicated Host to support multiple instance types within its current instance family.

    If you want to modify a Dedicated Host to support a specific instance type only, omit this parameter and specify InstanceType instead. You cannot specify InstanceFamily and InstanceType in the same request.

    Declaration

    Objective-C

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

    Swift

    var instanceFamily: String? { get set }
  • Specifies the instance type to be supported by the Dedicated Host. Specify this parameter to modify a Dedicated Host to support only a specific instance type.

    If you want to modify a Dedicated Host to support multiple instance types in its current instance family, omit this parameter and specify InstanceFamily instead. You cannot specify InstanceType and InstanceFamily in the same request.

    Declaration

    Objective-C

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

    Swift

    var instanceType: String? { get set }