ModifyInstancePlacementRequest
import type { ModifyInstancePlacementRequest } from "https://aws-api.deno.dev/v0.3/services/ec2.ts?docs=full";
interface ModifyInstancePlacementRequest {
Affinity?: Affinity | null;
GroupName?: string | null;
HostId?: string | null;
HostResourceGroupArn?: string | null;
InstanceId: string;
PartitionNumber?: number | null;
Tenancy?: HostTenancy | null;
}§Properties
§
GroupName?: string | null
[src]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 ("").
§
HostResourceGroupArn?: string | null
[src]The ARN of the host resource group in which to place the instance.
§
PartitionNumber?: number | null
[src]The number of the partition in which to place the instance.
Valid only if the placement group strategy is set to partition
.
§
Tenancy?: HostTenancy | null
[src]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.