Class: Aws::GlobalAccelerator::Types::PortOverride

Inherits:
Struct
  • Object
show all
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

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.

Returns:

  • (Integer)


3034
3035
3036
3037
3038
3039
# File 'gems/aws-sdk-globalaccelerator/lib/aws-sdk-globalaccelerator/types.rb', line 3034

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.

Returns:

  • (Integer)


3034
3035
3036
3037
3038
3039
# File 'gems/aws-sdk-globalaccelerator/lib/aws-sdk-globalaccelerator/types.rb', line 3034

class PortOverride < Struct.new(
  :listener_port,
  :endpoint_port)
  SENSITIVE = []
  include Aws::Structure
end