You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing PortOverride as input to an Aws::Client method, you can use a vanilla Hash:

{
  listener_port: 1,
  endpoint_port: 1,
}

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 Port overrides in the AWS Global Accelerator Developer Guide.

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)

    The endpoint port that you want a listener port to be mapped to.

#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)

    The listener port that you want to map to a specific endpoint port.