| Copyright | (c) 2013-2021 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
Amazonka.SecurityHub.Types.AwsEc2VolumeAttachment
Description
Synopsis
- data AwsEc2VolumeAttachment = AwsEc2VolumeAttachment' {}
- newAwsEc2VolumeAttachment :: AwsEc2VolumeAttachment
- awsEc2VolumeAttachment_instanceId :: Lens' AwsEc2VolumeAttachment (Maybe Text)
- awsEc2VolumeAttachment_status :: Lens' AwsEc2VolumeAttachment (Maybe Text)
- awsEc2VolumeAttachment_deleteOnTermination :: Lens' AwsEc2VolumeAttachment (Maybe Bool)
- awsEc2VolumeAttachment_attachTime :: Lens' AwsEc2VolumeAttachment (Maybe Text)
Documentation
data AwsEc2VolumeAttachment Source #
An attachment to an Amazon EC2 volume.
See: newAwsEc2VolumeAttachment smart constructor.
Constructors
| AwsEc2VolumeAttachment' | |
Fields
| |
Instances
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_instanceId :: Lens' AwsEc2VolumeAttachment (Maybe Text) Source #
The identifier of the EC2 instance.
awsEc2VolumeAttachment_status :: Lens' AwsEc2VolumeAttachment (Maybe Text) Source #
The attachment state of the volume.
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.