2024/09/03 - Elastic Load Balancing - 2 new api methods
Changes This release adds support for configuring TCP idle timeout on NLB and GWLB listeners.
Modifies the specified attributes of the specified listener.
See also: AWS API Documentation
Request Syntax
client.modify_listener_attributes( ListenerArn='string', Attributes=[ { 'Key': 'string', 'Value': 'string' }, ] )
string
[REQUIRED]
The Amazon Resource Name (ARN) of the listener.
list
[REQUIRED]
The listener attributes.
(dict) --
Information about a listener attribute.
Key (string) --
The name of the attribute.
The following attribute is supported by Network Load Balancers, and Gateway Load Balancers.
tcp.idle_timeout.seconds - The tcp idle timeout value, in seconds. The valid range is 60-6000 seconds. The default is 350 seconds.
Value (string) --
The value of the attribute.
dict
Response Syntax
{ 'Attributes': [ { 'Key': 'string', 'Value': 'string' }, ] }
Response Structure
(dict) --
Attributes (list) --
Information about the listener attributes.
(dict) --
Information about a listener attribute.
Key (string) --
The name of the attribute.
The following attribute is supported by Network Load Balancers, and Gateway Load Balancers.
tcp.idle_timeout.seconds - The tcp idle timeout value, in seconds. The valid range is 60-6000 seconds. The default is 350 seconds.
Value (string) --
The value of the attribute.
Describes the attributes for the specified listener.
See also: AWS API Documentation
Request Syntax
client.describe_listener_attributes( ListenerArn='string' )
string
[REQUIRED]
The Amazon Resource Name (ARN) of the listener.
dict
Response Syntax
{ 'Attributes': [ { 'Key': 'string', 'Value': 'string' }, ] }
Response Structure
(dict) --
Attributes (list) --
Information about the listener attributes.
(dict) --
Information about a listener attribute.
Key (string) --
The name of the attribute.
The following attribute is supported by Network Load Balancers, and Gateway Load Balancers.
tcp.idle_timeout.seconds - The tcp idle timeout value, in seconds. The valid range is 60-6000 seconds. The default is 350 seconds.
Value (string) --
The value of the attribute.