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

Class: Aws::EC2::Types::ExportToS3TaskSpecification

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 ExportToS3TaskSpecification data as a hash:

{
  container_format: "ova", # accepts ova
  disk_image_format: "VMDK", # accepts VMDK, RAW, VHD
  s3_bucket: "String",
  s3_prefix: "String",
}

Describes an instance export task.

Instance Attribute Summary collapse

Instance Attribute Details

#container_formatString

The container format used to combine disk images with metadata (such as OVF). If absent, only the disk image is exported.

Returns:

  • (String)


12943
12944
12945
12946
12947
12948
12949
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 12943

class ExportToS3TaskSpecification < Struct.new(
  :container_format,
  :disk_image_format,
  :s3_bucket,
  :s3_prefix)
  include Aws::Structure
end

#disk_image_formatString

The format for the exported image.

Returns:

  • (String)


12943
12944
12945
12946
12947
12948
12949
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 12943

class ExportToS3TaskSpecification < Struct.new(
  :container_format,
  :disk_image_format,
  :s3_bucket,
  :s3_prefix)
  include Aws::Structure
end

#s3_bucketString

The S3 bucket for the destination image. The destination bucket must exist and grant WRITE and READ_ACP permissions to the AWS account vm-import-export@amazon.com.

Returns:

  • (String)


12943
12944
12945
12946
12947
12948
12949
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 12943

class ExportToS3TaskSpecification < Struct.new(
  :container_format,
  :disk_image_format,
  :s3_bucket,
  :s3_prefix)
  include Aws::Structure
end

#s3_prefixString

The image is written to a single object in the S3 bucket at the S3 key s3prefix + exportTaskId + '.' + diskImageFormat.

Returns:

  • (String)


12943
12944
12945
12946
12947
12948
12949
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 12943

class ExportToS3TaskSpecification < Struct.new(
  :container_format,
  :disk_image_format,
  :s3_bucket,
  :s3_prefix)
  include Aws::Structure
end