{
  "$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-metadata-response-schema.json",
  "title": "DescribeRuleGroupMetadataResponse",
  "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/DescribeRuleGroupMetadataResponse",
  "type": "object",
  "properties": {
    "RuleGroupArn": {
      "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."
    },
    "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."
    },
    "Description": {
      "type": "string",
      "description": "Returns the metadata objects for the specified rule group."
    },
    "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."
    },
    "Capacity": {
      "type": "integer",
      "description": "The maximum operating resources that this rule group can use. Rule group capacity is fixed at creation. When you update a rule group, you are limited to this capacity. When you reference a rule group from a firewall policy, Network Firewall reserves this capacity for the rule group. You can retrieve the capacity that would be required for a rule group before you create the rule group by calling CreateRuleGroup with DryRun set to TRUE."
    },
    "StatefulRuleOptions": {
      "$ref": "#/$defs/StatefulRuleOptions"
    },
    "LastModifiedTime": {
      "type": "string",
      "format": "date-time",
      "description": "A timestamp indicating when the rule group was last modified."
    },
    "VendorName": {
      "type": "string",
      "description": "The name of the Amazon Web Services Marketplace vendor that provides this rule group."
    },
    "ProductId": {
      "type": "string",
      "description": "The unique identifier for the product listing associated with this rule group."
    },
    "ListingName": {
      "type": "string",
      "description": "The display name of the product listing for this rule group."
    }
  },
  "required": [
    "RuleGroupArn",
    "RuleGroupName"
  ],
  "$defs": {
    "StatefulRuleOptions": {
      "type": "object",
      "properties": {
        "RuleOrder": {
          "type": "string",
          "enum": [
            "DEFAULT_ACTION_ORDER",
            "STRICT_ORDER"
          ],
          "description": "Indicates how to manage the order of the rule evaluation for the rule group. DEFAULT_ACTION_ORDER is the default behavior. Stateful rules are provided to the rule engine as Suricata compatible strings, and Suricata evaluates them based on certain settings. For more information, see Evaluation order for stateful rules in the Network Firewall Developer Guide."
        }
      }
    }
  }
}