# RuleOptionProperty

Additional settings for a stateful rule.

- 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 ruleOptionProperty: networkfirewall.CfnRuleGroup.RuleOptionProperty = {
  keyword: 'keyword',

  // the properties below are optional
  settings: ['settings'],
};
```

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

rule_option_property = networkfirewall.CfnRuleGroup.RuleOptionProperty(
    keyword="keyword",

    # the properties below are optional
    settings=["settings"]
)
```

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.*;

RuleOptionProperty ruleOptionProperty = RuleOptionProperty.builder()
        .keyword("keyword")

        // the properties below are optional
        .settings(List.of("settings"))
        .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 ruleOptionProperty = new RuleOptionProperty {
    Keyword = "keyword",

    // the properties below are optional
    Settings = new [] { "settings" }
};
```

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"

ruleOptionProperty := &RuleOptionProperty{
	Keyword: jsii.String("keyword"),

	// the properties below are optional
	Settings: []*string{
		jsii.String("settings"),
	},
}
```

## Properties

- `keyword`: string (required) — The Suricata rule option keywords.

  For Network Firewall , the keyword signature ID (sid) is required in the format `sid:112233` . The sid must be unique within the rule group. For information about Suricata rule option keywords, see [Rule options](https://docs.aws.amazon.com/https://suricata.readthedocs.io/en/suricata-6.0.9/rules/intro.html#rule-options) .

- `settings`: string[] — The Suricata rule option settings.

  Settings have zero or more values, and the number of possible settings and required settings depends on the keyword. The format for Settings is `number` . For information about Suricata rule option settings, see [Rule options](https://docs.aws.amazon.com/https://suricata.readthedocs.io/en/suricata-6.0.9/rules/intro.html#rule-options) .
