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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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)


5098
5099
5100
5101
5102
5103
5104
# File 'lib/aws-sdk-ec2/types.rb', line 5098

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.



5098
5099
5100
5101
5102
5103
5104
# File 'lib/aws-sdk-ec2/types.rb', line 5098

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)


5098
5099
5100
5101
5102
5103
5104
# File 'lib/aws-sdk-ec2/types.rb', line 5098

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)


5098
5099
5100
5101
5102
5103
5104
# File 'lib/aws-sdk-ec2/types.rb', line 5098

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