Class: Aws::EC2::Types::ModifyHostsRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#auto_placementString

Specify whether to enable or disable auto-placement.

Returns:

  • (String)


47376
47377
47378
47379
47380
47381
47382
47383
47384
47385
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 47376

class ModifyHostsRequest < Struct.new(
  :auto_placement,
  :host_ids,
  :host_recovery,
  :instance_type,
  :instance_family,
  :host_maintenance)
  SENSITIVE = []
  include Aws::Structure
end

#host_idsArray<String>

The IDs of the Dedicated Hosts to modify.

Returns:

  • (Array<String>)


47376
47377
47378
47379
47380
47381
47382
47383
47384
47385
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 47376

class ModifyHostsRequest < Struct.new(
  :auto_placement,
  :host_ids,
  :host_recovery,
  :instance_type,
  :instance_family,
  :host_maintenance)
  SENSITIVE = []
  include Aws::Structure
end

#host_maintenanceString

Indicates whether to enable or disable host maintenance for the Dedicated Host. For more information, see Host maintenance in the Amazon EC2 User Guide.

Returns:

  • (String)


47376
47377
47378
47379
47380
47381
47382
47383
47384
47385
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 47376

class ModifyHostsRequest < Struct.new(
  :auto_placement,
  :host_ids,
  :host_recovery,
  :instance_type,
  :instance_family,
  :host_maintenance)
  SENSITIVE = []
  include Aws::Structure
end

#host_recoveryString

Indicates whether to enable or disable host recovery for the Dedicated Host. For more information, see Host recovery in the Amazon EC2 User Guide.

Returns:

  • (String)


47376
47377
47378
47379
47380
47381
47382
47383
47384
47385
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 47376

class ModifyHostsRequest < Struct.new(
  :auto_placement,
  :host_ids,
  :host_recovery,
  :instance_type,
  :instance_family,
  :host_maintenance)
  SENSITIVE = []
  include Aws::Structure
end

#instance_familyString

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.

Returns:

  • (String)


47376
47377
47378
47379
47380
47381
47382
47383
47384
47385
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 47376

class ModifyHostsRequest < Struct.new(
  :auto_placement,
  :host_ids,
  :host_recovery,
  :instance_type,
  :instance_family,
  :host_maintenance)
  SENSITIVE = []
  include Aws::Structure
end

#instance_typeString

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.

Returns:

  • (String)


47376
47377
47378
47379
47380
47381
47382
47383
47384
47385
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 47376

class ModifyHostsRequest < Struct.new(
  :auto_placement,
  :host_ids,
  :host_recovery,
  :instance_type,
  :instance_family,
  :host_maintenance)
  SENSITIVE = []
  include Aws::Structure
end