Skip to content

aws.networkmanager.get_connect_peer

Example SQL Queries

SELECT * FROM
aws.networkmanager.get_connect_peer
WHERE
"connect_peer_id" = 'VALUE';

Description

Returns information about a core network Connect peer.

Table Definition

Column NameColumn Data Type
connect_peer_id Required Input Column

The ID of the Connect peer.

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.

connect_peer

Returns information about a core network Connect peer.

STRUCT(
"core_network_id" VARCHAR,
"connect_attachment_id" VARCHAR,
"connect_peer_id" VARCHAR,
"edge_location" VARCHAR,
"state" VARCHAR,
"created_at" TIMESTAMP_S,
"configuration" STRUCT(
"core_network_address" VARCHAR,
"peer_address" VARCHAR,
"inside_cidr_blocks" VARCHAR[],
"protocol" VARCHAR,
"bgp_configurations" STRUCT(
"core_network_asn" BIGINT,
"peer_asn" BIGINT,
"core_network_address" VARCHAR,
"peer_address" VARCHAR
)[]
),
"tags" STRUCT(
"key" VARCHAR,
"value" VARCHAR
)[],
"subnet_arn" VARCHAR,
"last_modification_errors" STRUCT(
"code" VARCHAR,
"message" VARCHAR,
"resource_arn" VARCHAR,
"request_id" VARCHAR
)[]
)
Show child fields
connect_peer.configuration

The configuration of the Connect peer.

Show child fields
connect_peer.configuration.bgp_configurations[]
Show child fields
connect_peer.configuration.bgp_configurations[].core_network_address

The address of a core network.

connect_peer.configuration.bgp_configurations[].core_network_asn

The ASN of the Coret Network.

connect_peer.configuration.bgp_configurations[].peer_address

The address of a core network Connect peer.

connect_peer.configuration.bgp_configurations[].peer_asn

The ASN of the Connect peer.

connect_peer.configuration.core_network_address

The IP address of a core network.

connect_peer.configuration.inside_cidr_blocks[]
connect_peer.configuration.peer_address

The IP address of the Connect peer.

connect_peer.configuration.protocol

The protocol used for a Connect peer configuration.

connect_peer.connect_attachment_id

The ID of the attachment to connect.

connect_peer.connect_peer_id

The ID of the Connect peer.

connect_peer.core_network_id

The ID of a core network.

connect_peer.created_at

The timestamp when the Connect peer was created.

connect_peer.edge_location

The Connect peer Regions where edges are located.

connect_peer.last_modification_errors[]
Show child fields
connect_peer.last_modification_errors[].code

The error code for the Connect peer request.

connect_peer.last_modification_errors[].message

The message associated with the error code.

connect_peer.last_modification_errors[].request_id

The ID of the Connect peer request.

connect_peer.last_modification_errors[].resource_arn

The ARN of the requested Connect peer resource.

connect_peer.state

The state of the Connect peer.

connect_peer.subnet_arn

The subnet ARN for the Connect peer. This only applies only when the protocol is NO_ENCAP.

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

The tag key.

Constraints: Maximum length of 128 characters.

connect_peer.tags[].value

The tag value.

Constraints: Maximum length of 256 characters.