Skip to main content

Aws/directconnect

@swamp/aws/directconnectv2026.09.15.1· 1d agoMODELS
01README

AWS DIRECTCONNECT infrastructure models

02Models7
@swamp/aws/directconnect/connectionv2026.08.17.2connection.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
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.
fn create()
Create a DirectConnect Connection
fn get(identifier: string)
Get a DirectConnect Connection
ArgumentTypeDescription
identifierstringThe primary identifier of the DirectConnect Connection
fn update()
Update a DirectConnect Connection
fn delete(identifier: string)
Delete a DirectConnect Connection
ArgumentTypeDescription
identifierstringThe primary identifier of the DirectConnect Connection
fn sync()
Sync DirectConnect Connection state from AWS
fn list(maxPages?: number, resourceModel?: string)
List DirectConnect Connection resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)
resourceModel?stringJSON resource model for parent-scoped listing (e.g. parent identifier)

Resources

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

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
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.
fn create()
Create a DirectConnect DirectConnectGateway
fn get(identifier: string)
Get a DirectConnect DirectConnectGateway
ArgumentTypeDescription
identifierstringThe primary identifier of the DirectConnect DirectConnectGateway
fn update()
Update a DirectConnect DirectConnectGateway
fn delete(identifier: string)
Delete a DirectConnect DirectConnectGateway
ArgumentTypeDescription
identifierstringThe primary identifier of the DirectConnect DirectConnectGateway
fn sync()
Sync DirectConnect DirectConnectGateway state from AWS
fn list(maxPages?: number, resourceModel?: string)
List DirectConnect DirectConnectGateway resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)
resourceModel?stringJSON resource model for parent-scoped listing (e.g. parent identifier)

Resources

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

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
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.
fn create()
Create a DirectConnect DirectConnectGatewayAssociation
fn get(identifier: string)
Get a DirectConnect DirectConnectGatewayAssociation
ArgumentTypeDescription
identifierstringThe primary identifier of the DirectConnect DirectConnectGatewayAssociation
fn update()
Update a DirectConnect DirectConnectGatewayAssociation
fn delete(identifier: string)
Delete a DirectConnect DirectConnectGatewayAssociation
ArgumentTypeDescription
identifierstringThe primary identifier of the DirectConnect DirectConnectGatewayAssociation
fn sync()
Sync DirectConnect DirectConnectGatewayAssociation state from AWS
fn list(maxPages?: number, resourceModel?: string)
List DirectConnect DirectConnectGatewayAssociation resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)
resourceModel?stringJSON resource model for parent-scoped listing (e.g. parent identifier)

Resources

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

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
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.
fn create()
Create a DirectConnect Lag
fn get(identifier: string)
Get a DirectConnect Lag
ArgumentTypeDescription
identifierstringThe primary identifier of the DirectConnect Lag
fn update()
Update a DirectConnect Lag
fn delete(identifier: string)
Delete a DirectConnect Lag
ArgumentTypeDescription
identifierstringThe primary identifier of the DirectConnect Lag
fn sync()
Sync DirectConnect Lag state from AWS
fn list(maxPages?: number, resourceModel?: string)
List DirectConnect Lag resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)
resourceModel?stringJSON resource model for parent-scoped listing (e.g. parent identifier)

Resources

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

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
BgpPeersarrayThe BGP peers configured on this virtual interface.
DirectConnectGatewayId?stringThe ID or ARN of the Direct Connect gateway.
EnableSiteLink?booleanIndicates whether to enable or disable SiteLink.
VlannumberThe ID of the VLAN.
Mtu?numberThe maximum transmission unit (MTU), in bytes. The supported values are 1500 and 9001. The default value is 1500.
RateLimit?stringThe rate limit (bandwidth allocation) for the virtual interface. The value must be one of the supported bandwidth values (e.g., 50Mbps, 1Gbps, 10Gbps) and cannot exceed the bandwidth of the parent connection or LAG.
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.
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 (-).
VirtualGatewayId?stringThe ID or ARN of the virtual private gateway.
Tags?arrayThe tags associated with the private virtual interface.
fn create()
Create a DirectConnect PrivateVirtualInterface
fn get(identifier: string)
Get a DirectConnect PrivateVirtualInterface
ArgumentTypeDescription
identifierstringThe primary identifier of the DirectConnect PrivateVirtualInterface
fn update()
Update a DirectConnect PrivateVirtualInterface
fn delete(identifier: string)
Delete a DirectConnect PrivateVirtualInterface
ArgumentTypeDescription
identifierstringThe primary identifier of the DirectConnect PrivateVirtualInterface
fn sync()
Sync DirectConnect PrivateVirtualInterface state from AWS
fn list(maxPages?: number, resourceModel?: string)
List DirectConnect PrivateVirtualInterface resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)
resourceModel?stringJSON resource model for parent-scoped listing (e.g. parent identifier)

Resources

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

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
RateLimit?stringThe rate limit (bandwidth allocation) for the virtual interface. The value must be one of the supported bandwidth values (e.g., 50Mbps, 1Gbps, 10Gbps) and cannot exceed the bandwidth of the parent connection or LAG.
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.
fn create()
Create a DirectConnect PublicVirtualInterface
fn get(identifier: string)
Get a DirectConnect PublicVirtualInterface
ArgumentTypeDescription
identifierstringThe primary identifier of the DirectConnect PublicVirtualInterface
fn update()
Update a DirectConnect PublicVirtualInterface
fn delete(identifier: string)
Delete a DirectConnect PublicVirtualInterface
ArgumentTypeDescription
identifierstringThe primary identifier of the DirectConnect PublicVirtualInterface
fn sync()
Sync DirectConnect PublicVirtualInterface state from AWS
fn list(maxPages?: number, resourceModel?: string)
List DirectConnect PublicVirtualInterface resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)
resourceModel?stringJSON resource model for parent-scoped listing (e.g. parent identifier)

Resources

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

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
RateLimit?stringThe rate limit (bandwidth allocation) for the virtual interface. The value must be one of the supported bandwidth values (e.g., 50Mbps, 1Gbps, 10Gbps) and cannot exceed the bandwidth of the parent connection or LAG.
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.
fn create()
Create a DirectConnect TransitVirtualInterface
fn get(identifier: string)
Get a DirectConnect TransitVirtualInterface
ArgumentTypeDescription
identifierstringThe primary identifier of the DirectConnect TransitVirtualInterface
fn update()
Update a DirectConnect TransitVirtualInterface
fn delete(identifier: string)
Delete a DirectConnect TransitVirtualInterface
ArgumentTypeDescription
identifierstringThe primary identifier of the DirectConnect TransitVirtualInterface
fn sync()
Sync DirectConnect TransitVirtualInterface state from AWS
fn list(maxPages?: number, resourceModel?: string)
List DirectConnect TransitVirtualInterface resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)
resourceModel?stringJSON resource model for parent-scoped listing (e.g. parent identifier)

Resources

state(infinite)— DirectConnect TransitVirtualInterface resource state
03Previous Versions19
2026.09.14.1
2026.09.13.1
2026.09.12.1
2026.09.11.1
2026.09.10.1
2026.09.09.1
2026.09.08.1
2026.09.07.1
2026.09.06.3
2026.09.06.1
2026.09.05.1
2026.09.04.1
2026.09.03.1
2026.09.02.1
2026.09.01.1
2026.08.31.1
2026.08.30.1
2026.08.29.1
2026.08.28.1
04Stats
A
100 / 100
Downloads
0
Archive size
1.7 MB
Verified by Swamp
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License declared1/1earned
  • Verified public repository2/2earned
05Platforms
06Labels