StatefulRuleOptionsProperty Struct
Additional options governing how Network Firewall handles the rule group.
You can only use these for stateful rule groups.
| Source | |
|---|---|
| Type last changed |
Example
ts
// 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 statefulRuleOptionsProperty: networkfirewall.CfnRuleGroup.StatefulRuleOptionsProperty = {
ruleOrder: 'ruleOrder',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_networkfirewall as networkfirewall
stateful_rule_options_property = networkfirewall.CfnRuleGroup.StatefulRuleOptionsProperty(
rule_order="ruleOrder"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.networkfirewall.*;
StatefulRuleOptionsProperty statefulRuleOptionsProperty = StatefulRuleOptionsProperty.builder()
.ruleOrder("ruleOrder")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.NetworkFirewall;
var statefulRuleOptionsProperty = new StatefulRuleOptionsProperty {
RuleOrder = "ruleOrder"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
statefulRuleOptionsProperty := &StatefulRuleOptionsProperty{
RuleOrder: jsii.String("ruleOrder"),
}
Properties
ruleOrderoptionalstringrule_orderoptionalstrruleOrderoptionalStringRuleOrderoptionalstringRuleOrderoptional*string #Indicates how to manage the order of the rule evaluation for the rule group.
notes
DEFAULT_ACTION_ORDER is the default behavior. 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 AWS Network Firewall Developer Guide .