Table: aws_apigateway_api_keys

This table shows data for Amazon API Gateway API Keys.

https://docs.aws.amazon.com/apigateway/latest/api/API_ApiKey.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
created_datetimestamp[us, tz=UTC]
customer_idutf8
descriptionutf8
enabledbool
idutf8
last_updated_datetimestamp[us, tz=UTC]
nameutf8
stage_keyslist<item: utf8, nullable>
tagsjson
valueutf8

Example Queries

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

Unused API Gateway API key

SELECT
  'Unused API Gateway API key' AS title,
  account_id,
  arn AS resource_id,
  'fail' AS status
FROM
  aws_apigateway_api_keys
WHERE
  enabled = false;