CreateFirewallRequest
¶
Source code in docs_src/capo_network_firewall/types/create_firewall_request.py
availability_zone_change_protection
instance-attribute
¶
availability_zone_change_protection: NotRequired[Boolean]
Optional. A setting indicating whether the firewall is protected against changes to its Availability Zone configuration. When set to TRUE, you cannot add or remove Availability Zones without first disabling this protection using UpdateAvailabilityZoneChangeProtection.
Default value: FALSE
availability_zone_mappings
instance-attribute
¶
availability_zone_mappings: NotRequired[AvailabilityZoneMappings]
Required. The Availability Zones where you want to create firewall endpoints for a transit gateway-attached firewall. You must specify at least one Availability Zone. Consider enabling the firewall in every Availability Zone where you have workloads to maintain Availability Zone isolation.
You can modify Availability Zones later using AssociateAvailabilityZones or DisassociateAvailabilityZones, but this may briefly disrupt traffic. The AvailabilityZoneChangeProtection setting controls whether you can make these modifications.
delete_protection
instance-attribute
¶
delete_protection: NotRequired[Boolean]
A flag indicating whether it is possible to delete the firewall. A setting of TRUE 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 TRUE.
description
instance-attribute
¶
description: NotRequired[Description]
A description of the firewall.
enabled_analysis_types
instance-attribute
¶
enabled_analysis_types: NotRequired[EnabledAnalysisTypes]
An optional setting indicating the specific traffic analysis types to enable on the firewall.
encryption_configuration
instance-attribute
¶
encryption_configuration: NotRequired[EncryptionConfiguration]
A complex type that contains settings for encryption of your firewall resources.
firewall_name
instance-attribute
¶
firewall_name: ResourceName
The descriptive name of the firewall. You can't change the name of a firewall after you create it.
firewall_policy_arn
instance-attribute
¶
firewall_policy_arn: ResourceArn
The Amazon Resource Name (ARN) of the FirewallPolicy that you want to use for the firewall.
firewall_policy_change_protection
instance-attribute
¶
firewall_policy_change_protection: NotRequired[Boolean]
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.
igw_firewall_configuration
instance-attribute
¶
igw_firewall_configuration: NotRequired[IgwFirewallConfiguration]
Settings that make this firewall an internet gateway firewall. An internet gateway firewall inspects all traffic between a VPC and its internet gateway, without changes to your subnets or route tables. Amazon Web Services Network Security Manager creates and manages internet gateway firewalls on your behalf, so you don't include this setting when you create a standard Network Firewall firewall.
When this setting is present, FirewallName must equal the VpcId, AvailabilityZoneMappings is required and must use Availability Zone IDs, and you can't specify SubnetMappings or a transit gateway.
nat_gateway_create_mappings
instance-attribute
¶
nat_gateway_create_mappings: NotRequired[NatGatewayCreateMappingsList]
The NAT gateways that Network Firewall creates for a proxy mode firewall, one for each Availability Zone. When you specify this, you create a proxy mode firewall. Destinations see the IP address of the NAT gateway in the client's Availability Zone as the source of the traffic.
Specify one mapping for each Availability Zone in VpcEndpoint, and no other Availability Zones. Each NAT gateway subnet must be in the VpcEndpoint VPC and can't be one of the firewall endpoint subnets.
You need permission to call the Amazon EC2 CreateNatGateway action.
If Network Firewall can't set up an Availability Zone, for example because Amazon EC2 rejects the NAT gateway, it removes the Availability Zone from the firewall. It also deletes the NAT gateway that it created there. The Availability Zone's Attachment status is FAILED, and its status message explains why. You can add the Availability Zone again with AssociateSubnets. If no Availability Zone can be set up, the firewall status is FAILED.
proxy_settings
instance-attribute
¶
proxy_settings: NotRequired[ProxySettings]
The proxy settings for a proxy mode firewall: the ports and protocols on which the firewall's proxy listens for traffic, and optionally your own domain name and certificate. If you don't specify listeners, the firewall listens for HTTP on port 3128 and HTTPS on port 8443.
To change the listeners later, use UpdateProxySettings.
subnet_change_protection
instance-attribute
¶
subnet_change_protection: NotRequired[Boolean]
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
instance-attribute
¶
subnet_mappings: NotRequired[SubnetMappings]
The public subnets to use for your Network Firewall firewalls. Each subnet must belong to a different Availability Zone in the VPC. Network Firewall creates a firewall endpoint in each subnet.
tags
instance-attribute
¶
tags: NotRequired[TagList]
The key:value pairs to associate with the resource.
transit_gateway_id
instance-attribute
¶
transit_gateway_id: NotRequired[TransitGatewayId]
Required when creating a transit gateway-attached firewall. The unique identifier of the transit gateway to attach to this firewall. You can provide either a transit gateway from your account or one that has been shared with you through Resource Access Manager.
After creating the firewall, you cannot change the transit gateway association. To use a different transit gateway, you must create a new firewall.
For information about creating firewalls, see CreateFirewall. For specific guidance about transit gateway-attached firewalls, see Considerations for transit gateway-attached firewalls in the Network Firewall Developer Guide.
transparent_filtering_nat_scope
instance-attribute
¶
transparent_filtering_nat_scope: NotRequired[TransparentFilteringNatScope]
How a proxy mode firewall handles traffic that isn't sent to its proxy listener. If you don't specify a value, the firewall uses NAT_ALL. You can choose from the following values:
-
NAT_ALL- After inspection, the firewall sends this traffic out through its NAT gateway, which translates the source address. -
NAT_NONE- After inspection, the firewall returns this traffic to the firewall endpoint without address translation.
You can specify this only for a proxy mode firewall, and you can't change it after you create the firewall.
vpc_endpoint
instance-attribute
¶
vpc_endpoint: NotRequired[VpcEndpoint]
The VPC and subnets for the endpoints of a proxy mode firewall. Network Firewall creates a firewall endpoint in each subnet that you specify. It also creates the firewall's NAT gateways in this VPC, in the subnets that you specify in NatGatewayCreateMappings.
To create a proxy mode firewall, you must specify VpcEndpoint and NatGatewayCreateMappings, and you must not specify the top-level VpcId and SubnetMappings. Specify one subnet for each Availability Zone where you want to use the firewall.