network_interface_attachments_list_only
Lists network_interface_attachments
in a region or regions, for all properties use network_interface_attachments
Overview
Name | network_interface_attachments_list_only |
Type | Resource |
Description | Resource Type definition for AWS::EC2::NetworkInterfaceAttachment |
Id | aws.ec2.network_interface_attachments_list_only |
Fields
Name | Datatype | Description |
---|---|---|
attachment_id | string | The ID of the network interface attachment. |
delete_on_termination | boolean | Whether to delete the network interface when the instance terminates. By default, this value is set to true. |
device_index | string | The network interface's position in the attachment order. For example, the first attached network interface has a DeviceIndex of 0. |
instance_id | string | The ID of the instance to which you will attach the ENI. |
network_interface_id | string | The ID of the ENI that you want to attach. |
ena_srd_specification | object | |
region | string | AWS region. |
Methods
Name | Accessible by | Required Params |
---|---|---|
list_resources | SELECT | region |
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