Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CreateInstanceExportTaskCommand

Exports a running or stopped instance to an Amazon S3 bucket.

For information about the supported operating systems, image formats, and known limitations for the types of instances you can export, see Exporting an instance as a VM Using VM Import/Export in the VM Import/Export User Guide.

example

Use a bare-bones client and the command you need to make an API call.

import { EC2Client, CreateInstanceExportTaskCommand } from "@aws-sdk/client-ec2"; // ES Modules import
// const { EC2Client, CreateInstanceExportTaskCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
const client = new EC2Client(config);
const command = new CreateInstanceExportTaskCommand(input);
const response = await client.send(command);
see

CreateInstanceExportTaskCommandInput for command's input shape.

see

CreateInstanceExportTaskCommandOutput for command's response shape.

see

config for EC2Client's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: CreateInstanceExportTaskCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions