Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Documentation
data PortOverride Source #
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.
See: newPortOverride
smart constructor.
PortOverride' | |
|
Instances
newPortOverride :: PortOverride Source #
Create a value of PortOverride
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:endpointPort:PortOverride'
, portOverride_endpointPort
- 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.
$sel:listenerPort:PortOverride'
, portOverride_listenerPort
- 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.
portOverride_endpointPort :: Lens' PortOverride (Maybe Natural) Source #
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.
portOverride_listenerPort :: Lens' PortOverride (Maybe Natural) Source #
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.