Class AWS::EC2::ExportTaskCollection
In: lib/aws/ec2/export_task_collection.rb
Parent: Collection

# Getting Export Tasks

Allows you to enumerate export tasks.

    ec2.export_tasks.each do |task|
      # yield ExportTask objects
    end

You can also get an export task by id

    task = ec2.export_tasks['export-task-id']

# Creating Export Tasks

To create an export task you start with the {Instance}:

    task = ec2.instances['i-12345678'].export_to_s3('bucket-name')

See {Instance#export_to_s3} for more options.

Methods

[]   _each_item  

Included Modules

Core::Collection::Simple

Public Instance methods

@param [String] export_task_id @return [ExportTask] Returns reference to the export task with the

  given export task id.

Protected Instance methods

[Validate]