/AWS1/CL_EL2=>MODIFYLISTENER()
¶
About ModifyListener¶
Replaces the specified properties of the specified listener. Any properties that you do not specify remain unchanged.
Changing the protocol from HTTPS to HTTP, or from TLS to TCP, removes the security policy and default certificate properties. If you change the protocol from HTTP to HTTPS, or from TCP to TLS, you must add the security policy and default certificate properties.
To add an item to a list, remove an item from a list, or update an item in a list, you must provide the entire list. For example, to add an action, specify a list with the current actions plus the new action.
Method Signature¶
IMPORTING¶
Required arguments:¶
IV_LISTENERARN
TYPE /AWS1/EL2LISTENERARN
/AWS1/EL2LISTENERARN
¶
The Amazon Resource Name (ARN) of the listener.
Optional arguments:¶
IV_PORT
TYPE /AWS1/EL2PORT
/AWS1/EL2PORT
¶
The port for connections from clients to the load balancer. You cannot specify a port for a Gateway Load Balancer.
IV_PROTOCOL
TYPE /AWS1/EL2PROTOCOLENUM
/AWS1/EL2PROTOCOLENUM
¶
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.
IV_SSLPOLICY
TYPE /AWS1/EL2SSLPOLICYNAME
/AWS1/EL2SSLPOLICYNAME
¶
[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.
IT_CERTIFICATES
TYPE /AWS1/CL_EL2CERTIFICATE=>TT_CERTIFICATELIST
TT_CERTIFICATELIST
¶
[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 setIsDefault
.
IT_DEFAULTACTIONS
TYPE /AWS1/CL_EL2ACTION=>TT_ACTIONS
TT_ACTIONS
¶
The actions for the default rule.
IT_ALPNPOLICY
TYPE /AWS1/CL_EL2ALPNPOLICYNAME_W=>TT_ALPNPOLICYNAME
TT_ALPNPOLICYNAME
¶
[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.
IO_MUTUALAUTHENTICATION
TYPE REF TO /AWS1/CL_EL2MUTUALAUTHNATTRS
/AWS1/CL_EL2MUTUALAUTHNATTRS
¶
The mutual authentication configuration information.