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.
ec2_create_instance_export_task(Description, ExportToS3Task, InstanceId,
TargetEnvironment, TagSpecifications)
A list with the following syntax:
list(
ExportTask = list(
Description = "string",
ExportTaskId = "string",
ExportToS3Task = list(
ContainerFormat = "ova",
DiskImageFormat = "VMDK"|"RAW"|"VHD",
S3Bucket = "string",
S3Key = "string"
),
InstanceExportDetails = list(
InstanceId = "string",
TargetEnvironment = "citrix"|"vmware"|"microsoft"
),
State = "active"|"cancelling"|"cancelled"|"completed",
StatusMessage = "string",
Tags = list(
list(
Key = "string",
Value = "string"
)
)
)
)
A description for the conversion task or the resource being exported. The maximum length is 255 characters.
[required] The format and location for an instance export task.
[required] The ID of the instance.
[required] The target virtualization environment.
The tags to apply to the instance export task during creation.
svc$create_instance_export_task(
Description = "string",
ExportToS3Task = list(
ContainerFormat = "ova",
DiskImageFormat = "VMDK"|"RAW"|"VHD",
S3Bucket = "string",
S3Prefix = "string"
),
InstanceId = "string",
TargetEnvironment = "citrix"|"vmware"|"microsoft",
TagSpecifications = list(
list(
ResourceType = "client-vpn-endpoint"|"customer-gateway"|"dedicated-host"|"dhcp-options"|"egress-only-internet-gateway"|"elastic-ip"|"elastic-gpu"|"export-image-task"|"export-instance-task"|"fleet"|"fpga-image"|"host-reservation"|"image"|"import-image-task"|"import-snapshot-task"|"instance"|"internet-gateway"|"key-pair"|"launch-template"|"local-gateway-route-table-vpc-association"|"natgateway"|"network-acl"|"network-interface"|"network-insights-analysis"|"network-insights-path"|"placement-group"|"reserved-instances"|"route-table"|"security-group"|"snapshot"|"spot-fleet-request"|"spot-instances-request"|"subnet"|"traffic-mirror-filter"|"traffic-mirror-session"|"traffic-mirror-target"|"transit-gateway"|"transit-gateway-attachment"|"transit-gateway-connect-peer"|"transit-gateway-multicast-domain"|"transit-gateway-route-table"|"volume"|"vpc"|"vpc-peering-connection"|"vpn-connection"|"vpn-gateway"|"vpc-flow-log",
Tags = list(
list(
Key = "string",
Value = "string"
)
)
)
)
)