AWS Security ChangesHomeSearch

AWS AWSCloudFormation: NetworkSecurityManager Policy: add IGW_FIREWALL type and example

Service: AWSCloudFormation · 2026-11-21 · Documentation medium

File: AWSCloudFormation/latest/TemplateReference/aws-resource-networksecuritymanager-policy.md · Type: network

Summary

Documents the new IGW_FIREWALL firewall type for AWS Network Firewall automated internet firewall policies, updates template/rule limits and allowed values, notes that only the highest-priority IGW_FIREWALL policy takes effect, corrects the LastUpdated description, and adds a YAML example with a subnet connectivity override and remediation enabled.

Security assessment

The change extends the policy resource reference to cover the IGW_FIREWALL firewall type and shows enforcement configuration (PolicyMode ENFORCE, RemediationEnabled, subnet connectivity overrides), which is security-relevant network inspection configuration. It is feature documentation, not a response to a specific vulnerability or advisory.

Evidence

+The type of firewall that the policy configures. Specify `WAF` for an AWS WAF policy, `SHIELD_ADVANCED` for an AWS Shield Advanced policy, or `IGW_FIREWALL` for an AWS Network Firewall automated internet firewall policy.

Diff

diff --git a/AWSCloudFormation/latest/TemplateReference/aws-resource-networksecuritymanager-policy.md b/AWSCloudFormation/latest/TemplateReference/aws-resource-networksecuritymanager-policy.md
index 8219766..4ca3a8b 100644
--- a//AWSCloudFormation/latest/TemplateReference/aws-resource-networksecuritymanager-policy.md
+++ b//AWSCloudFormation/latest/TemplateReference/aws-resource-networksecuritymanager-policy.md
@@ -11 +11 @@ This is the new _CloudFormation Template Reference Guide_. Please update your bo
-The `AWS::NetworkSecurityManager::Policy` resource specifies an AWS Network Security Manager policy. A policy combines templates and rules with enforcement settings for a single firewall type, such as AWS WAF or AWS Shield Advanced.
+The `AWS::NetworkSecurityManager::Policy` resource specifies an AWS Network Security Manager policy. A policy combines templates and rules with enforcement settings for a single firewall type: AWS WAF, AWS Shield Advanced, or the AWS Network Firewall automated internet firewall.
@@ -64 +64 @@ The templates and rules to associate with the policy. Each entry in the list mus
-For AWS WAF policies, specify 1 to 100 templates or rules, of which at most 2 can be templates. For AWS Shield Advanced policies, omit this property or specify an empty list.
+For AWS WAF and `IGW_FIREWALL` policies, specify 1 to 100 templates or rules, of which at most 2 can be templates. Every template and rule must use the same firewall type as the policy. For AWS Shield Advanced policies, omit this property or specify an empty list.
@@ -79 +79 @@ _Required_ : No
-The type of firewall that the policy configures. Specify `WAF` for an AWS WAF policy, or `SHIELD_ADVANCED` for an AWS Shield Advanced policy.
+The type of firewall that the policy configures. Specify `WAF` for an AWS WAF policy, `SHIELD_ADVANCED` for an AWS Shield Advanced policy, or `IGW_FIREWALL` for an AWS Network Firewall automated internet firewall policy.
@@ -83,2 +82,0 @@ You can't change the firewall type of a policy after you create it. To use a dif
-_Allowed Values_ : `WAF` | `SHIELD_ADVANCED`
-
@@ -144,0 +143,2 @@ Each priority can be used by only one policy in an AWS account and AWS Region. C
+For `IGW_FIREWALL` policies, only the highest-priority policy that applies to a resource takes effect. Settings from lower-priority policies aren't merged in.
+
@@ -204 +204 @@ _Allowed Values_ : `DRAFT` | `ACTIVE`
-The time when the resource was last updated. For a snapshot, this is the time when the snapshot was created.
+The date and time when the policy was last updated, in ISO 8601 format. For example: `2026-11-19T21:42:56Z`.
@@ -212,0 +213,9 @@ The version of the policy. Network Security Manager increments this value each t
+## 
+
+  * Apply a template with automatic remediation
+
+  * Create an internet firewall policy with a subnet connectivity override
+
+
+
+
@@ -256,0 +266,54 @@ The version of the policy. Network Security Manager increments this value each t
+### Create an internet firewall policy with a subnet connectivity override
+
+#### YAML
+    
+    
+                    AWSTemplateFormatVersion: "2010-09-09"
+                    Description: Creates a Network Firewall automated internet firewall policy that excludes isolated subnets.
+                    Resources:
+                      EnforceModeRule:
+                        Type: AWS::NetworkSecurityManager::Rule
+                        Properties:
+                          RuleName: igw-enforce-mode
+                          FirewallType: IGW_FIREWALL
+                          RuleType: INSPECTION
+                          Configuration: '{"PolicyMode":"ENFORCE"}'
+    
+                      InternetFirewallTemplate:
+                        Type: AWS::NetworkSecurityManager::Template
+                        Properties:
+                          TemplateName: igw-baseline
+                          FirewallType: IGW_FIREWALL
+                          AssociatedRuleList:
+                            - RuleArn: !GetAtt EnforceModeRule.RuleArn
+    
+                      IsolatedSubnetsScope:
+                        Type: AWS::NetworkSecurityManager::Scope
+                        Properties:
+                          ScopeName: isolated-subnets
+                          SpecializedScopeType: IGW_FIREWALL_SUBNET_CONNECTIVITY_OVERRIDE
+                          ScopeConfiguration: '{"ResourceScopes":{"AWS::EC2::Subnet":{"Include":{"Expression":{"Criteria":{"Tags":{"network-zone":"isolated"}}}}}}}'
+    
+                      InternetFirewallPolicy:
+                        Type: AWS::NetworkSecurityManager::Policy
+                        Properties:
+                          PolicyName: igw-baseline-policy
+                          PolicyDescription: Inspects internet traffic and excludes isolated subnets.
+                          FirewallType: IGW_FIREWALL
+                          Priority: 200
+                          AssociatedTemplateAndRuleList:
+                            - TemplateArn: !GetAtt InternetFirewallTemplate.TemplateArn
+                          PolicyConfiguration:
+                            RemediationEnabled: true
+                            ResourcesCleanUp: true
+                            IgwFirewallConfig:
+                              DefaultSubnetConnectivity: flexible
+                              SubnetConnectivityOverrides:
+                                - ConnectivityType: exclude
+                                  Scopes:
+                                    - !GetAtt IsolatedSubnetsScope.ScopeArn
+                    Outputs:
+                      PolicyArn:
+                        Value: !GetAtt InternetFirewallPolicy.PolicyArn
+            
+