Skip to main content

network_interface_attachments_list_only

Lists network_interface_attachments in a region or regions, for all properties use network_interface_attachments

Overview

Namenetwork_interface_attachments_list_only
TypeResource
DescriptionResource Type definition for AWS::EC2::NetworkInterfaceAttachment
Idaws.ec2.network_interface_attachments_list_only

Fields

NameDatatypeDescription
attachment_idstringThe ID of the network interface attachment.
delete_on_terminationbooleanWhether to delete the network interface when the instance terminates. By default, this value is set to true.
device_indexstringThe network interface's position in the attachment order. For example, the first attached network interface has a DeviceIndex of 0.
instance_idstringThe ID of the instance to which you will attach the ENI.
network_interface_idstringThe ID of the ENI that you want to attach.
ena_srd_specificationobject
regionstringAWS region.

Methods

NameAccessible byRequired Params
list_resourcesSELECTregion

SELECT examples

Lists all network_interface_attachments in a region.

SELECT
region,
attachment_id
FROM aws.ec2.network_interface_attachments_list_only
WHERE region = 'us-east-1';

Permissions

For permissions required to operate on the network_interface_attachments_list_only resource, see network_interface_attachments