AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::NetworkFirewall::FirewallPolicy

CfnFirewallPolicy

Use the firewall policy to define the stateless and stateful network traffic filtering behavior for your firewall. You can use one firewall policy for multiple firewalls.

Import

import { CfnFirewallPolicy } from 'aws-cdk-lib/aws-networkfirewall';

Or use the module namespace:

import * as networkfirewall from 'aws-cdk-lib/aws-networkfirewall';
// networkfirewall.CfnFirewallPolicy

Properties

Configuration passed to the constructor as CfnFirewallPolicyProps.

firewallPolicyRequired
IResolvable | FirewallPolicyProperty

The traffic filtering behavior of a firewall policy, defined in a collection of stateless and stateful rule groups and other settings.

firewallPolicyNameRequired
string

The descriptive name of the firewall policy. You can't change the name of a firewall policy after you create it.

descriptionOptional
string

A description of the firewall policy.

tagsOptional
CfnTag[]

An array of key-value pairs to apply to this resource. For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html) .

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

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

LevelL1 (CloudFormation)
Moduleaws-networkfirewall
CFN TypeAWS::NetworkFirewall::FirewallPolicy
Properties4

External Links