libZSservicesZSamazonka-securityhubZSamazonka-securityhub
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SecurityHub.Types.AwsEc2VolumeAttachment

Description

 
Synopsis

Documentation

data AwsEc2VolumeAttachment Source #

An attachment to an Amazon EC2 volume.

See: newAwsEc2VolumeAttachment smart constructor.

Constructors

AwsEc2VolumeAttachment' 

Fields

Instances

Instances details
Eq AwsEc2VolumeAttachment Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEc2VolumeAttachment

Read AwsEc2VolumeAttachment Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEc2VolumeAttachment

Show AwsEc2VolumeAttachment Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEc2VolumeAttachment

Generic AwsEc2VolumeAttachment Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEc2VolumeAttachment

Associated Types

type Rep AwsEc2VolumeAttachment :: Type -> Type #

NFData AwsEc2VolumeAttachment Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEc2VolumeAttachment

Methods

rnf :: AwsEc2VolumeAttachment -> () #

Hashable AwsEc2VolumeAttachment Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEc2VolumeAttachment

ToJSON AwsEc2VolumeAttachment Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEc2VolumeAttachment

FromJSON AwsEc2VolumeAttachment Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEc2VolumeAttachment

type Rep AwsEc2VolumeAttachment Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEc2VolumeAttachment

type Rep AwsEc2VolumeAttachment = D1 ('MetaData "AwsEc2VolumeAttachment" "Amazonka.SecurityHub.Types.AwsEc2VolumeAttachment" "libZSservicesZSamazonka-securityhubZSamazonka-securityhub" 'False) (C1 ('MetaCons "AwsEc2VolumeAttachment'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "instanceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "deleteOnTermination") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "attachTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newAwsEc2VolumeAttachment :: AwsEc2VolumeAttachment Source #

Create a value of AwsEc2VolumeAttachment 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:instanceId:AwsEc2VolumeAttachment', awsEc2VolumeAttachment_instanceId - The identifier of the EC2 instance.

$sel:status:AwsEc2VolumeAttachment', awsEc2VolumeAttachment_status - The attachment state of the volume.

$sel:deleteOnTermination:AwsEc2VolumeAttachment', awsEc2VolumeAttachment_deleteOnTermination - Whether the EBS volume is deleted when the EC2 instance is terminated.

$sel:attachTime:AwsEc2VolumeAttachment', awsEc2VolumeAttachment_attachTime - The datetime when the attachment initiated.

awsEc2VolumeAttachment_deleteOnTermination :: Lens' AwsEc2VolumeAttachment (Maybe Bool) Source #

Whether the EBS volume is deleted when the EC2 instance is terminated.

awsEc2VolumeAttachment_attachTime :: Lens' AwsEc2VolumeAttachment (Maybe Text) Source #

The datetime when the attachment initiated.