Skip to content

feat: Add Azure Virtual Network Gateway Connection construct#80

Merged
archit017 merged 1 commit intomainfrom
connect
Dec 26, 2025
Merged

feat: Add Azure Virtual Network Gateway Connection construct#80
archit017 merged 1 commit intomainfrom
connect

Conversation

@archit017
Copy link
Copy Markdown
Contributor

Description

This PR adds support for Azure Virtual Network Gateway Connection, which enables connectivity between Virtual Network Gateways and other networking endpoints.

Features

  • ✅ Support for three connection types:
    • IPsec (Site-to-Site): Connect VPN Gateway to on-premises networks
    • VNet-to-VNet: Connect two Azure virtual networks via their VPN Gateways
    • ExpressRoute: Connect ExpressRoute Gateway to ExpressRoute circuits
  • ✅ Schema-driven validation with discriminated unions for connection types
  • ✅ Type-safe configuration with TypeScript
  • ✅ Custom IPsec policies support
  • ✅ BGP and routing configuration
  • ✅ NAT rules support
  • ✅ Comprehensive unit tests (913 lines)
  • ✅ Integration tests for all connection types
  • ✅ Detailed README with usage examples

Changes

  • Added VirtualNetworkGatewayConnection construct with full feature support
  • Implemented schema validation for all connection types
  • Added comprehensive test coverage
  • Updated main index exports
  • Updated API documentation

Related

This construct complements the existing Virtual Network Gateway construct and enables complete VPN and ExpressRoute connectivity scenarios.

Testing

  • Unit tests: All schema validation and property transformation tests passing
  • Integration tests: Tests for IPsec, VNet-to-VNet, and ExpressRoute connections included
  • Type safety: Full TypeScript type definitions with JSII compliance

- Add VirtualNetworkGatewayConnection construct with support for IPsec, VNet-to-VNet, and ExpressRoute connections
- Implement schema-driven validation with discriminated unions for connection types
- Add comprehensive unit tests and integration tests
- Include detailed README with usage examples for all connection types
- Export construct in main index
- Update API documentation
@archit017 archit017 marked this pull request as ready for review December 26, 2025 21:56
@archit017 archit017 merged commit d59dae0 into main Dec 26, 2025
8 checks passed
@archit017 archit017 deleted the connect branch December 26, 2025 22:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants