ModifyHostsRequest
¶
Source code in docs_src/capo_ec2/types/modify_hosts_request.py
auto_placement
instance-attribute
¶
auto_placement: NotRequired[AutoPlacement]
Specify whether to enable or disable auto-placement.
host_ids
instance-attribute
¶
host_ids: NotRequired[RequestHostIdList]
The IDs of the Dedicated Hosts to modify.
host_maintenance
instance-attribute
¶
host_maintenance: NotRequired[HostMaintenance]
Indicates whether to enable or disable host maintenance for the Dedicated Host. For more information, see Host maintenance in the Amazon EC2 User Guide.
host_recovery
instance-attribute
¶
host_recovery: NotRequired[HostRecovery]
Indicates whether to enable or disable host recovery for the Dedicated Host. For more information, see Host recovery in the Amazon EC2 User Guide.
instance_family
instance-attribute
¶
instance_family: NotRequired[String]
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.
instance_type
instance-attribute
¶
instance_type: NotRequired[String]
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.