Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

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

§
Affinity?: Affinity | null
[src]

The affinity setting for the instance.

§
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 ("").

§
HostId?: string | null
[src]

The ID of the Dedicated Host with which to associate the instance.

§
HostResourceGroupArn?: string | null
[src]

The ARN of the host resource group in which to place the instance.

§
InstanceId: string
[src]

The ID of the instance that you are modifying.

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