You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::NetworkFirewall::Types::SubnetMapping

  • Object
show all
Defined in:



When passing SubnetMapping as input to an Aws::Client method, you can use a vanilla Hash:

  subnet_id: "CollectionMember_String", # required

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

Instance Attribute Summary collapse

Instance Attribute Details


The unique identifier for the subnet.


  • (String)

    The unique identifier for the subnet.