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
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.
{
"$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"
]
}
Discovery needs no key. Ratings and market analysis are Pro.
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. See our Privacy Policy and
Terms.