amazonka-ec2-2.0: Amazon Elastic Compute Cloud 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.EC2.Types.ImageDiskContainer

Description

 
Synopsis

Documentation

data ImageDiskContainer Source #

Describes the disk container object for an import image task.

See: newImageDiskContainer smart constructor.

Constructors

ImageDiskContainer' 

Fields

Instances

Instances details
ToQuery ImageDiskContainer Source # 
Instance details

Defined in Amazonka.EC2.Types.ImageDiskContainer

Generic ImageDiskContainer Source # 
Instance details

Defined in Amazonka.EC2.Types.ImageDiskContainer

Associated Types

type Rep ImageDiskContainer :: Type -> Type #

Read ImageDiskContainer Source # 
Instance details

Defined in Amazonka.EC2.Types.ImageDiskContainer

Show ImageDiskContainer Source # 
Instance details

Defined in Amazonka.EC2.Types.ImageDiskContainer

NFData ImageDiskContainer Source # 
Instance details

Defined in Amazonka.EC2.Types.ImageDiskContainer

Methods

rnf :: ImageDiskContainer -> () #

Eq ImageDiskContainer Source # 
Instance details

Defined in Amazonka.EC2.Types.ImageDiskContainer

Hashable ImageDiskContainer Source # 
Instance details

Defined in Amazonka.EC2.Types.ImageDiskContainer

type Rep ImageDiskContainer Source # 
Instance details

Defined in Amazonka.EC2.Types.ImageDiskContainer

type Rep ImageDiskContainer = D1 ('MetaData "ImageDiskContainer" "Amazonka.EC2.Types.ImageDiskContainer" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "ImageDiskContainer'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "deviceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "format") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "snapshotId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "url") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "userBucket") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UserBucket))))))

newImageDiskContainer :: ImageDiskContainer Source #

Create a value of ImageDiskContainer 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:description:ImageDiskContainer', imageDiskContainer_description - The description of the disk image.

$sel:deviceName:ImageDiskContainer', imageDiskContainer_deviceName - The block device mapping for the disk.

$sel:format:ImageDiskContainer', imageDiskContainer_format - The format of the disk image being imported.

Valid values: OVA | VHD | VHDX | VMDK | RAW

$sel:snapshotId:ImageDiskContainer', imageDiskContainer_snapshotId - The ID of the EBS snapshot to be used for importing the snapshot.

$sel:url:ImageDiskContainer', imageDiskContainer_url - The URL to the Amazon S3-based disk image being imported. The URL can either be a https URL (https://..) or an Amazon S3 URL (s3://..)

$sel:userBucket:ImageDiskContainer', imageDiskContainer_userBucket - The S3 bucket for the disk image.

imageDiskContainer_deviceName :: Lens' ImageDiskContainer (Maybe Text) Source #

The block device mapping for the disk.

imageDiskContainer_format :: Lens' ImageDiskContainer (Maybe Text) Source #

The format of the disk image being imported.

Valid values: OVA | VHD | VHDX | VMDK | RAW

imageDiskContainer_snapshotId :: Lens' ImageDiskContainer (Maybe Text) Source #

The ID of the EBS snapshot to be used for importing the snapshot.

imageDiskContainer_url :: Lens' ImageDiskContainer (Maybe Text) Source #

The URL to the Amazon S3-based disk image being imported. The URL can either be a https URL (https://..) or an Amazon S3 URL (s3://..)