S3ExportConfiguration - EC2 Image Builder
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

S3ExportConfiguration

Properties that configure export from your build instance to a compatible file format for your VM.

Contents

diskImageFormat

Export the updated image to one of the following supported disk image formats:

  • Virtual Hard Disk (VHD) – Compatible with Citrix Xen and Microsoft Hyper-V virtualization products.

  • Stream-optimized ESX Virtual Machine Disk (VMDK) – Compatible with VMware ESX and VMware vSphere versions 4, 5, and 6.

  • Raw – Raw format.

Type: String

Valid Values: VMDK | RAW | VHD

Required: Yes

roleName

The name of the role that grants VM Import/Export permission to export images to your S3 bucket.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 1024.

Required: Yes

s3Bucket

The S3 bucket in which to store the output disk images for your VM.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 1024.

Required: Yes

s3Prefix

The Amazon S3 path for the bucket where the output disk images for your VM are stored.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 1024.

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: