Skip to content

aws.directconnect.describe_interconnects

Example SQL Queries

SELECT * FROM
aws.directconnect.describe_interconnects;

Description

Lists the interconnects owned by the Amazon Web Services account or only the specified interconnect.

Table Definition

Column NameColumn Data Type
interconnect_id Input Column

The ID of the interconnect.

VARCHAR
_aws_profile Input Column

The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role.

STRUCT(
"type" VARCHAR,
"name" VARCHAR,
"account_id" VARCHAR,
"via_profile_name" VARCHAR,
"assumed_role_arn" VARCHAR,
"organization" STRUCT(
"account_name" VARCHAR,
"id" VARCHAR,
"tags" STRUCT(
"key" VARCHAR,
"value" VARCHAR
)[],
"master_account" STRUCT(
"id" VARCHAR,
"email" VARCHAR
),
"parents" STRUCT(
"type" VARCHAR,
"id" VARCHAR,
"name" VARCHAR,
"tags" STRUCT(
"key" VARCHAR,
"value" VARCHAR
)[]
)[]
)
)
Show child fields
_aws_profile.account_id

The AWS account id

_aws_profile.assumed_role_arn

The ARN of the assumed role

_aws_profile.name

The unique name of the profile.

_aws_profile.organization

Information about this profile's membership in the AWS organization.

Show child fields
_aws_profile.organization.account_name

The name of account speciifed by the organization

_aws_profile.organization.id

The organization id

_aws_profile.organization.master_account
Show child fields
_aws_profile.organization.master_account.email

The organization master account email address

_aws_profile.organization.master_account.id

The organization master account id

_aws_profile.organization.parents[]
Show child fields
_aws_profile.organization.parents[].id

The id of the parent

_aws_profile.organization.parents[].name

The name of the parent

_aws_profile.organization.parents[].tags[]
Show child fields
_aws_profile.organization.parents[].tags[].key
_aws_profile.organization.parents[].tags[].value
_aws_profile.organization.parents[].type

The type of parent can be an organization unit or a root

_aws_profile.organization.tags[]
Show child fields
_aws_profile.organization.tags[].key
_aws_profile.organization.tags[].value
_aws_profile.type

The type of profile, either 'credentials' or 'assumed_role'

_aws_profile.via_profile_name

This IAM role for this profile is assumed by first utilizing another profile with this name to obtain credentials.

_aws_region Input Column

The AWS region to use.

VARCHAR
interconnects

The interconnects.

STRUCT(
"interconnect_id" VARCHAR,
"interconnect_name" VARCHAR,
"interconnect_state" VARCHAR,
"region" VARCHAR,
"location" VARCHAR,
"bandwidth" VARCHAR,
"loa_issue_time" TIMESTAMP_S,
"lag_id" VARCHAR,
"aws_device" VARCHAR,
"jumbo_frame_capable" BOOLEAN,
"aws_device_v2" VARCHAR,
"aws_logical_device_id" VARCHAR,
"has_logical_redundancy" VARCHAR,
"tags" STRUCT(
"key" VARCHAR,
"value" VARCHAR
)[],
"provider_name" VARCHAR
)[]
Show child fields
interconnects[]
Show child fields
interconnects[].aws_device

The Direct Connect endpoint on which the physical connection terminates.

interconnects[].aws_device_v2

The Direct Connect endpoint that terminates the physical connection.

interconnects[].aws_logical_device_id

The Direct Connect endpoint that terminates the logical connection. This device might be different than the device that terminates the physical connection.

interconnects[].bandwidth

The bandwidth of the connection.

interconnects[].has_logical_redundancy

Indicates whether the interconnect supports a secondary BGP in the same address family (IPv4/IPv6).

interconnects[].interconnect_id

The ID of the interconnect.

interconnects[].interconnect_name

The name of the interconnect.

interconnects[].interconnect_state

The state of the interconnect. The following are the possible values:

  • requested: The initial state of an interconnect. The interconnect stays in the requested state until the Letter of Authorization (LOA) is sent to the customer.

  • pending: The interconnect is approved, and is being initialized.

  • available: The network link is up, and the interconnect is ready for use.

  • down: The network link is down.

  • deleting: The interconnect is being deleted.

  • deleted: The interconnect is deleted.

  • unknown: The state of the interconnect is not available.

interconnects[].jumbo_frame_capable

Indicates whether jumbo frames are supported.

interconnects[].lag_id

The ID of the LAG.

interconnects[].loa_issue_time

The time of the most recent call to DescribeLoa for this connection.

interconnects[].location

The location of the connection.

interconnects[].provider_name

The name of the service provider associated with the interconnect.

interconnects[].region

The Amazon Web Services Region where the connection is located.

interconnects[].tags[]
Show child fields
interconnects[].tags[].key

The key.

interconnects[].tags[].value

The value.