PortMapping
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 AWS 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.
Contents
- AcceleratorPort
-
The accelerator port.
Type: Integer
Valid Range: Minimum value of 1. Maximum value of 65535.
Required: No
- DestinationSocketAddress
-
The EC2 instance IP address and port number in the virtual private cloud (VPC) subnet.
Type: SocketAddress object
Required: No
- DestinationTrafficState
-
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.
Type: String
Valid Values:
ALLOW | DENY
Required: No
- EndpointGroupArn
-
The Amazon Resource Name (ARN) of the endpoint group.
Type: String
Length Constraints: Maximum length of 255.
Required: No
- EndpointId
-
The IP address of the VPC subnet (the subnet ID).
Type: String
Length Constraints: Maximum length of 255.
Required: No
- Protocols
-
The protocols supported by the endpoint group.
Type: Array of strings
Array Members: Minimum number of 1 item. Maximum number of 2 items.
Valid Values:
TCP | UDP
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: