AWS::NetworkFirewall::Firewall

NetworkFirewall Firewall

Resource type definition for AWS::NetworkFirewall::Firewall

Properties

17 configurable properties. 2 required. Click a row to see details.

Filter:
PropertyTypeFlags
FirewallName
string
RequiredCreate-only
FirewallPolicyArn
string
Required
AvailabilityZoneChangeProtection
boolean
AvailabilityZoneMappings
Array<AvailabilityZoneMapping>
DeleteProtection
boolean
Description
string
EnabledAnalysisTypes
Array<string>
FirewallPolicyChangeProtection
boolean
NatGatewayMappings
Array<NatGatewayMapping>
Create-only
NoSourcePreservation
boolean
Create-only
ProxySettings
ProxySettings
SubnetChangeProtection
boolean
SubnetMappings
Array<SubnetMapping>
Tags
Array<Tag>
TransitGatewayId
string
VpcEndpoint
VpcEndpoint
Create-only
VpcId
string
Create-only

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
EndpointIdsArray<string>-
FirewallArnstring-
FirewallIdstring-
NumberOfAssociationsintegerThe number of VPC endpoint associations attached to the firewall.
TransitGatewayAttachmentIdstring-

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::NetworkFirewall::Firewall

Resources:
  MyResource:
    Type: AWS::NetworkFirewall::Firewall
    Properties:
      FirewallName: "my-firewallname"
      FirewallPolicyArn: "arn:aws:service:region:account:resource"
      Tags:
        - Key: Environment
          Value: Production
      Description: !Ref "AWS::StackName"

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

ec2:CreateVpcEndpointec2:DescribeVpcEndpointsec2:DescribeSubnetsec2:DescribeVpcsec2:DescribeNatGatewaysec2:AttachApplianceToNatGatewayec2:CreateNetworkInterfacePermissioniam:CreateServiceLinkedRolenetwork-firewall:CreateFirewallnetwork-firewall:DescribeFirewallPolicynetwork-firewall:DescribeRuleGroupnetwork-firewall:TagResourcenetwork-firewall:AssociateSubnetsnetwork-firewall:AssociateAvailabilityZonesnetwork-firewall:AssociateFirewallPolicynetwork-firewall:DescribeFirewall

read

network-firewall:DescribeFirewallnetwork-firewall:ListTagsForResource

update

network-firewall:AssociateSubnetsnetwork-firewall:DisassociateSubnetsnetwork-firewall:UpdateFirewallDescriptionnetwork-firewall:UpdateFirewallDeleteProtectionnetwork-firewall:UpdateSubnetChangeProtectionnetwork-firewall:UpdateFirewallPolicyChangeProtectionnetwork-firewall:AssociateFirewallPolicynetwork-firewall:TagResourcenetwork-firewall:UntagResourcenetwork-firewall:DescribeFirewallnetwork-firewall:UpdateFirewallAnalysisSettingsnetwork-firewall:DisassociateAvailabilityZonesnetwork-firewall:AssociateAvailabilityZonesnetwork-firewall:UpdateAvailabilityZoneChangeProtectionnetwork-firewall:UpdateProxySettings

delete

ec2:DeleteVpcEndpointsec2:DescribeRouteTablesec2:DetachApplianceFromNatGatewayec2:DeleteNetworkInterfacePermissionlogs:DescribeLogGroupslogs:DescribeResourcePolicieslogs:GetLogDeliverylogs:ListLogDeliveriesnetwork-firewall:DeleteFirewallnetwork-firewall:UntagResourcenetwork-firewall:DescribeFirewall

list

network-firewall:ListFirewalls

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

ServiceNetworkFirewall
Properties22
Required2
TaggingSupported
Primary IDFirewallArn

Supported Operations

CreateReadUpdateDeleteList

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

VpcIdFirewallNameNoSourcePreservationNatGatewayMappingsVpcEndpoint

External Links