globalaccelerator_list_custom_routing_port_mappings_by_destination: List the port mappings for a specific EC2 instance...

Description Usage Arguments Value Request syntax

Description

List the port mappings for a specific EC2 instance (destination) in a VPC subnet endpoint. The response is the mappings for one destination IP address. This is useful when your subnet endpoint has mappings that span multiple custom routing accelerators in your account, or for scenarios where you only want to list the port mappings for a specific destination instance.

Usage

1
2
globalaccelerator_list_custom_routing_port_mappings_by_destination(
  EndpointId, DestinationAddress, MaxResults, NextToken)

Arguments

EndpointId

[required] The ID for the virtual private cloud (VPC) subnet.

DestinationAddress

[required] The endpoint IP address in a virtual private cloud (VPC) subnet for which you want to receive back port mappings.

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
19
20
21
22
23
list(
  DestinationPortMappings = list(
    list(
      AcceleratorArn = "string",
      AcceleratorSocketAddresses = list(
        list(
          IpAddress = "string",
          Port = 123
        )
      ),
      EndpointGroupArn = "string",
      EndpointId = "string",
      EndpointGroupRegion = "string",
      DestinationSocketAddress = list(
        IpAddress = "string",
        Port = 123
      ),
      IpAddressType = "IPV4",
      DestinationTrafficState = "ALLOW"|"DENY"
    )
  ),
  NextToken = "string"
)

Request syntax

1
2
3
4
5
6
svc$list_custom_routing_port_mappings_by_destination(
  EndpointId = "string",
  DestinationAddress = "string",
  MaxResults = 123,
  NextToken = "string"
)

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