v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1436240246.3 KB

Creates an Network Firewall Firewall and accompanying FirewallStatus for a VPC.

The firewall defines the configuration settings for an Network Firewall firewall. The settings that you can define at creation include the firewall policy, the subnets in your VPC to use for the firewall endpoints, and any tags that are attached to the firewall Amazon Web Services resource.

After you create a firewall, you can provide additional settings, like the logging configuration.

To update the settings for a firewall, you use the operations that apply to the settings themselves, for example UpdateLoggingConfiguration, AssociateSubnets, and UpdateFirewallDeleteProtection.

To manage a firewall's tags, use the standard Amazon Web Services resource tagging operations, ListTagsForResource, TagResource, and UntagResource.

To retrieve information about firewalls, use ListFirewalls and DescribeFirewall.

post/#X-Amz-Target=NetworkFirewall_20201112.CreateFirewall

Headers

X-Amz-Target'NetworkFirewall_20201112.CreateFirewall' required

Request body

FirewallNamestring required

The descriptive name of the firewall. You can't change the name of a firewall after you create it.

FirewallPolicyArnstring required

The Amazon Resource Name (ARN) of the <a>FirewallPolicy</a> that you want to use for the firewall.

VpcIdstring required
<p>The unique identifier of the VPC where Network Firewall should create the firewall. </p> <p>You can't change this setting after you create the firewall. </p>
DeleteProtectionboolean

A flag indicating whether it is possible to delete the firewall. A setting of <code>TRUE</code> indicates that the firewall is protected against deletion. Use this setting to protect against accidentally deleting a firewall that is in use. When you create a firewall, the operation initializes this flag to <code>TRUE</code>.

SubnetChangeProtectionboolean

A setting indicating whether the firewall is protected against changes to the subnet associations. Use this setting to protect against accidentally modifying the subnet associations for a firewall that is in use. When you create a firewall, the operation initializes this setting to <code>TRUE</code>.

FirewallPolicyChangeProtectionboolean

A setting indicating whether the firewall is protected against a change to the firewall policy association. Use this setting to protect against accidentally modifying the firewall policy for a firewall that is in use. When you create a firewall, the operation initializes this setting to <code>TRUE</code>.

Descriptionstring

A description of the firewall.

Response

Success