Class: Aws::EC2::Types::ExportToS3TaskSpecification
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::ExportToS3TaskSpecification
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-ec2/types.rb
Overview
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
-
#container_format ⇒ String
The container format used to combine disk images with metadata (such as OVF).
-
#disk_image_format ⇒ String
The format for the exported image.
-
#s3_bucket ⇒ String
The S3 bucket for the destination image.
-
#s3_prefix ⇒ String
The image is written to a single object in the S3 bucket at the S3 key s3prefix + exportTaskId + ‘.’ + diskImageFormat.
Instance Attribute Details
#container_format ⇒ String
The container format used to combine disk images with metadata (such as OVF). If absent, only the disk image is exported.
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_format ⇒ String
The format for the exported image.
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_bucket ⇒ String
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]`.
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_prefix ⇒ String
The image is written to a single object in the S3 bucket at the S3 key s3prefix + exportTaskId + ‘.’ + diskImageFormat.
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 |