View source: R/ec2_operations.R
ec2_create_image | R Documentation |
Creates an Amazon EBS-backed AMI from an Amazon EBS-backed instance that is either running or stopped.
See https://www.paws-r-sdk.com/docs/ec2_create_image/ for full documentation.
ec2_create_image(
BlockDeviceMappings = NULL,
Description = NULL,
DryRun = NULL,
InstanceId,
Name,
NoReboot = NULL,
TagSpecifications = NULL
)
BlockDeviceMappings |
The block device mappings. When using the CreateImage action:
|
Description |
A description for the new image. |
DryRun |
Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have
the required permissions, the error response is |
InstanceId |
[required] The ID of the instance. |
Name |
[required] A name for the new image. Constraints: 3-128 alphanumeric characters, parentheses (()), square brackets ([]), spaces ( ), periods (.), slashes (/), dashes (-), single quotes ('), at-signs (@), or underscores(_) |
NoReboot |
Indicates whether or not the instance should be automatically rebooted before creating the image. Specify one of the following values:
Default: |
TagSpecifications |
The tags to apply to the AMI and snapshots on creation. You can tag the AMI, the snapshots, or both.
If you specify other values for To tag an AMI or snapshot after it has been created, see
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.