AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the CreateInstancesFromSnapshot operation. Uses a specific snapshot as a blueprint for creating one or more new instances that are based on that identical configuration.

Inheritance Hierarchy


Namespace: Amazon.Lightsail.Model
Assembly: AWSSDK.Lightsail.dll
Version: 3.x.y.z


public class CreateInstancesFromSnapshotRequest : AmazonLightsailRequest

The CreateInstancesFromSnapshotRequest type exposes the following members



Public Property AttachedDiskMapping System.Collections.Generic.Dictionary<System.String, System.Collections.Generic.List<Amazon.Lightsail.Model.DiskMap>>

Gets and sets the property AttachedDiskMapping.

An object containing information about one or more disk mappings.

Public Property AvailabilityZone System.String

Gets and sets the property AvailabilityZone.

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.

Public Property BundleId System.String

Gets and sets the property BundleId.

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

Public Property InstanceNames System.Collections.Generic.List<System.String>

Gets and sets the property InstanceNames.

The names for your new instances.

Public Property InstanceSnapshotName System.String

Gets and sets the property InstanceSnapshotName.

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.

Public Property KeyPairName System.String

Gets and sets the property KeyPairName.

The name for your key pair.

Public Property UserData System.String

Gets and sets the property UserData.

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.

Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms