ec2_export_image: Exports an Amazon Machine Image (AMI) to a VM file

View source: R/ec2_operations.R

ec2_export_imageR Documentation

Exports an Amazon Machine Image (AMI) to a VM file

Description

Exports an Amazon Machine Image (AMI) to a VM file. For more information, see Exporting a VM directly from an Amazon Machine Image (AMI) in the VM Import/Export User Guide.

See https://www.paws-r-sdk.com/docs/ec2_export_image/ for full documentation.

Usage

ec2_export_image(
  ClientToken = NULL,
  Description = NULL,
  DiskImageFormat,
  DryRun = NULL,
  ImageId,
  S3ExportLocation,
  RoleName = NULL,
  TagSpecifications = NULL
)

Arguments

ClientToken

Token to enable idempotency for export image requests.

Description

A description of the image being exported. The maximum length is 255 characters.

DiskImageFormat

[required] The disk image format.

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 DryRunOperation. Otherwise, it is UnauthorizedOperation.

ImageId

[required] The ID of the image.

S3ExportLocation

[required] The Amazon S3 bucket for the destination image. The destination bucket must exist.

RoleName

The name of the role that grants VM Import/Export permission to export images to your Amazon S3 bucket. If this parameter is not specified, the default role is named 'vmimport'.

TagSpecifications

The tags to apply to the export image task during creation.


paws.compute documentation built on Sept. 12, 2024, 6:12 a.m.