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

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 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)


12736
12737
12738
12739
12740
12741
12742
# File 'lib/aws-sdk-ec2/types.rb', line 12736

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)


12736
12737
12738
12739
12740
12741
12742
# File 'lib/aws-sdk-ec2/types.rb', line 12736

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 ‘[email protected]`.

Returns:

  • (String)


12736
12737
12738
12739
12740
12741
12742
# File 'lib/aws-sdk-ec2/types.rb', line 12736

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)


12736
12737
12738
12739
12740
12741
12742
# File 'lib/aws-sdk-ec2/types.rb', line 12736

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