# StatefulRuleGroupOverrideProperty

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

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
};
```

Golang:

```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

- `action`: string — The action that changes the rule group from `DROP` to `ALERT` .

  This only applies to managed rule groups.
