Interface CfnRuleGroup.IRuleOptionProperty
Additional settings for a stateful rule.
Namespace: Amazon.CDK.AWS.NetworkFirewall
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IRuleOptionProperty
Syntax (vb)
Public Interface IRuleOptionProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// 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" }
};
Synopsis
Properties
Keyword | The Suricata rule option keywords. |
Settings | The Suricata rule option settings. |
Properties
Keyword
The Suricata rule option keywords.
string Keyword { get; }
Property Value
System.String
Remarks
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 .
Settings
The Suricata rule option settings.
virtual string[] Settings { get; }
Property Value
System.String[]
Remarks
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 .