-
Notifications
You must be signed in to change notification settings - Fork 4.5k
aws-elasticloadbalancingv2: support tcp idle timeout for Network Load Balancer #31310
Copy link
Copy link
Closed
Closed
Copy link
Labels
@aws-cdk/aws-elasticloadbalancingv2Related to Amazon Elastic Load Balancing V2Related to Amazon Elastic Load Balancing V2effort/mediumMedium work item – several days of effortMedium work item – several days of effortfeature-requestA feature should be added or improved.A feature should be added or improved.needs-cfnThis issue is waiting on changes to CloudFormation before it can be addressed.This issue is waiting on changes to CloudFormation before it can be addressed.p2
Description
Describe the feature
AWS Network Load Balancer now supports configurable TCP idle timeout.
Announcement: https://aws.amazon.com/about-aws/whats-new/2024/09/aws-network-load-balancer-tcp-idle-timeout/
Use Case
To set idle timeout for NLB.
Proposed Solution
It is likely that it cannot be set at present, and we need to wait for CloudFormation support.
It is necessary to set tcp.idle_timeout.seconds in the listener's Attributes.
aws elbv2 modify-listener-attributes \
--listener-arn arn:aws:elasticloadbalancing:us-east-1:000011112222:listener/network/NLBTest/123/123 \
--attributes \
Key=tcp.idle_timeout.seconds,Value=600 However, there is no way to configure it using CloudFormation.
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-listener.html
I also tried adding it to the load balancer's attributes, like with ALB, but I couldn't do it.

Other Information
No response
Acknowledgements
- I may be able to implement this feature request
- This feature might incur a breaking change
CDK version used
all
Environment details (OS name and version, etc.)
all
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
@aws-cdk/aws-elasticloadbalancingv2Related to Amazon Elastic Load Balancing V2Related to Amazon Elastic Load Balancing V2effort/mediumMedium work item – several days of effortMedium work item – several days of effortfeature-requestA feature should be added or improved.A feature should be added or improved.needs-cfnThis issue is waiting on changes to CloudFormation before it can be addressed.This issue is waiting on changes to CloudFormation before it can be addressed.p2