Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

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

§
AcceleratorPort?: number | null
[src]

The accelerator port.

§
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.

§
EndpointGroupArn?: string | null
[src]

The Amazon Resource Name (ARN) of the endpoint group.

§
EndpointId?: string | null
[src]

The IP address of the VPC subnet (the subnet ID).

§
Protocols?: CustomRoutingProtocol[] | null
[src]

The protocols supported by the endpoint group.