Table: aws_lightsail_static_ips
This table shows data for Lightsail Static IPs.
The primary key for this table is arn.
Columns
Name | Type |
---|---|
_cq_id | uuid |
_cq_parent_id | uuid |
account_id | utf8 |
region | utf8 |
arn (PK) | utf8 |
attached_to | utf8 |
created_at | timestamp[us, tz=UTC] |
ip_address | utf8 |
is_attached | bool |
location | json |
name | utf8 |
resource_type | utf8 |
support_code | utf8 |
Example Queries
These SQL queries are sampled from CloudQuery policies and are compatible with PostgreSQL.
Unused Lightsail static IPs
SELECT
'Unused Lightsail static IPs' AS title,
account_id,
arn AS resource_id,
'fail' AS status
FROM
aws_lightsail_static_ips
WHERE
is_attached = false;