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.
Type: objectProperties: 6
AvailabilityAmazon Web ServicesCDNGlobalLoad BalancingNetworkingPerformance
PortMapping is a JSON Structure definition published by Amazon Global Accelerator, describing 6 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-global-accelerator/refs/heads/main/json-structure/global-accelerator-port-mapping-structure.json",
"name": "PortMapping",
"description": "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. ",
"type": "object",
"properties": {
"AcceleratorPort": {
"allOf": [
{
"$ref": "#/components/schemas/PortNumber"
},
{
"description": "The accelerator port."
}
]
},
"EndpointGroupArn": {
"allOf": [
{
"$ref": "#/components/schemas/GenericString"
},
{
"description": "The Amazon Resource Name (ARN) of the endpoint group."
}
]
},
"EndpointId": {
"allOf": [
{
"$ref": "#/components/schemas/GenericString"
},
{
"description": "The IP address of the VPC subnet (the subnet ID)."
}
]
},
"DestinationSocketAddress": {
"allOf": [
{
"$ref": "#/components/schemas/SocketAddress"
},
{
"description": "The EC2 instance IP address and port number in the virtual private cloud (VPC) subnet."
}
]
},
"Protocols": {
"allOf": [
{
"$ref": "#/components/schemas/CustomRoutingProtocols"
},
{
"description": "The protocols supported by the endpoint group."
}
]
},
"DestinationTrafficState": {
"allOf": [
{
"$ref": "#/components/schemas/CustomRoutingDestinationTrafficState"
},
{
"description": "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."
}
]
}
}
}
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.