Skip to main content

@swamp/aws/directconnect

v2026.04.23.3

AWS DIRECTCONNECT infrastructure models

Repository

https://github.com/systeminit/swamp-extensions

Labels

awsdirectconnectcloudinfrastructure

Contents

Quality score

Verified by Swamp

How well-documented and verifiable this extension is.

100%

Grade A

  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types1/1earned
  • Has description1/1earned
  • At least one platform tag (or universal)1/1earned
  • Two or more platform tags (or universal)1/1earned
  • License declared1/1earned
  • Verified public repository2/2earned

Install

$ swamp extension pull @swamp/aws/directconnect

@swamp/aws/directconnect/connectionv2026.04.23.2connection.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
ConnectionNamestringThe name of the connection.
LagId?stringThe ID or ARN of the LAG to associate the connection with.
ProviderName?stringThe name of the service provider associated with the requested connection.
RequestMACSec?booleanIndicates whether you want the connection to support MAC Security (MACsec).
BandwidthstringThe bandwidth of the connection.
Tags?arrayThe tags associated with the connection.
LocationstringThe location of the connection.
createCreate a DirectConnect Connection
getGet a DirectConnect Connection
ArgumentTypeDescription
identifierstringThe primary identifier of the DirectConnect Connection
updateUpdate a DirectConnect Connection
deleteDelete a DirectConnect Connection
ArgumentTypeDescription
identifierstringThe primary identifier of the DirectConnect Connection
syncSync DirectConnect Connection state from AWS

Resources

state(infinite)— DirectConnect Connection resource state
@swamp/aws/directconnect/direct-connect-gatewayv2026.04.23.2direct_connect_gateway.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
Tags?arrayThe tags associated with the Direct Connect gateway.
DirectConnectGatewayNamestringThe name of the Direct Connect gateway.
AmazonSideAsn?stringThe autonomous system number (ASN) for the Amazon side of the connection.
createCreate a DirectConnect DirectConnectGateway
getGet a DirectConnect DirectConnectGateway
ArgumentTypeDescription
identifierstringThe primary identifier of the DirectConnect DirectConnectGateway
updateUpdate a DirectConnect DirectConnectGateway
deleteDelete a DirectConnect DirectConnectGateway
ArgumentTypeDescription
identifierstringThe primary identifier of the DirectConnect DirectConnectGateway
syncSync DirectConnect DirectConnectGateway state from AWS

Resources

state(infinite)— DirectConnect DirectConnectGateway resource state
@swamp/aws/directconnect/direct-connect-gateway-associationv2026.04.23.2direct_connect_gateway_association.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
AcceptDirectConnectGatewayAssociationProposalRoleArn?stringThe Amazon Resource Name (ARN) of the role to accept the Direct Connect Gateway association proposal. Needs directconnect:AcceptDirectConnectGatewayAssociationProposal permissions.
DirectConnectGatewayIdstringThe ID or ARN of the Direct Connect gateway.
AssociatedGatewayIdstringThe ID or ARN of the virtual private gateway or transit gateway.
AllowedPrefixesToDirectConnectGateway?arrayThe Amazon VPC prefixes to advertise to the Direct Connect gateway. This parameter is required when you create an association to a transit gateway.
createCreate a DirectConnect DirectConnectGatewayAssociation
getGet a DirectConnect DirectConnectGatewayAssociation
ArgumentTypeDescription
identifierstringThe primary identifier of the DirectConnect DirectConnectGatewayAssociation
updateUpdate a DirectConnect DirectConnectGatewayAssociation
deleteDelete a DirectConnect DirectConnectGatewayAssociation
ArgumentTypeDescription
identifierstringThe primary identifier of the DirectConnect DirectConnectGatewayAssociation
syncSync DirectConnect DirectConnectGatewayAssociation state from AWS

Resources

state(infinite)— DirectConnect DirectConnectGatewayAssociation resource state
@swamp/aws/directconnect/lagv2026.04.23.2lag.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
ProviderName?stringThe name of the service provider associated with the requested LAG.
RequestMACSec?booleanIndicates whether you want the LAG to support MAC Security (MACsec).
ConnectionsBandwidthstringThe bandwidth of the individual physical dedicated connections bundled by the LAG.
LagNamestringThe name of the LAG.
MinimumLinks?numberThe minimum number of physical dedicated connections that must be operational for the LAG itself to be operational.
Tags?arrayThe tags associated with the LAG.
LocationstringThe location for the LAG.
createCreate a DirectConnect Lag
getGet a DirectConnect Lag
ArgumentTypeDescription
identifierstringThe primary identifier of the DirectConnect Lag
updateUpdate a DirectConnect Lag
deleteDelete a DirectConnect Lag
ArgumentTypeDescription
identifierstringThe primary identifier of the DirectConnect Lag
syncSync DirectConnect Lag state from AWS

Resources

state(infinite)— DirectConnect Lag resource state
@swamp/aws/directconnect/private-virtual-interfacev2026.04.23.2private_virtual_interface.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
BgpPeersarrayThe BGP peers configured on this virtual interface.
ConnectionIdstringThe ID or ARN of the connection or LAG.
AllocatePrivateVirtualInterfaceRoleArn?stringThe Amazon Resource Name (ARN) of the role to allocate the private virtual interface. Needs directconnect:AllocatePrivateVirtualInterface permissions and tag permissions if applicable.
DirectConnectGatewayId?stringThe ID or ARN of the Direct Connect gateway.
EnableSiteLink?booleanIndicates whether to enable or disable SiteLink.
VirtualInterfaceNamestringThe name of the virtual interface assigned by the customer network. The name has a maximum of 100 characters. The following are valid characters: a-z, 0-9 and a hyphen (-).
VlannumberThe ID of the VLAN.
VirtualGatewayId?stringThe ID or ARN of the virtual private gateway.
Tags?arrayThe tags associated with the private virtual interface.
Mtu?numberThe maximum transmission unit (MTU), in bytes. The supported values are 1500 and 9001. The default value is 1500.
createCreate a DirectConnect PrivateVirtualInterface
getGet a DirectConnect PrivateVirtualInterface
ArgumentTypeDescription
identifierstringThe primary identifier of the DirectConnect PrivateVirtualInterface
updateUpdate a DirectConnect PrivateVirtualInterface
deleteDelete a DirectConnect PrivateVirtualInterface
ArgumentTypeDescription
identifierstringThe primary identifier of the DirectConnect PrivateVirtualInterface
syncSync DirectConnect PrivateVirtualInterface state from AWS

Resources

state(infinite)— DirectConnect PrivateVirtualInterface resource state
@swamp/aws/directconnect/public-virtual-interfacev2026.04.23.2public_virtual_interface.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
BgpPeersarrayThe BGP peers configured on this virtual interface.
ConnectionIdstringThe ID or ARN of the connection or LAG.
RouteFilterPrefixes?arrayThe routes to be advertised to the AWS network in this region.
VirtualInterfaceNamestringThe name of the virtual interface assigned by the customer network. The name has a maximum of 100 characters. The following are valid characters: a-z, 0-9 and a hyphen (-).
VlannumberThe ID of the VLAN.
Tags?arrayThe tags associated with the public virtual interface.
AllocatePublicVirtualInterfaceRoleArn?stringThe Amazon Resource Name (ARN) of the role to allocate the public virtual interface. Needs directconnect:AllocatePublicVirtualInterface permissions and tag permissions if applicable.
createCreate a DirectConnect PublicVirtualInterface
getGet a DirectConnect PublicVirtualInterface
ArgumentTypeDescription
identifierstringThe primary identifier of the DirectConnect PublicVirtualInterface
updateUpdate a DirectConnect PublicVirtualInterface
deleteDelete a DirectConnect PublicVirtualInterface
ArgumentTypeDescription
identifierstringThe primary identifier of the DirectConnect PublicVirtualInterface
syncSync DirectConnect PublicVirtualInterface state from AWS

Resources

state(infinite)— DirectConnect PublicVirtualInterface resource state
@swamp/aws/directconnect/transit-virtual-interfacev2026.04.23.2transit_virtual_interface.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
BgpPeersarrayThe BGP peers configured on this virtual interface..
ConnectionIdstringThe ID or ARN of the connection or LAG.
DirectConnectGatewayIdstringThe ID or ARN of the Direct Connect gateway.
EnableSiteLink?booleanIndicates whether to enable or disable SiteLink.
VirtualInterfaceNamestringThe name of the virtual interface assigned by the customer network. The name has a maximum of 100 characters. The following are valid characters: a-z, 0-9 and a hyphen (-).
VlannumberThe ID of the VLAN.
AllocateTransitVirtualInterfaceRoleArn?stringThe Amazon Resource Name (ARN) of the role to allocate the TransitVifAllocation. Needs directconnect:AllocateTransitVirtualInterface permissions and tag permissions if applicable.
Tags?arrayThe tags associated with the private virtual interface.
Mtu?numberThe maximum transmission unit (MTU), in bytes. The supported values are 1500 and 9001. The default value is 1500.
createCreate a DirectConnect TransitVirtualInterface
getGet a DirectConnect TransitVirtualInterface
ArgumentTypeDescription
identifierstringThe primary identifier of the DirectConnect TransitVirtualInterface
updateUpdate a DirectConnect TransitVirtualInterface
deleteDelete a DirectConnect TransitVirtualInterface
ArgumentTypeDescription
identifierstringThe primary identifier of the DirectConnect TransitVirtualInterface
syncSync DirectConnect TransitVirtualInterface state from AWS

Resources

state(infinite)— DirectConnect TransitVirtualInterface resource state