libZSservicesZSamazonka-elbZSamazonka-elb
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.ELB.Types.Listener

Description

 
Synopsis

Documentation

data Listener Source #

Information about a listener.

For information about the protocols and the ports supported by Elastic Load Balancing, see Listeners for Your Classic Load Balancer in the Classic Load Balancers Guide.

See: newListener smart constructor.

Constructors

Listener' 

Fields

  • instanceProtocol :: Maybe Text

    The protocol to use for routing traffic to instances: HTTP, HTTPS, TCP, or SSL.

    If the front-end protocol is TCP or SSL, the back-end protocol must be TCP or SSL. If the front-end protocol is HTTP or HTTPS, the back-end protocol must be HTTP or HTTPS.

    If there is another listener with the same InstancePort whose InstanceProtocol is secure, (HTTPS or SSL), the listener's InstanceProtocol must also be secure.

    If there is another listener with the same InstancePort whose InstanceProtocol is HTTP or TCP, the listener's InstanceProtocol must be HTTP or TCP.

  • sSLCertificateId :: Maybe Text

    The Amazon Resource Name (ARN) of the server certificate.

  • protocol :: Text

    The load balancer transport protocol to use for routing: HTTP, HTTPS, TCP, or SSL.

  • loadBalancerPort :: Int

    The port on which the load balancer is listening. On EC2-VPC, you can specify any port from the range 1-65535. On EC2-Classic, you can specify any port from the following list: 25, 80, 443, 465, 587, 1024-65535.

  • instancePort :: Natural

    The port on which the instance is listening.

Instances

Instances details
Eq Listener Source # 
Instance details

Defined in Amazonka.ELB.Types.Listener

Read Listener Source # 
Instance details

Defined in Amazonka.ELB.Types.Listener

Show Listener Source # 
Instance details

Defined in Amazonka.ELB.Types.Listener

Generic Listener Source # 
Instance details

Defined in Amazonka.ELB.Types.Listener

Associated Types

type Rep Listener :: Type -> Type #

Methods

from :: Listener -> Rep Listener x #

to :: Rep Listener x -> Listener #

NFData Listener Source # 
Instance details

Defined in Amazonka.ELB.Types.Listener

Methods

rnf :: Listener -> () #

Hashable Listener Source # 
Instance details

Defined in Amazonka.ELB.Types.Listener

Methods

hashWithSalt :: Int -> Listener -> Int #

hash :: Listener -> Int #

ToQuery Listener Source # 
Instance details

Defined in Amazonka.ELB.Types.Listener

FromXML Listener Source # 
Instance details

Defined in Amazonka.ELB.Types.Listener

type Rep Listener Source # 
Instance details

Defined in Amazonka.ELB.Types.Listener

type Rep Listener = D1 ('MetaData "Listener" "Amazonka.ELB.Types.Listener" "libZSservicesZSamazonka-elbZSamazonka-elb" 'False) (C1 ('MetaCons "Listener'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "instanceProtocol") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "sSLCertificateId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "protocol") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "loadBalancerPort") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "instancePort") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural)))))

newListener Source #

Create a value of Listener 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:instanceProtocol:Listener', listener_instanceProtocol - The protocol to use for routing traffic to instances: HTTP, HTTPS, TCP, or SSL.

If the front-end protocol is TCP or SSL, the back-end protocol must be TCP or SSL. If the front-end protocol is HTTP or HTTPS, the back-end protocol must be HTTP or HTTPS.

If there is another listener with the same InstancePort whose InstanceProtocol is secure, (HTTPS or SSL), the listener's InstanceProtocol must also be secure.

If there is another listener with the same InstancePort whose InstanceProtocol is HTTP or TCP, the listener's InstanceProtocol must be HTTP or TCP.

$sel:sSLCertificateId:Listener', listener_sSLCertificateId - The Amazon Resource Name (ARN) of the server certificate.

$sel:protocol:Listener', listener_protocol - The load balancer transport protocol to use for routing: HTTP, HTTPS, TCP, or SSL.

$sel:loadBalancerPort:Listener', listener_loadBalancerPort - The port on which the load balancer is listening. On EC2-VPC, you can specify any port from the range 1-65535. On EC2-Classic, you can specify any port from the following list: 25, 80, 443, 465, 587, 1024-65535.

$sel:instancePort:Listener', listener_instancePort - The port on which the instance is listening.

listener_instanceProtocol :: Lens' Listener (Maybe Text) Source #

The protocol to use for routing traffic to instances: HTTP, HTTPS, TCP, or SSL.

If the front-end protocol is TCP or SSL, the back-end protocol must be TCP or SSL. If the front-end protocol is HTTP or HTTPS, the back-end protocol must be HTTP or HTTPS.

If there is another listener with the same InstancePort whose InstanceProtocol is secure, (HTTPS or SSL), the listener's InstanceProtocol must also be secure.

If there is another listener with the same InstancePort whose InstanceProtocol is HTTP or TCP, the listener's InstanceProtocol must be HTTP or TCP.

listener_sSLCertificateId :: Lens' Listener (Maybe Text) Source #

The Amazon Resource Name (ARN) of the server certificate.

listener_protocol :: Lens' Listener Text Source #

The load balancer transport protocol to use for routing: HTTP, HTTPS, TCP, or SSL.

listener_loadBalancerPort :: Lens' Listener Int Source #

The port on which the load balancer is listening. On EC2-VPC, you can specify any port from the range 1-65535. On EC2-Classic, you can specify any port from the following list: 25, 80, 443, 465, 587, 1024-65535.

listener_instancePort :: Lens' Listener Natural Source #

The port on which the instance is listening.