import { _DiskMap } from "./_DiskMap"; import { _Tag } from "./_Tag"; import { BrowserHttpOptions as __HttpOptions__ } from "@aws-sdk/types"; import * as __aws_sdk_types from "@aws-sdk/types"; /** * CreateInstancesFromSnapshotInput shape */ export interface CreateInstancesFromSnapshotInput { /** *

The names for your new instances.

*/ instanceNames: Array | Iterable; /** *

An object containing information about one or more disk mappings.

*/ attachedDiskMapping?: { [key: string]: Array<_DiskMap> | Iterable<_DiskMap>; } | Iterable<[string, Array<_DiskMap> | Iterable<_DiskMap>]>; /** *

The Availability Zone where you want to create your instances. Use the following formatting: us-east-2a (case sensitive). You can get a list of Availability Zones by using the get regions operation. Be sure to add the include Availability Zones parameter to your request.

*/ availabilityZone: string; /** *

The name of the instance snapshot on which you are basing your new instances. Use the get instance snapshots operation to return information about your existing snapshots.

*/ instanceSnapshotName: string; /** *

The bundle of specification information for your virtual private server (or instance), including the pricing plan (e.g., micro_1_0).

*/ bundleId: string; /** *

You can create a launch script that configures a server with additional user data. For example, apt-get -y update.

Depending on the machine image you choose, the command to get software on your instance varies. Amazon Linux and CentOS use yum, Debian and Ubuntu use apt-get, and FreeBSD uses pkg. For a complete list, see the Dev Guide.

*/ userData?: string; /** *

The name for your key pair.

*/ keyPairName?: string; /** *

The tag keys and optional values to add to the resource during create.

To tag a resource after it has been created, see the tag resource operation.

*/ tags?: Array<_Tag> | Iterable<_Tag>; /** * The maximum number of times this operation should be retried. If set, this value will override the `maxRetries` configuration set on the client for this command. */ $maxRetries?: number; /** * An object that may be queried to determine if the underlying operation has been aborted. * * @see https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal */ $abortSignal?: __aws_sdk_types.AbortSignal; /** * Per-request HTTP configuration options. If set, any options specified will override the corresponding HTTP option set on the client for this command. */ $httpOptions?: __HttpOptions__; }