Class CfnRuleGroup.RuleOptionProperty
Additional settings for a stateful rule.
Inheritance
System.Object
CfnRuleGroup.RuleOptionProperty
Implements
Namespace: Amazon.CDK.AWS.NetworkFirewall
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class RuleOptionProperty : Object, CfnRuleGroup.IRuleOptionProperty
Syntax (vb)
Public Class RuleOptionProperty
Inherits Object
Implements CfnRuleGroup.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
Constructors
RuleOptionProperty() |
Properties
Keyword | The Suricata rule option keywords. |
Settings | The Suricata rule option settings. |
Constructors
RuleOptionProperty()
public RuleOptionProperty()
Properties
Keyword
The Suricata rule option keywords.
public string Keyword { get; set; }
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.
public string[] Settings { get; set; }
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 .