libZSservicesZSamazonka-globalacceleratorZSamazonka-globalaccelerator
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.GlobalAccelerator.Types.PortOverride

Description

 
Synopsis

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.

Constructors

PortOverride' 

Fields

  • endpointPort :: Maybe Natural

    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.

  • listenerPort :: Maybe Natural

    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.

Instances

Instances details
Eq PortOverride Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.Types.PortOverride

Read PortOverride Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.Types.PortOverride

Show PortOverride Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.Types.PortOverride

Generic PortOverride Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.Types.PortOverride

Associated Types

type Rep PortOverride :: Type -> Type #

NFData PortOverride Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.Types.PortOverride

Methods

rnf :: PortOverride -> () #

Hashable PortOverride Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.Types.PortOverride

ToJSON PortOverride Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.Types.PortOverride

FromJSON PortOverride Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.Types.PortOverride

type Rep PortOverride Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.Types.PortOverride

type Rep PortOverride = D1 ('MetaData "PortOverride" "Amazonka.GlobalAccelerator.Types.PortOverride" "libZSservicesZSamazonka-globalacceleratorZSamazonka-globalaccelerator" 'False) (C1 ('MetaCons "PortOverride'" 'PrefixI 'True) (S1 ('MetaSel ('Just "endpointPort") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "listenerPort") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))

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.