Interface CfnRuleGroup.RuleOptionProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnRuleGroup.RuleOptionProperty.Jsii$Proxy
Enclosing class:
CfnRuleGroup

@Stability(Stable) public static interface CfnRuleGroup.RuleOptionProperty extends software.amazon.jsii.JsiiSerializable
Additional settings for a stateful rule.

Example:

 // 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();
 
  • Method Details

    • getKeyword

      @Stability(Stable) @NotNull String getKeyword()
      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 .

    • getSettings

      @Stability(Stable) @Nullable default List<String> getSettings()
      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 .

    • builder

      @Stability(Stable) static CfnRuleGroup.RuleOptionProperty.Builder builder()
      Returns:
      a CfnRuleGroup.RuleOptionProperty.Builder of CfnRuleGroup.RuleOptionProperty