aws.globalaccelerator.list_custom_routing_port_mappings
Example SQL Queries
SELECT * FROMaws.globalaccelerator.list_custom_routing_port_mappingsWHERE"accelerator_arn" = 'VALUE';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.
Table Definition
| Column Name | Column Data Type |
|---|---|
| accelerator_arn Required Input Column The Amazon Resource Name (ARN) of the accelerator to list the custom routing port mappings for. | VARCHAR |
| endpoint_group_arn Input Column The Amazon Resource Name (ARN) of the endpoint group. | VARCHAR |
| _aws_profile Input Column The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role. | STRUCT( |
Show child fields
| |
| _aws_region Input Column The AWS region to use. | VARCHAR |
| accelerator_port The accelerator port. | BIGINT |
| destination_socket_address The EC2 instance IP address and port number in the virtual private cloud (VPC) subnet. | STRUCT( |
Show child fields
| |
| destination_traffic_state 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. | VARCHAR |
| endpoint_id The IP address of the VPC subnet (the subnet ID). | VARCHAR |
| protocols The protocols supported by the endpoint group. | VARCHAR[] |
Show child fields
| |