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_portInteger

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)


3008
3009
3010
3011
3012
3013
# File 'gems/aws-sdk-globalaccelerator/lib/aws-sdk-globalaccelerator/types.rb', line 3008

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

#listener_portInteger

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)


3008
3009
3010
3011
3012
3013
# File 'gems/aws-sdk-globalaccelerator/lib/aws-sdk-globalaccelerator/types.rb', line 3008

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