View source: R/lightsail_operations.R
lightsail_create_instances_from_snapshot | R Documentation |
Creates one or more new instances from a manual or automatic snapshot of an instance.
See https://www.paws-r-sdk.com/docs/lightsail_create_instances_from_snapshot/ for full documentation.
lightsail_create_instances_from_snapshot(
instanceNames,
attachedDiskMapping = NULL,
availabilityZone,
instanceSnapshotName = NULL,
bundleId,
userData = NULL,
keyPairName = NULL,
tags = NULL,
addOns = NULL,
ipAddressType = NULL,
sourceInstanceName = NULL,
restoreDate = NULL,
useLatestRestorableAutoSnapshot = NULL
)
instanceNames |
[required] The names for your new instances. |
attachedDiskMapping |
An object containing information about one or more disk mappings. |
availabilityZone |
[required] The Availability Zone where you want to create your instances. Use the
following formatting: |
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. Constraint:
|
bundleId |
[required] The bundle of specification information for your virtual private server
(or instance), including the pricing plan ( |
userData |
You can create a launch script that configures a server with additional
user data. For example, Depending on the machine image you choose, the command to get software
on your instance varies. Amazon Linux and CentOS use |
keyPairName |
The name for your key pair. |
tags |
The tag keys and optional values to add to the resource during create. Use the |
addOns |
An array of objects representing the add-ons to enable for the new instance. |
ipAddressType |
The IP address type for the instance. The possible values are The default value is |
sourceInstanceName |
The name of the source instance from which the source automatic snapshot was created. Constraints:
|
restoreDate |
The date of the automatic snapshot to use for the new instance. Use the
Constraints:
|
useLatestRestorableAutoSnapshot |
A Boolean value to indicate whether to use the latest available automatic snapshot. Constraints:
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.