interface FlowTimeoutsProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.NetworkFirewall.CfnFirewallPolicy.FlowTimeoutsProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsnetworkfirewall#CfnFirewallPolicy_FlowTimeoutsProperty |
Java | software.amazon.awscdk.services.networkfirewall.CfnFirewallPolicy.FlowTimeoutsProperty |
Python | aws_cdk.aws_networkfirewall.CfnFirewallPolicy.FlowTimeoutsProperty |
TypeScript | aws-cdk-lib » aws_networkfirewall » CfnFirewallPolicy » FlowTimeoutsProperty |
Describes the amount of time that can pass without any traffic sent through the firewall before the firewall determines that the connection is idle and Network Firewall removes the flow entry from its flow table.
Existing connections and flows are not impacted when you update this value. Only new connections after you update this value are impacted.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_networkfirewall as networkfirewall } from 'aws-cdk-lib';
const flowTimeoutsProperty: networkfirewall.CfnFirewallPolicy.FlowTimeoutsProperty = {
tcpIdleTimeoutSeconds: 123,
};
Properties
Name | Type | Description |
---|---|---|
tcp | number | The number of seconds that can pass without any TCP traffic sent through the firewall before the firewall determines that the connection is idle. |
tcpIdleTimeoutSeconds?
Type:
number
(optional)
The number of seconds that can pass without any TCP traffic sent through the firewall before the firewall determines that the connection is idle.
After the idle timeout passes, data packets are dropped, however, the next TCP SYN packet is considered a new flow and is processed by the firewall. Clients or targets can use TCP keepalive packets to reset the idle timeout.
You can define the TcpIdleTimeoutSeconds
value to be between 60 and 6000 seconds. If no value is provided, it defaults to 350 seconds.