AWS Cloud Architecture•Part 2: Networking, VPC & Traffic Routing (6 - 20)
Egress-Only Internet Gateway.
In Simple Words: The IPv6 equivalent of a NAT Gateway: it allows IPv6-enabled instances in private subnets to make outbound internet calls while blocking incoming connections initiated from the outside internet.
hcl
resource "aws_egress_only_internet_gateway" "egress6" {
vpc_id = aws_vpc.main.id
}