Creates a custom routing endpoint group for AWS Global Accelerator with specified port and protocol settings.

Terraform Template

resource "aws_globalaccelerator_custom_routing_endpoint_group" "example" {

  destination_configuration {
    from_port = 80
    protocols = ["TCP"]
    to_port = 8080
  }

  endpoint_configuration {
    endpoint_id = "aws_subnet.example.id"
  }
  listener_arn = "aws_globalaccelerator_custom_routing_listener.example.id"
}