ModifyInstancePlacementRequest
import type { ModifyInstancePlacementRequest } from "https://aws-api.deno.dev/v0.4/services/ec2.ts?docs=full";
§Properties
The Group Id of a placement group. You must specify the Placement Group Group Id to launch an instance in a shared placement group.
The 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
.
To remove an instance from a placement group, specify an empty string ("").
The ARN of the host resource group in which to place the instance.
The number of the partition in which to place the instance.
Valid only if the placement group strategy is set to partition
.
The tenancy for the instance.
Note:
For T3 instances, you can't change the tenancy from dedicated
to host
, or from host
to dedicated
.
Attempting to make one of these unsupported tenancy changes results in the InvalidTenancy
error code.