You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::EC2::Types::CreateInstanceExportTaskRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb

Overview

Note:

When making an API call, you may pass CreateInstanceExportTaskRequest data as a hash:

{
  description: "String",
  export_to_s3_task: {
    container_format: "ova", # accepts ova
    disk_image_format: "VMDK", # accepts VMDK, RAW, VHD
    s3_bucket: "String",
    s3_prefix: "String",
  },
  instance_id: "String", # required
  target_environment: "citrix", # accepts citrix, vmware, microsoft
}

Contains the parameters for CreateInstanceExportTask.

Instance Attribute Summary collapse

Instance Attribute Details

#descriptionString

A description for the conversion task or the resource being exported. The maximum length is 255 bytes.

Returns:

  • (String)


2903
2904
2905
2906
2907
2908
2909
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 2903

class CreateInstanceExportTaskRequest < Struct.new(
  :description,
  :export_to_s3_task,
  :instance_id,
  :target_environment)
  include Aws::Structure
end

#export_to_s3_taskTypes::ExportToS3TaskSpecification

The format and location for an instance export task.



2903
2904
2905
2906
2907
2908
2909
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 2903

class CreateInstanceExportTaskRequest < Struct.new(
  :description,
  :export_to_s3_task,
  :instance_id,
  :target_environment)
  include Aws::Structure
end

#instance_idString

The ID of the instance.

Returns:

  • (String)


2903
2904
2905
2906
2907
2908
2909
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 2903

class CreateInstanceExportTaskRequest < Struct.new(
  :description,
  :export_to_s3_task,
  :instance_id,
  :target_environment)
  include Aws::Structure
end

#target_environmentString

The target virtualization environment.

Returns:

  • (String)


2903
2904
2905
2906
2907
2908
2909
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 2903

class CreateInstanceExportTaskRequest < Struct.new(
  :description,
  :export_to_s3_task,
  :instance_id,
  :target_environment)
  include Aws::Structure
end