List Custom Routing Port Mappings By Destination
globalaccelerator_list_custom_routing_port_mappings_by_destination | R Documentation |
List the port mappings for a specific EC2 instance (destination) in a VPC subnet endpoint¶
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¶
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:
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"|"DUAL_STACK",
DestinationTrafficState = "ALLOW"|"DENY"
)
),
NextToken = "string"
)