Amazon Network Firewall · JSON Structure

Openapi Subnet Mapping Structure

The ID for a subnet that you want to associate with the firewall. This is used with CreateFirewall and AssociateSubnets. Network Firewall creates an instance of the associated firewall in each subnet that you specify, to filter traffic in the subnet's Availability Zone.

Type: object Properties: 2 Required: 1
FirewallIntrusion DetectionNetwork SecurityVPC

SubnetMapping is a JSON Structure definition published by Amazon Network Firewall, describing 2 properties, of which 1 is required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

SubnetId IPAddressType

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-network-firewall/refs/heads/main/json-structure/openapi-subnet-mapping-structure.json",
  "name": "SubnetMapping",
  "description": "The ID for a subnet that you want to associate with the firewall. This is used with <a>CreateFirewall</a> and <a>AssociateSubnets</a>. Network Firewall creates an instance of the associated firewall in each subnet that you specify, to filter traffic in the subnet's Availability Zone.",
  "type": "object",
  "properties": {
    "SubnetId": {
      "allOf": [
        {
          "$ref": "#/components/schemas/CollectionMember_String"
        },
        {
          "description": "The unique identifier for the subnet. "
        }
      ]
    },
    "IPAddressType": {
      "allOf": [
        {
          "$ref": "#/components/schemas/IPAddressType"
        },
        {
          "description": "The subnet's IP address type. You can't change the IP address type after you create the subnet."
        }
      ]
    }
  },
  "required": [
    "SubnetId"
  ]
}