Modify Instance Placement

GET {{aws_ec2_base_url}}/?Affinity&GroupName&HostId&InstanceId&PartitionNumber&Tenancy&Action=ModifyInstancePlacement

Modifies the placement attributes for a specified instance.

Request Params

KeyDatatypeRequiredDescription
AffinitynullThe affinity setting for the instance.
GroupNamenullThe name of the placement group in which to place the instance. For spread placement groups, the instance must have a tenancy of default. For cluster and partition placement groups, the instance must have a tenancy of default or dedicated.
HostIdnullThe ID of the Dedicated Host with which to associate the instance.
InstanceIdnullThe ID of the instance that you are modifying.
PartitionNumbernullReserved for future use.
TenancynullThe tenancy for the instance.
Actionstring