Table: aws_lightsail_static_ips

This table shows data for Lightsail Static IPs.

https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_StaticIp.html (opens in a new tab)

The primary key for this table is arn.

Columns

NameType
_cq_iduuid
_cq_parent_iduuid
account_idutf8
regionutf8
arn (PK)utf8
attached_toutf8
created_attimestamp[us, tz=UTC]
ip_addressutf8
is_attachedbool
locationjson
nameutf8
resource_typeutf8
support_codeutf8

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;