We recommend new projects start with resources from the AWS provider.
published on Monday, Nov 2, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Monday, Nov 2, 2026 by Pulumi
Resource type definition for AWS::NetworkFirewall::Firewall
Create Firewall Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Firewall(name: string, args: FirewallArgs, opts?: CustomResourceOptions);@overload
def Firewall(resource_name: str,
args: FirewallArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Firewall(resource_name: str,
opts: Optional[ResourceOptions] = None,
firewall_policy_arn: Optional[str] = None,
nat_gateway_mappings: Optional[Sequence[FirewallNatGatewayMappingArgs]] = None,
proxy_settings: Optional[FirewallProxySettingsArgs] = None,
description: Optional[str] = None,
enabled_analysis_types: Optional[Sequence[FirewallEnabledAnalysisType]] = None,
firewall_name: Optional[str] = None,
availability_zone_mappings: Optional[Sequence[FirewallAvailabilityZoneMappingArgs]] = None,
delete_protection: Optional[bool] = None,
firewall_policy_change_protection: Optional[bool] = None,
no_source_preservation: Optional[bool] = None,
availability_zone_change_protection: Optional[bool] = None,
subnet_change_protection: Optional[bool] = None,
subnet_mappings: Optional[Sequence[FirewallSubnetMappingArgs]] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None,
transit_gateway_id: Optional[str] = None,
vpc_endpoint: Optional[FirewallVpcEndpointArgs] = None,
vpc_id: Optional[str] = None)func NewFirewall(ctx *Context, name string, args FirewallArgs, opts ...ResourceOption) (*Firewall, error)public Firewall(string name, FirewallArgs args, CustomResourceOptions? opts = null)
public Firewall(String name, FirewallArgs args)
public Firewall(String name, FirewallArgs args, CustomResourceOptions options)
type: aws-native:networkfirewall:Firewall
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws-native_networkfirewall_firewall" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args FirewallArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args FirewallArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args FirewallArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FirewallArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args FirewallArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Firewall Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Firewall resource accepts the following input properties:
- Firewall
Policy stringArn The Amazon Resource Name (ARN) of the firewall policy.
The relationship of firewall to firewall policy is many to one. Each firewall requires one firewall policy association, and you can use the same firewall policy for multiple firewalls.
- Availability
Zone boolChange Protection - A setting indicating whether the firewall is protected against changes to its Availability Zone configuration. When set to
TRUE, you must first disable this protection before adding or removing Availability Zones. - Availability
Zone List<Pulumi.Mappings Aws Native. Network Firewall. Inputs. Firewall Availability Zone Mapping> - The Availability Zones where the firewall endpoints are created for a transit gateway-attached firewall. Each mapping specifies an Availability Zone where the firewall processes traffic.
- Delete
Protection bool - A flag indicating whether it is possible to delete the firewall. A setting of
TRUEindicates 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 toTRUE. - Description string
- A description of the firewall.
- Enabled
Analysis List<Pulumi.Types Aws Native. Network Firewall. Firewall Enabled Analysis Type> - The types of analysis to enable for the firewall. Can be TLS_SNI, HTTP_HOST, or both.
- Firewall
Name string - The descriptive name of the firewall. You can't change the name of a firewall after you create it.
- Firewall
Policy boolChange Protection - 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
TRUE. - Nat
Gateway List<Pulumi.Mappings Aws Native. Network Firewall. Inputs. Firewall Nat Gateway Mapping> - The NAT gateways that the firewall proxies egress traffic through when NoSourcePreservation is true.
- No
Source boolPreservation - Indicates whether the firewall operates in proxy mode, where the source IP address of traffic is not preserved. When true, specify NatGatewayMappings and VpcEndpoint instead of the top-level VpcId and SubnetMappings. You can't change this setting after you create the firewall.
- Proxy
Settings Pulumi.Aws Native. Network Firewall. Inputs. Firewall Proxy Settings - Subnet
Change boolProtection - 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
TRUE. - Subnet
Mappings List<Pulumi.Aws Native. Network Firewall. Inputs. Firewall Subnet Mapping> The primary public subnets that Network Firewall is using for the firewall. Network Firewall creates a firewall endpoint in each subnet. Create a subnet mapping for each Availability Zone where you want to use the firewall.
These subnets are all defined for a single, primary VPC, and each must belong to a different Availability Zone. Each of these subnets establishes the availability of the firewall in its Availability Zone.
In addition to these subnets, you can define other endpoints for the firewall in
VpcEndpointAssociationresources. You can define these additional endpoints for any VPC, and for any of the Availability Zones where the firewall resource already has a subnet mapping. VPC endpoint associations give you the ability to protect multiple VPCs using a single firewall, and to define multiple firewall endpoints for a VPC in a single Availability Zone.-
List<Pulumi.
Aws Native. Inputs. Tag> An array of key-value pairs to apply to this resource.
For more information, see Tag .
- Transit
Gateway stringId - The unique identifier of the transit gateway associated with this firewall. This field is only present for transit gateway-attached firewalls.
- Vpc
Endpoint Pulumi.Aws Native. Network Firewall. Inputs. Firewall Vpc Endpoint - Vpc
Id string - The unique identifier of the VPC where the firewall is in use. You can't change the VPC of a firewall after you create the firewall.
- Firewall
Policy stringArn The Amazon Resource Name (ARN) of the firewall policy.
The relationship of firewall to firewall policy is many to one. Each firewall requires one firewall policy association, and you can use the same firewall policy for multiple firewalls.
- Availability
Zone boolChange Protection - A setting indicating whether the firewall is protected against changes to its Availability Zone configuration. When set to
TRUE, you must first disable this protection before adding or removing Availability Zones. - Availability
Zone []FirewallMappings Availability Zone Mapping Args - The Availability Zones where the firewall endpoints are created for a transit gateway-attached firewall. Each mapping specifies an Availability Zone where the firewall processes traffic.
- Delete
Protection bool - A flag indicating whether it is possible to delete the firewall. A setting of
TRUEindicates 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 toTRUE. - Description string
- A description of the firewall.
- Enabled
Analysis []FirewallTypes Enabled Analysis Type - The types of analysis to enable for the firewall. Can be TLS_SNI, HTTP_HOST, or both.
- Firewall
Name string - The descriptive name of the firewall. You can't change the name of a firewall after you create it.
- Firewall
Policy boolChange Protection - 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
TRUE. - Nat
Gateway []FirewallMappings Nat Gateway Mapping Args - The NAT gateways that the firewall proxies egress traffic through when NoSourcePreservation is true.
- No
Source boolPreservation - Indicates whether the firewall operates in proxy mode, where the source IP address of traffic is not preserved. When true, specify NatGatewayMappings and VpcEndpoint instead of the top-level VpcId and SubnetMappings. You can't change this setting after you create the firewall.
- Proxy
Settings FirewallProxy Settings Args - Subnet
Change boolProtection - 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
TRUE. - Subnet
Mappings []FirewallSubnet Mapping Args The primary public subnets that Network Firewall is using for the firewall. Network Firewall creates a firewall endpoint in each subnet. Create a subnet mapping for each Availability Zone where you want to use the firewall.
These subnets are all defined for a single, primary VPC, and each must belong to a different Availability Zone. Each of these subnets establishes the availability of the firewall in its Availability Zone.
In addition to these subnets, you can define other endpoints for the firewall in
VpcEndpointAssociationresources. You can define these additional endpoints for any VPC, and for any of the Availability Zones where the firewall resource already has a subnet mapping. VPC endpoint associations give you the ability to protect multiple VPCs using a single firewall, and to define multiple firewall endpoints for a VPC in a single Availability Zone.-
Tag
Args An array of key-value pairs to apply to this resource.
For more information, see Tag .
- Transit
Gateway stringId - The unique identifier of the transit gateway associated with this firewall. This field is only present for transit gateway-attached firewalls.
- Vpc
Endpoint FirewallVpc Endpoint Args - Vpc
Id string - The unique identifier of the VPC where the firewall is in use. You can't change the VPC of a firewall after you create the firewall.
- firewall_
policy_ stringarn The Amazon Resource Name (ARN) of the firewall policy.
The relationship of firewall to firewall policy is many to one. Each firewall requires one firewall policy association, and you can use the same firewall policy for multiple firewalls.
- availability_
zone_ boolchange_ protection - A setting indicating whether the firewall is protected against changes to its Availability Zone configuration. When set to
TRUE, you must first disable this protection before adding or removing Availability Zones. - availability_
zone_ list(object)mappings - The Availability Zones where the firewall endpoints are created for a transit gateway-attached firewall. Each mapping specifies an Availability Zone where the firewall processes traffic.
- delete_
protection bool - A flag indicating whether it is possible to delete the firewall. A setting of
TRUEindicates 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 toTRUE. - description string
- A description of the firewall.
- enabled_
analysis_ list("TLS_SNI" | "HTTP_HOST")types - The types of analysis to enable for the firewall. Can be TLS_SNI, HTTP_HOST, or both.
- firewall_
name string - The descriptive name of the firewall. You can't change the name of a firewall after you create it.
- firewall_
policy_ boolchange_ protection - 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
TRUE. - nat_
gateway_ list(object)mappings - The NAT gateways that the firewall proxies egress traffic through when NoSourcePreservation is true.
- no_
source_ boolpreservation - Indicates whether the firewall operates in proxy mode, where the source IP address of traffic is not preserved. When true, specify NatGatewayMappings and VpcEndpoint instead of the top-level VpcId and SubnetMappings. You can't change this setting after you create the firewall.
- proxy_
settings object - subnet_
change_ boolprotection - 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
TRUE. - subnet_
mappings list(object) The primary public subnets that Network Firewall is using for the firewall. Network Firewall creates a firewall endpoint in each subnet. Create a subnet mapping for each Availability Zone where you want to use the firewall.
These subnets are all defined for a single, primary VPC, and each must belong to a different Availability Zone. Each of these subnets establishes the availability of the firewall in its Availability Zone.
In addition to these subnets, you can define other endpoints for the firewall in
VpcEndpointAssociationresources. You can define these additional endpoints for any VPC, and for any of the Availability Zones where the firewall resource already has a subnet mapping. VPC endpoint associations give you the ability to protect multiple VPCs using a single firewall, and to define multiple firewall endpoints for a VPC in a single Availability Zone.- list(object)
An array of key-value pairs to apply to this resource.
For more information, see Tag .
- transit_
gateway_ stringid - The unique identifier of the transit gateway associated with this firewall. This field is only present for transit gateway-attached firewalls.
- vpc_
endpoint object - vpc_
id string - The unique identifier of the VPC where the firewall is in use. You can't change the VPC of a firewall after you create the firewall.
- firewall
Policy StringArn The Amazon Resource Name (ARN) of the firewall policy.
The relationship of firewall to firewall policy is many to one. Each firewall requires one firewall policy association, and you can use the same firewall policy for multiple firewalls.
- availability
Zone BooleanChange Protection - A setting indicating whether the firewall is protected against changes to its Availability Zone configuration. When set to
TRUE, you must first disable this protection before adding or removing Availability Zones. - availability
Zone List<FirewallMappings Availability Zone Mapping> - The Availability Zones where the firewall endpoints are created for a transit gateway-attached firewall. Each mapping specifies an Availability Zone where the firewall processes traffic.
- delete
Protection Boolean - A flag indicating whether it is possible to delete the firewall. A setting of
TRUEindicates 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 toTRUE. - description String
- A description of the firewall.
- enabled
Analysis List<FirewallTypes Enabled Analysis Type> - The types of analysis to enable for the firewall. Can be TLS_SNI, HTTP_HOST, or both.
- firewall
Name String - The descriptive name of the firewall. You can't change the name of a firewall after you create it.
- firewall
Policy BooleanChange Protection - 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
TRUE. - nat
Gateway List<FirewallMappings Nat Gateway Mapping> - The NAT gateways that the firewall proxies egress traffic through when NoSourcePreservation is true.
- no
Source BooleanPreservation - Indicates whether the firewall operates in proxy mode, where the source IP address of traffic is not preserved. When true, specify NatGatewayMappings and VpcEndpoint instead of the top-level VpcId and SubnetMappings. You can't change this setting after you create the firewall.
- proxy
Settings FirewallProxy Settings - subnet
Change BooleanProtection - 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
TRUE. - subnet
Mappings List<FirewallSubnet Mapping> The primary public subnets that Network Firewall is using for the firewall. Network Firewall creates a firewall endpoint in each subnet. Create a subnet mapping for each Availability Zone where you want to use the firewall.
These subnets are all defined for a single, primary VPC, and each must belong to a different Availability Zone. Each of these subnets establishes the availability of the firewall in its Availability Zone.
In addition to these subnets, you can define other endpoints for the firewall in
VpcEndpointAssociationresources. You can define these additional endpoints for any VPC, and for any of the Availability Zones where the firewall resource already has a subnet mapping. VPC endpoint associations give you the ability to protect multiple VPCs using a single firewall, and to define multiple firewall endpoints for a VPC in a single Availability Zone.- List<Tag>
An array of key-value pairs to apply to this resource.
For more information, see Tag .
- transit
Gateway StringId - The unique identifier of the transit gateway associated with this firewall. This field is only present for transit gateway-attached firewalls.
- vpc
Endpoint FirewallVpc Endpoint - vpc
Id String - The unique identifier of the VPC where the firewall is in use. You can't change the VPC of a firewall after you create the firewall.
- firewall
Policy stringArn The Amazon Resource Name (ARN) of the firewall policy.
The relationship of firewall to firewall policy is many to one. Each firewall requires one firewall policy association, and you can use the same firewall policy for multiple firewalls.
- availability
Zone booleanChange Protection - A setting indicating whether the firewall is protected against changes to its Availability Zone configuration. When set to
TRUE, you must first disable this protection before adding or removing Availability Zones. - availability
Zone FirewallMappings Availability Zone Mapping[] - The Availability Zones where the firewall endpoints are created for a transit gateway-attached firewall. Each mapping specifies an Availability Zone where the firewall processes traffic.
- delete
Protection boolean - A flag indicating whether it is possible to delete the firewall. A setting of
TRUEindicates 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 toTRUE. - description string
- A description of the firewall.
- enabled
Analysis FirewallTypes Enabled Analysis Type[] - The types of analysis to enable for the firewall. Can be TLS_SNI, HTTP_HOST, or both.
- firewall
Name string - The descriptive name of the firewall. You can't change the name of a firewall after you create it.
- firewall
Policy booleanChange Protection - 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
TRUE. - nat
Gateway FirewallMappings Nat Gateway Mapping[] - The NAT gateways that the firewall proxies egress traffic through when NoSourcePreservation is true.
- no
Source booleanPreservation - Indicates whether the firewall operates in proxy mode, where the source IP address of traffic is not preserved. When true, specify NatGatewayMappings and VpcEndpoint instead of the top-level VpcId and SubnetMappings. You can't change this setting after you create the firewall.
- proxy
Settings FirewallProxy Settings - subnet
Change booleanProtection - 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
TRUE. - subnet
Mappings FirewallSubnet Mapping[] The primary public subnets that Network Firewall is using for the firewall. Network Firewall creates a firewall endpoint in each subnet. Create a subnet mapping for each Availability Zone where you want to use the firewall.
These subnets are all defined for a single, primary VPC, and each must belong to a different Availability Zone. Each of these subnets establishes the availability of the firewall in its Availability Zone.
In addition to these subnets, you can define other endpoints for the firewall in
VpcEndpointAssociationresources. You can define these additional endpoints for any VPC, and for any of the Availability Zones where the firewall resource already has a subnet mapping. VPC endpoint associations give you the ability to protect multiple VPCs using a single firewall, and to define multiple firewall endpoints for a VPC in a single Availability Zone.- Tag[]
An array of key-value pairs to apply to this resource.
For more information, see Tag .
- transit
Gateway stringId - The unique identifier of the transit gateway associated with this firewall. This field is only present for transit gateway-attached firewalls.
- vpc
Endpoint FirewallVpc Endpoint - vpc
Id string - The unique identifier of the VPC where the firewall is in use. You can't change the VPC of a firewall after you create the firewall.
- firewall_
policy_ strarn The Amazon Resource Name (ARN) of the firewall policy.
The relationship of firewall to firewall policy is many to one. Each firewall requires one firewall policy association, and you can use the same firewall policy for multiple firewalls.
- availability_
zone_ boolchange_ protection - A setting indicating whether the firewall is protected against changes to its Availability Zone configuration. When set to
TRUE, you must first disable this protection before adding or removing Availability Zones. - availability_
zone_ Sequence[Firewallmappings Availability Zone Mapping Args] - The Availability Zones where the firewall endpoints are created for a transit gateway-attached firewall. Each mapping specifies an Availability Zone where the firewall processes traffic.
- delete_
protection bool - A flag indicating whether it is possible to delete the firewall. A setting of
TRUEindicates 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 toTRUE. - description str
- A description of the firewall.
- enabled_
analysis_ Sequence[Firewalltypes Enabled Analysis Type] - The types of analysis to enable for the firewall. Can be TLS_SNI, HTTP_HOST, or both.
- firewall_
name str - The descriptive name of the firewall. You can't change the name of a firewall after you create it.
- firewall_
policy_ boolchange_ protection - 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
TRUE. - nat_
gateway_ Sequence[Firewallmappings Nat Gateway Mapping Args] - The NAT gateways that the firewall proxies egress traffic through when NoSourcePreservation is true.
- no_
source_ boolpreservation - Indicates whether the firewall operates in proxy mode, where the source IP address of traffic is not preserved. When true, specify NatGatewayMappings and VpcEndpoint instead of the top-level VpcId and SubnetMappings. You can't change this setting after you create the firewall.
- proxy_
settings FirewallProxy Settings Args - subnet_
change_ boolprotection - 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
TRUE. - subnet_
mappings Sequence[FirewallSubnet Mapping Args] The primary public subnets that Network Firewall is using for the firewall. Network Firewall creates a firewall endpoint in each subnet. Create a subnet mapping for each Availability Zone where you want to use the firewall.
These subnets are all defined for a single, primary VPC, and each must belong to a different Availability Zone. Each of these subnets establishes the availability of the firewall in its Availability Zone.
In addition to these subnets, you can define other endpoints for the firewall in
VpcEndpointAssociationresources. You can define these additional endpoints for any VPC, and for any of the Availability Zones where the firewall resource already has a subnet mapping. VPC endpoint associations give you the ability to protect multiple VPCs using a single firewall, and to define multiple firewall endpoints for a VPC in a single Availability Zone.-
Sequence[Tag
Args] An array of key-value pairs to apply to this resource.
For more information, see Tag .
- transit_
gateway_ strid - The unique identifier of the transit gateway associated with this firewall. This field is only present for transit gateway-attached firewalls.
- vpc_
endpoint FirewallVpc Endpoint Args - vpc_
id str - The unique identifier of the VPC where the firewall is in use. You can't change the VPC of a firewall after you create the firewall.
- firewall
Policy StringArn The Amazon Resource Name (ARN) of the firewall policy.
The relationship of firewall to firewall policy is many to one. Each firewall requires one firewall policy association, and you can use the same firewall policy for multiple firewalls.
- availability
Zone BooleanChange Protection - A setting indicating whether the firewall is protected against changes to its Availability Zone configuration. When set to
TRUE, you must first disable this protection before adding or removing Availability Zones. - availability
Zone List<Property Map>Mappings - The Availability Zones where the firewall endpoints are created for a transit gateway-attached firewall. Each mapping specifies an Availability Zone where the firewall processes traffic.
- delete
Protection Boolean - A flag indicating whether it is possible to delete the firewall. A setting of
TRUEindicates 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 toTRUE. - description String
- A description of the firewall.
- enabled
Analysis List<"TLS_SNI" | "HTTP_HOST">Types - The types of analysis to enable for the firewall. Can be TLS_SNI, HTTP_HOST, or both.
- firewall
Name String - The descriptive name of the firewall. You can't change the name of a firewall after you create it.
- firewall
Policy BooleanChange Protection - 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
TRUE. - nat
Gateway List<Property Map>Mappings - The NAT gateways that the firewall proxies egress traffic through when NoSourcePreservation is true.
- no
Source BooleanPreservation - Indicates whether the firewall operates in proxy mode, where the source IP address of traffic is not preserved. When true, specify NatGatewayMappings and VpcEndpoint instead of the top-level VpcId and SubnetMappings. You can't change this setting after you create the firewall.
- proxy
Settings Property Map - subnet
Change BooleanProtection - 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
TRUE. - subnet
Mappings List<Property Map> The primary public subnets that Network Firewall is using for the firewall. Network Firewall creates a firewall endpoint in each subnet. Create a subnet mapping for each Availability Zone where you want to use the firewall.
These subnets are all defined for a single, primary VPC, and each must belong to a different Availability Zone. Each of these subnets establishes the availability of the firewall in its Availability Zone.
In addition to these subnets, you can define other endpoints for the firewall in
VpcEndpointAssociationresources. You can define these additional endpoints for any VPC, and for any of the Availability Zones where the firewall resource already has a subnet mapping. VPC endpoint associations give you the ability to protect multiple VPCs using a single firewall, and to define multiple firewall endpoints for a VPC in a single Availability Zone.- List<Property Map>
An array of key-value pairs to apply to this resource.
For more information, see Tag .
- transit
Gateway StringId - The unique identifier of the transit gateway associated with this firewall. This field is only present for transit gateway-attached firewalls.
- vpc
Endpoint Property Map - vpc
Id String - The unique identifier of the VPC where the firewall is in use. You can't change the VPC of a firewall after you create the firewall.
Outputs
All input properties are implicitly available as output properties. Additionally, the Firewall resource produces the following output properties:
- Endpoint
Ids List<string> - The unique IDs of the firewall endpoints for all of the subnets that you attached to the firewall. The subnets are not listed in any particular order. For example:
["us-west-2c:vpce-111122223333", "us-west-2a:vpce-987654321098", "us-west-2b:vpce-012345678901"]. - Firewall
Arn string - The Amazon Resource Name (ARN) of the firewall.
- Firewall
Id string - The name of the firewallresource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Number
Of intAssociations - The number of VPC endpoint associations attached to the firewall.
- Transit
Gateway stringAttachment Id - The unique identifier of the transit gateway attachment associated with this firewall. This field is only present for transit gateway-attached firewalls.
- Endpoint
Ids []string - The unique IDs of the firewall endpoints for all of the subnets that you attached to the firewall. The subnets are not listed in any particular order. For example:
["us-west-2c:vpce-111122223333", "us-west-2a:vpce-987654321098", "us-west-2b:vpce-012345678901"]. - Firewall
Arn string - The Amazon Resource Name (ARN) of the firewall.
- Firewall
Id string - The name of the firewallresource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Number
Of intAssociations - The number of VPC endpoint associations attached to the firewall.
- Transit
Gateway stringAttachment Id - The unique identifier of the transit gateway attachment associated with this firewall. This field is only present for transit gateway-attached firewalls.
- endpoint_
ids list(string) - The unique IDs of the firewall endpoints for all of the subnets that you attached to the firewall. The subnets are not listed in any particular order. For example:
["us-west-2c:vpce-111122223333", "us-west-2a:vpce-987654321098", "us-west-2b:vpce-012345678901"]. - firewall_
arn string - The Amazon Resource Name (ARN) of the firewall.
- firewall_
id string - The name of the firewallresource.
- id string
- The provider-assigned unique ID for this managed resource.
- number_
of_ numberassociations - The number of VPC endpoint associations attached to the firewall.
- transit_
gateway_ stringattachment_ id - The unique identifier of the transit gateway attachment associated with this firewall. This field is only present for transit gateway-attached firewalls.
- endpoint
Ids List<String> - The unique IDs of the firewall endpoints for all of the subnets that you attached to the firewall. The subnets are not listed in any particular order. For example:
["us-west-2c:vpce-111122223333", "us-west-2a:vpce-987654321098", "us-west-2b:vpce-012345678901"]. - firewall
Arn String - The Amazon Resource Name (ARN) of the firewall.
- firewall
Id String - The name of the firewallresource.
- id String
- The provider-assigned unique ID for this managed resource.
- number
Of IntegerAssociations - The number of VPC endpoint associations attached to the firewall.
- transit
Gateway StringAttachment Id - The unique identifier of the transit gateway attachment associated with this firewall. This field is only present for transit gateway-attached firewalls.
- endpoint
Ids string[] - The unique IDs of the firewall endpoints for all of the subnets that you attached to the firewall. The subnets are not listed in any particular order. For example:
["us-west-2c:vpce-111122223333", "us-west-2a:vpce-987654321098", "us-west-2b:vpce-012345678901"]. - firewall
Arn string - The Amazon Resource Name (ARN) of the firewall.
- firewall
Id string - The name of the firewallresource.
- id string
- The provider-assigned unique ID for this managed resource.
- number
Of numberAssociations - The number of VPC endpoint associations attached to the firewall.
- transit
Gateway stringAttachment Id - The unique identifier of the transit gateway attachment associated with this firewall. This field is only present for transit gateway-attached firewalls.
- endpoint_
ids Sequence[str] - The unique IDs of the firewall endpoints for all of the subnets that you attached to the firewall. The subnets are not listed in any particular order. For example:
["us-west-2c:vpce-111122223333", "us-west-2a:vpce-987654321098", "us-west-2b:vpce-012345678901"]. - firewall_
arn str - The Amazon Resource Name (ARN) of the firewall.
- firewall_
id str - The name of the firewallresource.
- id str
- The provider-assigned unique ID for this managed resource.
- number_
of_ intassociations - The number of VPC endpoint associations attached to the firewall.
- transit_
gateway_ strattachment_ id - The unique identifier of the transit gateway attachment associated with this firewall. This field is only present for transit gateway-attached firewalls.
- endpoint
Ids List<String> - The unique IDs of the firewall endpoints for all of the subnets that you attached to the firewall. The subnets are not listed in any particular order. For example:
["us-west-2c:vpce-111122223333", "us-west-2a:vpce-987654321098", "us-west-2b:vpce-012345678901"]. - firewall
Arn String - The Amazon Resource Name (ARN) of the firewall.
- firewall
Id String - The name of the firewallresource.
- id String
- The provider-assigned unique ID for this managed resource.
- number
Of NumberAssociations - The number of VPC endpoint associations attached to the firewall.
- transit
Gateway StringAttachment Id - The unique identifier of the transit gateway attachment associated with this firewall. This field is only present for transit gateway-attached firewalls.
Supporting Types
FirewallAvailabilityZoneMapping, FirewallAvailabilityZoneMappingArgs
- Availability
Zone string - A AvailabilityZone
- Availability
Zone string - A AvailabilityZone
- availability_
zone string - A AvailabilityZone
- availability
Zone String - A AvailabilityZone
- availability
Zone string - A AvailabilityZone
- availability_
zone str - A AvailabilityZone
- availability
Zone String - A AvailabilityZone
FirewallEnabledAnalysisType, FirewallEnabledAnalysisTypeArgs
| Name | Value |
|---|---|
| Tls | TLS_SNI |
| Http | HTTP_HOST |
| Name | Value |
|---|---|
| Firewall | TLS_SNI |
| Firewall | HTTP_HOST |
| Value |
|---|
TLS_SNI |
HTTP_HOST |
| Name | Value |
|---|---|
| Tls | TLS_SNI |
| Http | HTTP_HOST |
| Name | Value |
|---|---|
| Tls | TLS_SNI |
| Http | HTTP_HOST |
| Name | Value |
|---|---|
| TLS_SNI | TLS_SNI |
| HTTP_HOST | HTTP_HOST |
| Value |
|---|
TLS_SNI |
HTTP_HOST |
FirewallListenerProperty, FirewallListenerPropertyArgs
A port and protocol that a proxy-mode firewall's proxy listener accepts traffic on.- Port int
- The port the proxy listener accepts traffic on.
- Type
Pulumi.
Aws Native. Network Firewall. Firewall Listener Property Type - The protocol the proxy listener uses.
- Port int
- The port the proxy listener accepts traffic on.
- Type
Firewall
Listener Property Type - The protocol the proxy listener uses.
- port number
- The port the proxy listener accepts traffic on.
- type "HTTP" | "HTTPS"
- The protocol the proxy listener uses.
- port Integer
- The port the proxy listener accepts traffic on.
- type
Firewall
Listener Property Type - The protocol the proxy listener uses.
- port number
- The port the proxy listener accepts traffic on.
- type
Firewall
Listener Property Type - The protocol the proxy listener uses.
- port int
- The port the proxy listener accepts traffic on.
- type
Firewall
Listener Property Type - The protocol the proxy listener uses.
- port Number
- The port the proxy listener accepts traffic on.
- type "HTTP" | "HTTPS"
- The protocol the proxy listener uses.
FirewallListenerPropertyType, FirewallListenerPropertyTypeArgs
| Name | Value |
|---|---|
| Http | HTTP |
| Https | HTTPS |
| Name | Value |
|---|---|
| Firewall | HTTP |
| Firewall | HTTPS |
| Value |
|---|
HTTP |
HTTPS |
| Name | Value |
|---|---|
| Http | HTTP |
| Https | HTTPS |
| Name | Value |
|---|---|
| Http | HTTP |
| Https | HTTPS |
| Name | Value |
|---|---|
| HTTP | HTTP |
| HTTPS | HTTPS |
| Value |
|---|
HTTP |
HTTPS |
FirewallNatGatewayMapping, FirewallNatGatewayMappingArgs
A mapping to a NAT gateway that a proxy-mode firewall proxies egress traffic through.- Nat
Gateway stringId - The unique identifier of a NAT gateway.
- Nat
Gateway stringId - The unique identifier of a NAT gateway.
- nat_
gateway_ stringid - The unique identifier of a NAT gateway.
- nat
Gateway StringId - The unique identifier of a NAT gateway.
- nat
Gateway stringId - The unique identifier of a NAT gateway.
- nat_
gateway_ strid - The unique identifier of a NAT gateway.
- nat
Gateway StringId - The unique identifier of a NAT gateway.
FirewallProxySettings, FirewallProxySettingsArgs
The proxy listener configuration for a proxy-mode (no source preservation) firewall.FirewallSubnetMapping, FirewallSubnetMappingArgs
- Subnet
Id string - A SubnetId.
- Ip
Address stringType - A IPAddressType
- Subnet
Id string - A SubnetId.
- Ip
Address stringType - A IPAddressType
- subnet_
id string - A SubnetId.
- ip_
address_ stringtype - A IPAddressType
- subnet
Id String - A SubnetId.
- ip
Address StringType - A IPAddressType
- subnet
Id string - A SubnetId.
- ip
Address stringType - A IPAddressType
- subnet_
id str - A SubnetId.
- ip_
address_ strtype - A IPAddressType
- subnet
Id String - A SubnetId.
- ip
Address StringType - A IPAddressType
FirewallVpcEndpoint, FirewallVpcEndpointArgs
The VPC and subnets for a proxy-mode firewall's endpoint. Provide this instead of the top-level VpcId and SubnetMappings when NoSourcePreservation is true.- Subnet
Mappings List<Pulumi.Aws Native. Network Firewall. Inputs. Firewall Subnet Mapping> - Vpc
Id string - The unique identifier of the VPC for the firewall endpoint.
- Subnet
Mappings []FirewallSubnet Mapping - Vpc
Id string - The unique identifier of the VPC for the firewall endpoint.
- subnet_
mappings list(object) - vpc_
id string - The unique identifier of the VPC for the firewall endpoint.
- subnet
Mappings List<FirewallSubnet Mapping> - vpc
Id String - The unique identifier of the VPC for the firewall endpoint.
- subnet
Mappings FirewallSubnet Mapping[] - vpc
Id string - The unique identifier of the VPC for the firewall endpoint.
- subnet_
mappings Sequence[FirewallSubnet Mapping] - vpc_
id str - The unique identifier of the VPC for the firewall endpoint.
- subnet
Mappings List<Property Map> - vpc
Id String - The unique identifier of the VPC for the firewall endpoint.
Tag, TagArgs
A set of tags to apply to the resource.Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Monday, Nov 2, 2026 by Pulumi