ElasticLoadBalancingv2 / Client / modify_listener_attributes
modify_listener_attributes#
- ElasticLoadBalancingv2.Client.modify_listener_attributes(**kwargs)#
Modifies the specified attributes of the specified listener.
See also: AWS API Documentation
Request Syntax
response = client.modify_listener_attributes( ListenerArn='string', Attributes=[ { 'Key': 'string', 'Value': 'string' }, ] )
- Parameters:
ListenerArn (string) –
[REQUIRED]
The Amazon Resource Name (ARN) of the listener.
Attributes (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.
- Return type:
dict
- Returns:
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.
Exceptions