Creates an Network Firewall Firewall and accompanying FirewallStatus for a VPC
Source:R/networkfirewall_operations.R
networkfirewall_create_firewall.RdCreates an Network Firewall Firewall and accompanying FirewallStatus for a VPC.
See https://www.paws-r-sdk.com/docs/networkfirewall_create_firewall/ for full documentation.
Usage
networkfirewall_create_firewall(
FirewallName,
FirewallPolicyArn,
VpcId = NULL,
SubnetMappings = NULL,
DeleteProtection = NULL,
SubnetChangeProtection = NULL,
FirewallPolicyChangeProtection = NULL,
Description = NULL,
Tags = NULL,
EncryptionConfiguration = NULL,
EnabledAnalysisTypes = NULL,
TransitGatewayId = NULL,
AvailabilityZoneMappings = NULL,
AvailabilityZoneChangeProtection = NULL
)Arguments
- FirewallName
[required] The descriptive name of the firewall. You can't change the name of a firewall after you create it.
- FirewallPolicyArn
[required] The Amazon Resource Name (ARN) of the FirewallPolicy that you want to use for the firewall.
- VpcId
The unique identifier of the VPC where Network Firewall should create the firewall.
You can't change this setting after you create the firewall.
- 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.
- DeleteProtection
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.- SubnetChangeProtection
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.- FirewallPolicyChangeProtection
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.- Description
A description of the firewall.
The key:value pairs to associate with the resource.
- EncryptionConfiguration
A complex type that contains settings for encryption of your firewall resources.
- EnabledAnalysisTypes
An optional setting indicating the specific traffic analysis types to enable on the firewall.
- 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
create_firewall. For specific guidance about transit gateway-attached firewalls, see Considerations for transit gateway-attached firewalls in the Network Firewall Developer Guide.- 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
associate_availability_zonesordisassociate_availability_zones, but this may briefly disrupt traffic. TheAvailabilityZoneChangeProtectionsetting controls whether you can make these modifications.- AvailabilityZoneChangeProtection
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 usingupdate_availability_zone_change_protection.Default value:
FALSE