{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-network-firewall/json-schema/amazon-network-firewall-create-proxy-configuration-request-schema.json",
  "title": "CreateProxyConfigurationRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-network-firewall-proxy-configuration-api-openapi.yml#/components/schemas/CreateProxyConfigurationRequest",
  "type": "object",
  "properties": {
    "ProxyConfigurationName": {
      "type": "string",
      "description": "The descriptive name of the proxy configuration. You can't change the name of a proxy configuration after you create it."
    },
    "Description": {
      "type": "string",
      "description": "A description of the proxy configuration."
    },
    "RuleGroupNames": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The proxy rule group name(s) to attach to the proxy configuration. You must specify the ARNs or the names, and you can specify both."
    },
    "RuleGroupArns": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The proxy rule group arn(s) to attach to the proxy configuration. You must specify the ARNs or the names, and you can specify both."
    },
    "DefaultRulePhaseActions": {
      "$ref": "#/$defs/ProxyConfigDefaultRulePhaseActionsRequest"
    },
    "Tags": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Tag"
      },
      "description": "The key:value pairs to associate with the resource."
    }
  },
  "required": [
    "ProxyConfigurationName",
    "DefaultRulePhaseActions"
  ],
  "$defs": {
    "ProxyConfigDefaultRulePhaseActionsRequest": {
      "type": "object",
      "properties": {
        "PreDNS": {
          "type": "string",
          "enum": [
            "ALLOW",
            "DENY",
            "ALERT"
          ],
          "description": "Before domain resolution."
        },
        "PreREQUEST": {
          "type": "string",
          "enum": [
            "ALLOW",
            "DENY",
            "ALERT"
          ],
          "description": "After DNS, before request."
        },
        "PostRESPONSE": {
          "type": "string",
          "enum": [
            "ALLOW",
            "DENY",
            "ALERT"
          ],
          "description": "After receiving response."
        }
      }
    },
    "Tag": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "description": "The part of the key:value pair that defines a tag. You can use a tag key to describe a category of information, such as \"customer.\" Tag keys are case-sensitive."
        },
        "Value": {
          "type": "string",
          "description": "The part of the key:value pair that defines a tag. You can use a tag value to describe a specific value within a category, such as \"companyA\" or \"companyB.\" Tag values are case-sensitive."
        }
      },
      "required": [
        "Key",
        "Value"
      ]
    }
  }
}