{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-network-firewall/json-schema/amazon-network-firewall-describe-rule-group-request-schema.json",
  "title": "DescribeRuleGroupRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-network-firewall-aws-network-firewall-api-openapi.yml#/components/schemas/DescribeRuleGroupRequest",
  "type": "object",
  "properties": {
    "RuleGroupName": {
      "type": "string",
      "description": "The descriptive name of the rule group. You can't change the name of a rule group after you create it. You must specify the ARN or the name, and you can specify both."
    },
    "RuleGroupArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the rule group. You must specify the ARN or the name, and you can specify both."
    },
    "Type": {
      "type": "string",
      "enum": [
        "STATELESS",
        "STATEFUL",
        "STATEFUL_DOMAIN",
        "FIREWALL",
        "IPS"
      ],
      "description": "Indicates the type of the rule group. Valid values are: STATELESS - Stateless rules, for use in a Classic Network Firewall policy. STATEFUL - Stateful rules, for use in a Classic Network Firewall policy. FIREWALL - Firewall engine rules, for use in a Next Generation policy. IPS - IPS engine rules, for use in a Next Generation policy. This setting is required for requests that do not include the RuleGroupARN."
    },
    "AnalyzeRuleGroup": {
      "type": "boolean",
      "description": "Indicates whether you want Network Firewall to analyze the stateless rules in the rule group for rule behavior such as asymmetric routing. If set to TRUE, Network Firewall runs the analysis."
    },
    "RuleOutputFormat": {
      "type": "string",
      "enum": [
        "FIREWALL_RULES",
        "RULES_STRING"
      ],
      "description": "For a firewall engine rule group, the format in which to return the rules. Specify one of the following values: FIREWALL_RULES - Returns the rules as structured FirewallRule objects. RULES_STRING - Returns the rules as a Suricata-compatible firewall-mode rule string. If you don't specify a format, Network Firewall returns the rules in the format you provided them in. This setting applies only to FIREWALL and IPS rule groups; IPS engine rule groups support only RULES_STRING."
    }
  }
}