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

The unique Lightsail disk name (e.g., my-disk).

*/ diskName: string; /** *

The name of the disk snapshot (e.g., my-snapshot) from which to create the new storage disk.

*/ diskSnapshotName: string; /** *

The Availability Zone where you want to create the disk (e.g., us-east-2a). Choose the same Availability Zone as the Lightsail instance where you want to create the disk.

Use the GetRegions operation to list the Availability Zones where Lightsail is currently available.

*/ availabilityZone: string; /** *

The size of the disk in GB (e.g., 32).

*/ sizeInGb: number; /** *

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__; }