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(
TagSpecifications = NULL,
DryRun = NULL,
InstanceId,
Name,
Description = NULL,
NoReboot = NULL,
BlockDeviceMappings = NULL
)
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
|
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(_) |
Description |
A description for the new image. |
NoReboot |
Indicates whether or not the instance should be automatically rebooted before creating the image. Specify one of the following values:
Default: |
BlockDeviceMappings |
The block device mappings. When using the CreateImage action:
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.