amazonka-imagebuilder-2.0: Amazon EC2 Image Builder SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.ImageBuilder.Types.S3ExportConfiguration

Description

 
Synopsis

Documentation

data S3ExportConfiguration Source #

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

See: newS3ExportConfiguration smart constructor.

Constructors

S3ExportConfiguration' 

Fields

  • s3Prefix :: Maybe Text

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

  • roleName :: Text

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

  • diskImageFormat :: 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.
  • s3Bucket :: Text

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

Instances

Instances details
FromJSON S3ExportConfiguration Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.S3ExportConfiguration

ToJSON S3ExportConfiguration Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.S3ExportConfiguration

Generic S3ExportConfiguration Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.S3ExportConfiguration

Associated Types

type Rep S3ExportConfiguration :: Type -> Type #

Read S3ExportConfiguration Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.S3ExportConfiguration

Show S3ExportConfiguration Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.S3ExportConfiguration

NFData S3ExportConfiguration Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.S3ExportConfiguration

Methods

rnf :: S3ExportConfiguration -> () #

Eq S3ExportConfiguration Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.S3ExportConfiguration

Hashable S3ExportConfiguration Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.S3ExportConfiguration

type Rep S3ExportConfiguration Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.S3ExportConfiguration

type Rep S3ExportConfiguration = D1 ('MetaData "S3ExportConfiguration" "Amazonka.ImageBuilder.Types.S3ExportConfiguration" "amazonka-imagebuilder-2.0-BBLLjX59RW72O8VbQ3vKvH" 'False) (C1 ('MetaCons "S3ExportConfiguration'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "s3Prefix") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "roleName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "diskImageFormat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DiskImageFormat) :*: S1 ('MetaSel ('Just "s3Bucket") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newS3ExportConfiguration Source #

Create a value of S3ExportConfiguration with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:s3Prefix:S3ExportConfiguration', s3ExportConfiguration_s3Prefix - The Amazon S3 path for the bucket where the output disk images for your VM are stored.

$sel:roleName:S3ExportConfiguration', s3ExportConfiguration_roleName - The name of the role that grants VM Import/Export permission to export images to your S3 bucket.

$sel:diskImageFormat:S3ExportConfiguration', s3ExportConfiguration_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.

$sel:s3Bucket:S3ExportConfiguration', s3ExportConfiguration_s3Bucket - The S3 bucket in which to store the output disk images for your VM.

s3ExportConfiguration_s3Prefix :: Lens' S3ExportConfiguration (Maybe Text) Source #

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

s3ExportConfiguration_roleName :: Lens' S3ExportConfiguration Text Source #

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

s3ExportConfiguration_diskImageFormat :: Lens' S3ExportConfiguration DiskImageFormat Source #

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.

s3ExportConfiguration_s3Bucket :: Lens' S3ExportConfiguration Text Source #

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