| 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.AwsEc2NetworkInterfaceAttachment
Description
Synopsis
- data AwsEc2NetworkInterfaceAttachment = AwsEc2NetworkInterfaceAttachment' {}
- newAwsEc2NetworkInterfaceAttachment :: AwsEc2NetworkInterfaceAttachment
- awsEc2NetworkInterfaceAttachment_instanceId :: Lens' AwsEc2NetworkInterfaceAttachment (Maybe Text)
- awsEc2NetworkInterfaceAttachment_status :: Lens' AwsEc2NetworkInterfaceAttachment (Maybe Text)
- awsEc2NetworkInterfaceAttachment_deleteOnTermination :: Lens' AwsEc2NetworkInterfaceAttachment (Maybe Bool)
- awsEc2NetworkInterfaceAttachment_attachmentId :: Lens' AwsEc2NetworkInterfaceAttachment (Maybe Text)
- awsEc2NetworkInterfaceAttachment_instanceOwnerId :: Lens' AwsEc2NetworkInterfaceAttachment (Maybe Text)
- awsEc2NetworkInterfaceAttachment_attachTime :: Lens' AwsEc2NetworkInterfaceAttachment (Maybe Text)
- awsEc2NetworkInterfaceAttachment_deviceIndex :: Lens' AwsEc2NetworkInterfaceAttachment (Maybe Int)
Documentation
data AwsEc2NetworkInterfaceAttachment Source #
Information about the network interface attachment.
See: newAwsEc2NetworkInterfaceAttachment smart constructor.
Constructors
| AwsEc2NetworkInterfaceAttachment' | |
Fields
| |
Instances
newAwsEc2NetworkInterfaceAttachment :: AwsEc2NetworkInterfaceAttachment Source #
Create a value of AwsEc2NetworkInterfaceAttachment 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:AwsEc2NetworkInterfaceAttachment', awsEc2NetworkInterfaceAttachment_instanceId - The ID of the instance.
$sel:status:AwsEc2NetworkInterfaceAttachment', awsEc2NetworkInterfaceAttachment_status - The attachment state.
Valid values: attaching | attached | detaching | detached
$sel:deleteOnTermination:AwsEc2NetworkInterfaceAttachment', awsEc2NetworkInterfaceAttachment_deleteOnTermination - Indicates whether the network interface is deleted when the instance is
terminated.
$sel:attachmentId:AwsEc2NetworkInterfaceAttachment', awsEc2NetworkInterfaceAttachment_attachmentId - The identifier of the network interface attachment
$sel:instanceOwnerId:AwsEc2NetworkInterfaceAttachment', awsEc2NetworkInterfaceAttachment_instanceOwnerId - The Amazon Web Services account ID of the owner of the instance.
$sel:attachTime:AwsEc2NetworkInterfaceAttachment', awsEc2NetworkInterfaceAttachment_attachTime - Indicates when the attachment initiated.
Uses the date-time format specified in
RFC 3339 section 5.6, Internet Date/Time Format.
The value cannot contain spaces. For example,
2020-03-22T13:22:13.933Z.
$sel:deviceIndex:AwsEc2NetworkInterfaceAttachment', awsEc2NetworkInterfaceAttachment_deviceIndex - The device index of the network interface attachment on the instance.
awsEc2NetworkInterfaceAttachment_instanceId :: Lens' AwsEc2NetworkInterfaceAttachment (Maybe Text) Source #
The ID of the instance.
awsEc2NetworkInterfaceAttachment_status :: Lens' AwsEc2NetworkInterfaceAttachment (Maybe Text) Source #
The attachment state.
Valid values: attaching | attached | detaching | detached
awsEc2NetworkInterfaceAttachment_deleteOnTermination :: Lens' AwsEc2NetworkInterfaceAttachment (Maybe Bool) Source #
Indicates whether the network interface is deleted when the instance is terminated.
awsEc2NetworkInterfaceAttachment_attachmentId :: Lens' AwsEc2NetworkInterfaceAttachment (Maybe Text) Source #
The identifier of the network interface attachment
awsEc2NetworkInterfaceAttachment_instanceOwnerId :: Lens' AwsEc2NetworkInterfaceAttachment (Maybe Text) Source #
The Amazon Web Services account ID of the owner of the instance.
awsEc2NetworkInterfaceAttachment_attachTime :: Lens' AwsEc2NetworkInterfaceAttachment (Maybe Text) Source #
Indicates when the attachment initiated.
Uses the date-time format specified in
RFC 3339 section 5.6, Internet Date/Time Format.
The value cannot contain spaces. For example,
2020-03-22T13:22:13.933Z.
awsEc2NetworkInterfaceAttachment_deviceIndex :: Lens' AwsEc2NetworkInterfaceAttachment (Maybe Int) Source #
The device index of the network interface attachment on the instance.