Skip to content
v2.278.0

StatefulRuleGroupOverrideProperty Struct ​

The setting that allows the policy owner to change the behavior of the rule group within a policy.

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 statefulRuleGroupOverrideProperty: networkfirewall.CfnFirewallPolicy.StatefulRuleGroupOverrideProperty = {
  action: 'action',
};
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_group_override_property = networkfirewall.CfnFirewallPolicy.StatefulRuleGroupOverrideProperty(
    action="action"
)
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.*;

StatefulRuleGroupOverrideProperty statefulRuleGroupOverrideProperty = StatefulRuleGroupOverrideProperty.builder()
        .action("action")
        .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 statefulRuleGroupOverrideProperty = new StatefulRuleGroupOverrideProperty {
    Action = "action"
};
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"

statefulRuleGroupOverrideProperty := &StatefulRuleGroupOverrideProperty{
	Action: jsii.String("action"),
}

Properties ​

actionoptionalstringactionoptionalstractionoptionalStringActionoptionalstringActionoptional*string #
The action that changes the rule group from `DROP` to `ALERT` .

This only applies to managed rule groups.