PortMapping
import type { PortMapping } from "https://aws-api.deno.dev/v0.4/services/globalaccelerator.ts?docs=full";
Returns the ports and associated IP addresses and ports of Amazon EC2 instances in your virtual private cloud (VPC) subnets. Custom routing is a port mapping protocol in Global Accelerator that statically associates port ranges with VPC subnets, which allows Global Accelerator to route to specific instances and ports within one or more subnets.
interface PortMapping {
AcceleratorPort?: number | null;
DestinationSocketAddress?: SocketAddress | null;
DestinationTrafficState?: CustomRoutingDestinationTrafficState | null;
EndpointGroupArn?: string | null;
EndpointId?: string | null;
Protocols?: CustomRoutingProtocol[] | null;
}§Properties
§
DestinationSocketAddress?: SocketAddress | null
[src]The EC2 instance IP address and port number in the virtual private cloud (VPC) subnet.
§
DestinationTrafficState?: CustomRoutingDestinationTrafficState | null
[src]Indicates whether or not a port mapping destination can receive traffic. The value is either ALLOW, if traffic is allowed to the destination, or DENY, if traffic is not allowed to the destination.
§
Protocols?: CustomRoutingProtocol[] | null
[src]The protocols supported by the endpoint group.