Class: Aws::GlobalAccelerator::Types::PortOverride
- Inherits:
-
Struct
- Object
- Struct
- Aws::GlobalAccelerator::Types::PortOverride
- Defined in:
- gems/aws-sdk-globalaccelerator/lib/aws-sdk-globalaccelerator/types.rb
Overview
Override specific listener ports used to route traffic to endpoints that are part of an endpoint group. For example, you can create a port override in which the listener receives user traffic on ports 80 and 443, but your accelerator routes that traffic to ports 1080 and 1443, respectively, on the endpoints.
For more information, see Overriding listener ports in the Global Accelerator Developer Guide.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#endpoint_port ⇒ Integer
The endpoint port that you want a listener port to be mapped to.
-
#listener_port ⇒ Integer
The listener port that you want to map to a specific endpoint port.
Instance Attribute Details
#endpoint_port ⇒ Integer
The endpoint port that you want a listener port to be mapped to. This is the port on the endpoint, such as the Application Load Balancer or Amazon EC2 instance.
2661 2662 2663 2664 2665 2666 |
# File 'gems/aws-sdk-globalaccelerator/lib/aws-sdk-globalaccelerator/types.rb', line 2661 class PortOverride < Struct.new( :listener_port, :endpoint_port) SENSITIVE = [] include Aws::Structure end |
#listener_port ⇒ Integer
The listener port that you want to map to a specific endpoint port. This is the port that user traffic arrives to the Global Accelerator on.
2661 2662 2663 2664 2665 2666 |
# File 'gems/aws-sdk-globalaccelerator/lib/aws-sdk-globalaccelerator/types.rb', line 2661 class PortOverride < Struct.new( :listener_port, :endpoint_port) SENSITIVE = [] include Aws::Structure end |