Interface StatefulEngineOptions.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<StatefulEngineOptions.Builder,StatefulEngineOptions>,SdkBuilder<StatefulEngineOptions.Builder,StatefulEngineOptions>,SdkPojo
- Enclosing class:
- StatefulEngineOptions
public static interface StatefulEngineOptions.Builder extends SdkPojo, CopyableBuilder<StatefulEngineOptions.Builder,StatefulEngineOptions>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StatefulEngineOptions.BuilderruleOrder(String ruleOrder)Indicates how to manage the order of stateful rule evaluation for the policy.StatefulEngineOptions.BuilderruleOrder(RuleOrder ruleOrder)Indicates how to manage the order of stateful rule evaluation for the policy.StatefulEngineOptions.BuilderstreamExceptionPolicy(String streamExceptionPolicy)Indicates how Network Firewall should handle traffic when a network connection breaks midstream.StatefulEngineOptions.BuilderstreamExceptionPolicy(StreamExceptionPolicy streamExceptionPolicy)Indicates how Network Firewall should handle traffic when a network connection breaks midstream.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
ruleOrder
StatefulEngineOptions.Builder ruleOrder(String ruleOrder)
Indicates how to manage the order of stateful rule evaluation for the policy. Stateful rules are provided to the rule engine as Suricata compatible strings, and Suricata evaluates them based on certain settings. For more information, see Evaluation order for stateful rules in the Network Firewall Developer Guide.
Default:
DEFAULT_ACTION_ORDER- Parameters:
ruleOrder- Indicates how to manage the order of stateful rule evaluation for the policy. Stateful rules are provided to the rule engine as Suricata compatible strings, and Suricata evaluates them based on certain settings. For more information, see Evaluation order for stateful rules in the Network Firewall Developer Guide.Default:
DEFAULT_ACTION_ORDER- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RuleOrder,RuleOrder
-
ruleOrder
StatefulEngineOptions.Builder ruleOrder(RuleOrder ruleOrder)
Indicates how to manage the order of stateful rule evaluation for the policy. Stateful rules are provided to the rule engine as Suricata compatible strings, and Suricata evaluates them based on certain settings. For more information, see Evaluation order for stateful rules in the Network Firewall Developer Guide.
Default:
DEFAULT_ACTION_ORDER- Parameters:
ruleOrder- Indicates how to manage the order of stateful rule evaluation for the policy. Stateful rules are provided to the rule engine as Suricata compatible strings, and Suricata evaluates them based on certain settings. For more information, see Evaluation order for stateful rules in the Network Firewall Developer Guide.Default:
DEFAULT_ACTION_ORDER- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RuleOrder,RuleOrder
-
streamExceptionPolicy
StatefulEngineOptions.Builder streamExceptionPolicy(String streamExceptionPolicy)
Indicates how Network Firewall should handle traffic when a network connection breaks midstream.
-
DROP- Fail closed and drop all subsequent traffic going to the firewall. -
CONTINUE- Continue to apply rules to subsequent traffic without context from traffic before the break. This impacts the behavior of rules that depend on context. For example, with a stateful rule that drops HTTP traffic, Network Firewall won't match subsequent traffic because the it won't have the context from session initialization, which defines the application layer protocol as HTTP. However, a TCP-layer rule using aflow:statelessrule would still match, and so would theaws:drop_strictdefault action. -
REJECT- Fail closed and drop all subsequent traffic going to the firewall. With this option, Network Firewall also sends a TCP reject packet back to the client so the client can immediately establish a new session. With the new session, Network Firewall will have context and will apply rules appropriately.For applications that are reliant on long-lived TCP connections that trigger Gateway Load Balancer idle timeouts, this is the recommended setting.
-
FMS_IGNORE- Firewall Manager doesn't monitor or modify the Network Firewall stream exception policy settings.
For more information, see Stream exception policy in your firewall policy in the Network Firewall Developer Guide.
Default:
FMS_IGNORE- Parameters:
streamExceptionPolicy- Indicates how Network Firewall should handle traffic when a network connection breaks midstream.-
DROP- Fail closed and drop all subsequent traffic going to the firewall. -
CONTINUE- Continue to apply rules to subsequent traffic without context from traffic before the break. This impacts the behavior of rules that depend on context. For example, with a stateful rule that drops HTTP traffic, Network Firewall won't match subsequent traffic because the it won't have the context from session initialization, which defines the application layer protocol as HTTP. However, a TCP-layer rule using aflow:statelessrule would still match, and so would theaws:drop_strictdefault action. -
REJECT- Fail closed and drop all subsequent traffic going to the firewall. With this option, Network Firewall also sends a TCP reject packet back to the client so the client can immediately establish a new session. With the new session, Network Firewall will have context and will apply rules appropriately.For applications that are reliant on long-lived TCP connections that trigger Gateway Load Balancer idle timeouts, this is the recommended setting.
-
FMS_IGNORE- Firewall Manager doesn't monitor or modify the Network Firewall stream exception policy settings.
For more information, see Stream exception policy in your firewall policy in the Network Firewall Developer Guide.
Default:
FMS_IGNORE-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
StreamExceptionPolicy,StreamExceptionPolicy
-
-
streamExceptionPolicy
StatefulEngineOptions.Builder streamExceptionPolicy(StreamExceptionPolicy streamExceptionPolicy)
Indicates how Network Firewall should handle traffic when a network connection breaks midstream.
-
DROP- Fail closed and drop all subsequent traffic going to the firewall. -
CONTINUE- Continue to apply rules to subsequent traffic without context from traffic before the break. This impacts the behavior of rules that depend on context. For example, with a stateful rule that drops HTTP traffic, Network Firewall won't match subsequent traffic because the it won't have the context from session initialization, which defines the application layer protocol as HTTP. However, a TCP-layer rule using aflow:statelessrule would still match, and so would theaws:drop_strictdefault action. -
REJECT- Fail closed and drop all subsequent traffic going to the firewall. With this option, Network Firewall also sends a TCP reject packet back to the client so the client can immediately establish a new session. With the new session, Network Firewall will have context and will apply rules appropriately.For applications that are reliant on long-lived TCP connections that trigger Gateway Load Balancer idle timeouts, this is the recommended setting.
-
FMS_IGNORE- Firewall Manager doesn't monitor or modify the Network Firewall stream exception policy settings.
For more information, see Stream exception policy in your firewall policy in the Network Firewall Developer Guide.
Default:
FMS_IGNORE- Parameters:
streamExceptionPolicy- Indicates how Network Firewall should handle traffic when a network connection breaks midstream.-
DROP- Fail closed and drop all subsequent traffic going to the firewall. -
CONTINUE- Continue to apply rules to subsequent traffic without context from traffic before the break. This impacts the behavior of rules that depend on context. For example, with a stateful rule that drops HTTP traffic, Network Firewall won't match subsequent traffic because the it won't have the context from session initialization, which defines the application layer protocol as HTTP. However, a TCP-layer rule using aflow:statelessrule would still match, and so would theaws:drop_strictdefault action. -
REJECT- Fail closed and drop all subsequent traffic going to the firewall. With this option, Network Firewall also sends a TCP reject packet back to the client so the client can immediately establish a new session. With the new session, Network Firewall will have context and will apply rules appropriately.For applications that are reliant on long-lived TCP connections that trigger Gateway Load Balancer idle timeouts, this is the recommended setting.
-
FMS_IGNORE- Firewall Manager doesn't monitor or modify the Network Firewall stream exception policy settings.
For more information, see Stream exception policy in your firewall policy in the Network Firewall Developer Guide.
Default:
FMS_IGNORE-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
StreamExceptionPolicy,StreamExceptionPolicy
-
-
-