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: objectProperties: 2Required: 1
Amazon Web ServicesFirewallIntrusion 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.
{
"$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"
]
}
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.