Table: aws_directconnect_connections

This table shows data for AWS Direct Connect Connections.

https://docs.aws.amazon.com/directconnect/latest/APIReference/API_Connection.html (opens in a new tab)

The composite primary key for this table is (arn, id).

Columns

NameType
_cq_iduuid
_cq_parent_iduuid
account_idutf8
regionutf8
arn (PK)utf8
id (PK)utf8
tagsjson
aws_deviceutf8
aws_device_v2utf8
aws_logical_device_idutf8
bandwidthutf8
connection_idutf8
connection_nameutf8
connection_stateutf8
encryption_modeutf8
has_logical_redundancyutf8
jumbo_frame_capablebool
lag_idutf8
loa_issue_timetimestamp[us, tz=UTC]
locationutf8
mac_sec_capablebool
mac_sec_keysjson
owner_accountutf8
partner_nameutf8
port_encryption_statusutf8
provider_nameutf8
vlanint64

Example Queries

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

Direct Connect connections in "down" state

SELECT
  'Direct Connect connections in "down" state' AS title,
  account_id,
  arn AS resource_id,
  'fail' AS status
FROM
  aws_directconnect_connections
WHERE
  connection_state = 'down';