RuleOptionProperty Struct
Additional settings for a stateful rule.
| 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 ruleOptionProperty: networkfirewall.CfnRuleGroup.RuleOptionProperty = {
keyword: 'keyword',
// the properties below are optional
settings: ['settings'],
};
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
// 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();
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" }
};
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
The Suricata rule option keywords.
notes
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 .
settingsoptionalstring[]settingsoptionaltyping.List[str]settingsoptionalList<String>Settingsoptionalstring[]Settingsoptional*[]*string #The Suricata rule option settings.
notes
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 .