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)


46731
46732
46733
46734
46735
46736
46737
46738
46739
46740
# File 'lib/aws-sdk-ec2/types.rb', line 46731

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>)


46731
46732
46733
46734
46735
46736
46737
46738
46739
46740
# File 'lib/aws-sdk-ec2/types.rb', line 46731

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*.

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

Returns:

  • (String)


46731
46732
46733
46734
46735
46736
46737
46738
46739
46740
# File 'lib/aws-sdk-ec2/types.rb', line 46731

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*.

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

Returns:

  • (String)


46731
46732
46733
46734
46735
46736
46737
46738
46739
46740
# File 'lib/aws-sdk-ec2/types.rb', line 46731

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)


46731
46732
46733
46734
46735
46736
46737
46738
46739
46740
# File 'lib/aws-sdk-ec2/types.rb', line 46731

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)


46731
46732
46733
46734
46735
46736
46737
46738
46739
46740
# File 'lib/aws-sdk-ec2/types.rb', line 46731

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