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.VolumeAttachment

Description

 
Synopsis

Documentation

data VolumeAttachment Source #

Describes volume attachment details.

See: newVolumeAttachment smart constructor.

Constructors

VolumeAttachment' 

Fields

Instances

Instances details
FromXML VolumeAttachment Source # 
Instance details

Defined in Amazonka.EC2.Types.VolumeAttachment

Generic VolumeAttachment Source # 
Instance details

Defined in Amazonka.EC2.Types.VolumeAttachment

Associated Types

type Rep VolumeAttachment :: Type -> Type #

Read VolumeAttachment Source # 
Instance details

Defined in Amazonka.EC2.Types.VolumeAttachment

Show VolumeAttachment Source # 
Instance details

Defined in Amazonka.EC2.Types.VolumeAttachment

NFData VolumeAttachment Source # 
Instance details

Defined in Amazonka.EC2.Types.VolumeAttachment

Methods

rnf :: VolumeAttachment -> () #

Eq VolumeAttachment Source # 
Instance details

Defined in Amazonka.EC2.Types.VolumeAttachment

Hashable VolumeAttachment Source # 
Instance details

Defined in Amazonka.EC2.Types.VolumeAttachment

type Rep VolumeAttachment Source # 
Instance details

Defined in Amazonka.EC2.Types.VolumeAttachment

type Rep VolumeAttachment = D1 ('MetaData "VolumeAttachment" "Amazonka.EC2.Types.VolumeAttachment" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "VolumeAttachment'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "attachTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: (S1 ('MetaSel ('Just "deleteOnTermination") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "device") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "instanceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe VolumeAttachmentState)) :*: S1 ('MetaSel ('Just "volumeId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newVolumeAttachment :: VolumeAttachment Source #

Create a value of VolumeAttachment 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:attachTime:VolumeAttachment', volumeAttachment_attachTime - The time stamp when the attachment initiated.

$sel:deleteOnTermination:VolumeAttachment', volumeAttachment_deleteOnTermination - Indicates whether the EBS volume is deleted on instance termination.

$sel:device:VolumeAttachment', volumeAttachment_device - The device name.

$sel:instanceId:VolumeAttachment', volumeAttachment_instanceId - The ID of the instance.

$sel:state:VolumeAttachment', volumeAttachment_state - The attachment state of the volume.

$sel:volumeId:VolumeAttachment', volumeAttachment_volumeId - The ID of the volume.

volumeAttachment_attachTime :: Lens' VolumeAttachment (Maybe UTCTime) Source #

The time stamp when the attachment initiated.

volumeAttachment_deleteOnTermination :: Lens' VolumeAttachment (Maybe Bool) Source #

Indicates whether the EBS volume is deleted on instance termination.