Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ModifyListenerInput

Hierarchy

Index

Properties

Optional AlpnPolicy

AlpnPolicy: string[]

[TLS listeners] The name of the Application-Layer Protocol Negotiation (ALPN) policy. You can specify one policy name. The following are the possible values:

  • HTTP1Only

  • HTTP2Only

  • HTTP2Optional

  • HTTP2Preferred

  • None

For more information, see ALPN policies in the Network Load Balancers Guide.

Optional Certificates

Certificates: Certificate[]

[HTTPS and TLS listeners] The default certificate for the listener. You must provide exactly one certificate. Set CertificateArn to the certificate ARN but do not set IsDefault.

Optional DefaultActions

DefaultActions: Action[]

The actions for the default rule.

ListenerArn

ListenerArn: string | undefined

The Amazon Resource Name (ARN) of the listener.

Optional Port

Port: undefined | number

The port for connections from clients to the load balancer. You cannot specify a port for a Gateway Load Balancer.

Optional Protocol

Protocol: ProtocolEnum | string

The protocol for connections from clients to the load balancer. Application Load Balancers support the HTTP and HTTPS protocols. Network Load Balancers support the TCP, TLS, UDP, and TCP_UDP protocols. You can’t change the protocol to UDP or TCP_UDP if dual-stack mode is enabled. You cannot specify a protocol for a Gateway Load Balancer.

Optional SslPolicy

SslPolicy: undefined | string

[HTTPS and TLS listeners] The security policy that defines which protocols and ciphers are supported.

For more information, see Security policies in the Application Load Balancers Guide or Security policies in the Network Load Balancers Guide.