NetworkConfig / CentralNetworkServicesConfig / NfwConfig / NfwFirewallConfig

Network Firewall firewall configuration.

Use this configuration to define a Network Firewall firewall. An AWS Network Firewall firewall connects a firewall policy, which defines network traffic monitoring and filtering behavior, to the VPC that you want to protect. The firewall configuration includes specifications for the Availability Zones and subnets where the firewall endpoints are placed. It also defines high-level settings like the firewall logging configuration and tagging on the AWS firewall resource.

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkfirewall-firewall.html.

The following example creates a firewall named accelerator-nfw in the VPC named Network-Inspection. Firewall endpoints are deployed to the subnets named Subnet-A and Subnet-B in that VPC.

- name: accelerator-nfw
description: Accelerator Firewall
firewallPolicy: accelerator-nfw-policy
subnets:
- Subnet-A
- Subnet-B
vpc: Network-Inspection
loggingConfiguration:
- destination: s3
type: ALERT
tags: []
interface INfwFirewallConfig {
    deleteProtection?: boolean;
    description?: string;
    firewallPolicy: string;
    firewallPolicyChangeProtection?: boolean;
    loggingConfiguration?: INfwLoggingConfig[];
    name: string;
    subnetChangeProtection?: boolean;
    subnets: string[];
    tags?: ITag[];
    vpc: string;
}

Properties

deleteProtection?: boolean

(OPTIONAL) Enable for deletion protection on the firewall.

description?: string

(OPTIONAL) A description for the firewall.

firewallPolicy: string

The friendly name of the Network Firewall policy or ARN for an existing network firewall policy.

This is the logical name property of the policy as defined in network-config.yaml.

NfwFirewallPolicyConfig

firewallPolicyChangeProtection?: boolean

(OPTIONAL) Enable to disallow firewall policy changes.

loggingConfiguration?: INfwLoggingConfig[]

(OPTIONAL) An array of Network Firewall logging configurations.

NfwLoggingConfig

name: string

A friendly name for the firewall.

CAUTION: Changing this property value after initial deployment causes the firewall to be recreated. Please be aware that any downstream dependencies may cause this property update to fail.

subnetChangeProtection?: boolean

(OPTIONAL) Enable to disallow firewall subnet changes.

subnets: string[]

An array of the friendly names of subnets to deploy Network Firewall to.

This is the logical name property of the subnets as defined in network-config.yaml. The listed subnets must exist in the VPC referenced in the vpc property.

tags?: ITag[]

(OPTIONAL) An array of tags for the firewall.

vpc: string

The friendly name of the VPC to deploy Network Firewall to.

CAUTION: Changing this property value after initial deployment causes the firewall to be recreated. Please be aware that any downstream dependencies may cause this property update to fail.

This is the logical name property of the VPC as defined in network-config.yaml.

VpcConfig