steampipe plugin install aws

Table: aws_efs_mount_target - Query AWS EFS Mount Targets using SQL

The AWS EFS Mount Target is a component of Amazon Elastic File System (EFS) that provides a network interface for a file system to connect to. It enables you to mount an Amazon EFS file system in your Amazon EC2 instance. This network interface allows the file system to connect to the network of a VPC.

Table Usage Guide

The aws_efs_mount_target table in Steampipe provides you with information about mount targets within AWS Elastic File System (EFS). This table allows you, as a DevOps engineer, to query mount target-specific details, including the file system ID, mount target ID, subnet ID, and security groups. You can utilize this table to gather insights on mount targets, such as their availability, network interface, and life cycle state. The schema outlines the various attributes of the EFS mount target for you, including the IP address, network interface ID, owner ID, and associated tags.

Examples

Basic info

Explore the status and location of your Amazon EFS mount targets. This query is useful for understanding the availability and lifecycle state of your mount targets, which can help in optimizing resource usage and troubleshooting.

select
mount_target_id,
file_system_id,
life_cycle_state,
availability_zone_id,
availability_zone_name
from
aws_efs_mount_target;
select
mount_target_id,
file_system_id,
life_cycle_state,
availability_zone_id,
availability_zone_name
from
aws_efs_mount_target;

Get network details for each mount target

Explore the network configuration of each mount target to understand its association with different network interfaces, subnets, and virtual private clouds. This can help in assessing network-related issues and ensuring optimal configuration for enhanced performance.

select
mount_target_id,
network_interface_id,
subnet_id,
vpc_id
from
aws_efs_mount_target;
select
mount_target_id,
network_interface_id,
subnet_id,
vpc_id
from
aws_efs_mount_target;

Schema for aws_efs_mount_target

NameTypeOperatorsDescription
_ctxjsonbSteampipe context in JSON form.
account_idtext=, !=, ~~, ~~*, !~~, !~~*The AWS Account ID in which the resource is located.
akasjsonbArray of globally unique identifier strings (also known as) for the resource.
availability_zone_idtextThe unique and consistent identifier of the Availability Zone that the mount target resides in.
availability_zone_nametextThe name of the Availability Zone in which the mount target is located.
file_system_idtextThe ID of the file system for which the mount target is intended.
ip_addressinetAddress at which the file system can be mounted by using the mount target.
life_cycle_statetextLifecycle state of the mount target.
mount_target_idtext=The ID of the mount target.
network_interface_idtextThe ID of the network interface that Amazon EFS created when it created the mount target.
owner_idtextAWS account ID that owns the resource.
partitiontextThe AWS partition in which the resource is located (aws, aws-cn, or aws-us-gov).
regiontextThe AWS Region in which the resource is located.
security_groupsjsonbSpecifies the security groups currently in effect for a mount target.
sp_connection_nametext=, !=, ~~, ~~*, !~~, !~~*Steampipe connection name.
sp_ctxjsonbSteampipe context in JSON form.
subnet_idtextThe ID of the mount target's subnet.
titletextTitle of the resource.
vpc_idtextThe virtual private cloud (VPC) ID that the mount target is configured in.

Export

This table is available as a standalone Exporter CLI. Steampipe exporters are stand-alone binaries that allow you to extract data using Steampipe plugins without a database.

You can download the tarball for your platform from the Releases page, but it is simplest to install them with the steampipe_export_installer.sh script:

/bin/sh -c "$(curl -fsSL https://steampipe.io/install/export.sh)" -- aws

You can pass the configuration to the command with the --config argument:

steampipe_export_aws --config '<your_config>' aws_efs_mount_target