globalaccelerator_list_custom_routing_port_mappings: Provides a complete mapping from the public accelerator IP...

Description Usage Arguments Value Request syntax

View source: R/globalaccelerator_operations.R

Description

Provides a complete mapping from the public accelerator IP address and port to destination EC2 instance IP addresses and ports in the virtual public cloud (VPC) subnet endpoint for a custom routing accelerator. For each subnet endpoint that you add, Global Accelerator creates a new static port mapping for the accelerator. The port mappings don't change after Global Accelerator generates them, so you can retrieve and cache the full mapping on your servers.

If you remove a subnet from your accelerator, Global Accelerator removes (reclaims) the port mappings. If you add a subnet to your accelerator, Global Accelerator creates new port mappings (the existing ones don't change). If you add or remove EC2 instances in your subnet, the port mappings don't change, because the mappings are created when you add the subnet to Global Accelerator.

The mappings also include a flag for each destination denoting which destination IP addresses and ports are allowed or denied traffic.

Usage

1
2
globalaccelerator_list_custom_routing_port_mappings(AcceleratorArn,
  EndpointGroupArn, MaxResults, NextToken)

Arguments

AcceleratorArn

[required] The Amazon Resource Name (ARN) of the accelerator to list the custom routing port mappings for.

EndpointGroupArn

The Amazon Resource Name (ARN) of the endpoint group to list the custom routing port mappings for.

MaxResults

The number of destination port mappings that you want to return with this call. The default value is 10.

NextToken

The token for the next set of results. You receive this token from a previous call.

Value

A list with the following syntax:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
list(
  PortMappings = list(
    list(
      AcceleratorPort = 123,
      EndpointGroupArn = "string",
      EndpointId = "string",
      DestinationSocketAddress = list(
        IpAddress = "string",
        Port = 123
      ),
      Protocols = list(
        "TCP"|"UDP"
      ),
      DestinationTrafficState = "ALLOW"|"DENY"
    )
  ),
  NextToken = "string"
)

Request syntax

1
2
3
4
5
6
svc$list_custom_routing_port_mappings(
  AcceleratorArn = "string",
  EndpointGroupArn = "string",
  MaxResults = 123,
  NextToken = "string"
)

paws.networking documentation built on March 7, 2021, 5:08 p.m.