Skip to content

Resource: awsDxHostedConnection

Provides a hosted connection on the specified interconnect or a link aggregation group (LAG) of interconnects. Intended for use by AWS Direct Connect Partners only.

Example Usage

/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.dxHostedConnection.DxHostedConnection(this, "hosted", {
  bandwidth: "100Mbps",
  connectionId: "dxcon-ffabc123",
  name: "tf-dx-hosted-connection",
  ownerAccountId: "123456789012",
  vlan: 1,
});

Argument Reference

The following arguments are supported:

  • name - (Required) The name of the connection.
  • bandwidth - (Required) The bandwidth of the connection. Valid values for dedicated connections: 1Gbps, 10Gbps. Valid values for hosted connections: 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps and 10Gbps. Case sensitive.
  • connectionId - (Required) The ID of the interconnect or LAG.
  • ownerAccountId - (Required) The ID of the AWS account of the customer for the connection.
  • vlan - (Required) The dedicated VLAN provisioned to the hosted connection.

Attributes Reference

In addition to all arguments above, the following attributes are exported:

  • id - The ID of the connection.
  • jumboFrameCapable - Boolean value representing if jumbo frames have been enabled for this connection.
  • hasLogicalRedundancy - Indicates whether the connection supports a secondary BGP peer in the same address family (IPv4/IPv6).
  • awsDevice - The Direct Connect endpoint on which the physical connection terminates.
  • state - The state of the connection. Possible values include: ordering, requested, pending, available, down, deleting, deleted, rejected, unknown. See AllocateHostedConnection for a description of each connection state.
  • lagId - The ID of the LAG.
  • loaIssueTime - The time of the most recent call to DescribeLoa for this connection.
  • location - The location of the connection.
  • partnerName - The name of the AWS Direct Connect service provider associated with the connection.
  • providerName - The name of the service provider associated with the connection.
  • region - The AWS Region where the connection is located.