Table: aws_lightsail_distributions

This table shows data for Lightsail Distributions.

https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_GetDistributions.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
tagsjson
able_to_update_bundlebool
alternative_domain_nameslist<item: utf8, nullable>
bundle_idutf8
cache_behavior_settingsjson
cache_behaviorsjson
certificate_nameutf8
created_attimestamp[us, tz=UTC]
default_cache_behaviorjson
domain_nameutf8
ip_address_typeutf8
is_enabledbool
locationjson
nameutf8
originjson
origin_public_dnsutf8
resource_typeutf8
statusutf8
support_codeutf8
latest_cache_resetjson

Example Queries

These SQL queries are sampled from CloudQuery policies and are compatible with PostgreSQL.

Disabled Lightsail distributions

SELECT
  'Disabled Lightsail distributions' AS title,
  account_id,
  arn AS resource_id,
  'fail' AS status
FROM
  aws_lightsail_distributions
WHERE
  is_enabled = false;