{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-network-firewall/json-schema/amazon-network-firewall-create-proxy-request-schema.json",
  "title": "CreateProxyRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-network-firewall-proxy-api-openapi.yml#/components/schemas/CreateProxyRequest",
  "type": "object",
  "properties": {
    "ProxyName": {
      "type": "string",
      "description": "The descriptive name of the proxy. You can't change the name of a proxy after you create it."
    },
    "NatGatewayId": {
      "type": "string",
      "description": "A unique identifier for the NAT gateway to use with proxy resources."
    },
    "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. You must specify the ARN or the name, and you can specify both."
    },
    "ProxyConfigurationArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of a proxy configuration. You must specify the ARN or the name, and you can specify both."
    },
    "ListenerProperties": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ListenerPropertyRequest"
      },
      "description": "Listener properties for HTTP and HTTPS traffic."
    },
    "TlsInterceptProperties": {
      "$ref": "#/$defs/TlsInterceptPropertiesRequest"
    },
    "Tags": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Tag"
      },
      "description": "The key:value pairs to associate with the resource."
    }
  },
  "required": [
    "ProxyName",
    "NatGatewayId",
    "TlsInterceptProperties"
  ],
  "$defs": {
    "ListenerPropertyRequest": {
      "type": "object",
      "properties": {
        "Port": {
          "type": "integer",
          "description": "Port for processing traffic."
        },
        "Type": {
          "type": "string",
          "enum": [
            "HTTP",
            "HTTPS"
          ],
          "description": "Selection of HTTP or HTTPS traffic."
        }
      },
      "required": [
        "Port",
        "Type"
      ]
    },
    "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"
      ]
    },
    "TlsInterceptPropertiesRequest": {
      "type": "object",
      "properties": {
        "PcaArn": {
          "type": "string",
          "description": "Private Certificate Authority (PCA) used to issue private TLS certificates so that the proxy can present PCA-signed certificates which applications trust through the same root, establishing a secure and consistent trust model for encrypted communication."
        },
        "TlsInterceptMode": {
          "type": "string",
          "enum": [
            "ENABLED",
            "DISABLED"
          ],
          "description": "Specifies whether to enable or disable TLS Intercept Mode."
        }
      }
    }
  }
}