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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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)


50814
50815
50816
50817
50818
50819
50820
50821
50822
50823
# File 'lib/aws-sdk-ec2/types.rb', line 50814

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

#host_idsArray<String>

The IDs of the Dedicated Hosts to modify.

Returns:

  • (Array<String>)


50814
50815
50816
50817
50818
50819
50820
50821
50822
50823
# File 'lib/aws-sdk-ec2/types.rb', line 50814

class ModifyHostsRequest < Struct.new(
  :host_recovery,
  :instance_type,
  :instance_family,
  :host_maintenance,
  :host_ids,
  :auto_placement)
  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*.

[1]: docs.aws.amazon.com/AWSEC2/latest/UserGuide/dedicated-hosts-maintenance.html

Returns:

  • (String)


50814
50815
50816
50817
50818
50819
50820
50821
50822
50823
# File 'lib/aws-sdk-ec2/types.rb', line 50814

class ModifyHostsRequest < Struct.new(
  :host_recovery,
  :instance_type,
  :instance_family,
  :host_maintenance,
  :host_ids,
  :auto_placement)
  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*.

[1]: docs.aws.amazon.com/AWSEC2/latest/UserGuide/dedicated-hosts-recovery.html

Returns:

  • (String)


50814
50815
50816
50817
50818
50819
50820
50821
50822
50823
# File 'lib/aws-sdk-ec2/types.rb', line 50814

class ModifyHostsRequest < Struct.new(
  :host_recovery,
  :instance_type,
  :instance_family,
  :host_maintenance,
  :host_ids,
  :auto_placement)
  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)


50814
50815
50816
50817
50818
50819
50820
50821
50822
50823
# File 'lib/aws-sdk-ec2/types.rb', line 50814

class ModifyHostsRequest < Struct.new(
  :host_recovery,
  :instance_type,
  :instance_family,
  :host_maintenance,
  :host_ids,
  :auto_placement)
  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)


50814
50815
50816
50817
50818
50819
50820
50821
50822
50823
# File 'lib/aws-sdk-ec2/types.rb', line 50814

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