Guided Walkthroughs

Configuration Packages

AI CloudAdvisor (Beta)

By Implementation

Service Control PoliciesConfig RulesAuto Remediation RulesConformance PacksAmazon GuardDutyAmazon InspectorAWS Security HubAWS Network FirewallRoute53 Resolver SecurityAmazon MacieS3 Bucket PoliciesCloudWatch Alarms and Event RulesAWS WAFAWS Secrets ManagerAWS Systems ManagerSecurity Groups & NACLsAWS KMSAWS SSOIAM PoliciesVPC Endpoint PoliciesCloudFormation Guard RulesLoad BalancersRDS Event SubscriptionsAWS Resource Access Manager (RAM)

By Service Protected

Reference Guides


AWS Network Firewall

AWS Network Firewall Custom Configuration Template

Configuration templates to create AWS Network Firewall related settings including Firewall endpoints, Firewall Rule Policies, and Firewall Rule Groups (Stateful and Stateless) used to deploy network protections for VPC resources by enforcing traffic flows, filtering URLs, and inspecting traffic for vulnerabilities using IPS signatures.

The following resources are available for configuration:

  • Firewall – defines the configuration settings for an AWS Network Firewall firewall, which include the firewall policy and the subnets in your VPC to use for the firewall endpoints.
  • Firewall Policy: defines a collection of stateless and stateful network traffic filtering rule groups which can then be associated with a firewall
  • Rule Groups – Reusable set of criteria for inspecting and handling network traffic. There are two types of rule groups:
    • Stateless – Defines standard, 5-tuple criteria for examining a packet on its own, with no additional context.
    • Stateful – Defines criteria for examining a packet in the context of traffic flow and of other traffic that's related to the packet. Stateful rule groups are available in the following categories:
      • 5-tuple – Defines standard criteria for examining a packet within the context of a traffic workflow.
      • Domain list – Defines a list of domain names and specifies the protocol type to inspect.
      • Suricata compatible IPS rules – Defines intrusion prevention system (IPS) rules in the rule group, in Suricata compatible format. (Currently not supported)
Try out CloudAdvisor: Your AI-Powered Assistant for AWS Cloud

0.8 KB
AWSTemplateFormatVersion: "2010-09-09"
Description: ""
    Type: "AWS::NetworkFirewall::Firewall"
      FirewallName: "network-firewall"
      VpcId: ""
        - SubnetId: ""
        Ref: "FirewallPolicy"
      DeleteProtection: false
      FirewallPolicyChangeProtection: false
      SubnetChangeProtection: false
        - Key: "Name"
          Value: "network-firewall"
    Type: "AWS::NetworkFirewall::FirewallPolicy"
      FirewallPolicyName: "firewallpolicy"
          - "aws:forward_to_sfe"
          - "aws:forward_to_sfe"
Parameters: {}
Metadata: {}
Conditions: {}


Customize Template

Firewall Settings

Firewall Policy

Rule Groups

* Required field

Upgrade to Premium for More Features
Sign up

Guided Walkthroughs
Step-by-step configuration wizards for your environment
Dedicated Security Account
AWS Backup Strategy
VPC Connectivity Setup
Automated Patching
All Guides
Configuration Packages
Pre-built packages for common configuration
Common SCPs
CloudFormation Guard Rules
Auto Remediation Rules
IAM Monitoring & Compliance
All Packages
Automated Assessments
  • 350+ security checks
  • Well-architected reviews
  • Detailed compliance reports
  • Remediation templates
  • Email summaries
  • Learn more