Skip to content
v2.274.0

AWS::NetworkFirewall Construct Library ​

This module is part of the AWS Cloud Development Kit project.

ts
import * as networkfirewall from 'aws-cdk-lib/aws-networkfirewall';
python
import aws_cdk.aws_networkfirewall as networkfirewall
java
import software.amazon.awscdk.services.networkfirewall.*;
csharp
using Amazon.CDK.AWS.NetworkFirewall;
go
import networkfirewall "github.com/aws/aws-cdk-go/awscdk"

There are no official hand-written (L2) constructs for this service yet. Here are some suggestions on how to proceed:

There are no hand-written (L2) constructs for this service yet. However, you can still use the automatically generated L1 constructs, and use this service exactly as you would using CloudFormation directly.

For more information on the resources and properties available for this service, see the CloudFormation documentation for AWS::NetworkFirewall.

(Read the CDK Contributing Guide and submit an RFC if you are interested in contributing to this construct library.)

Types ​

NameKindSummary
CfnContainerAssociationConstruct (L1)Resource type definition for AWS::NetworkFirewall::ContainerAssociation.
CfnFirewallConstruct (L1)Use the firewall to provide stateful, managed, network firewall and intrusion detection and prevention filtering for your VPCs in Amazon VPC .
CfnFirewallPolicyConstruct (L1)Use the firewall policy to define the stateless and stateful network traffic filtering behavior for your firewall.
CfnLoggingConfigurationConstruct (L1)Use the logging configuration to define the destinations and logging options for an firewall.
CfnRuleGroupConstruct (L1)Use the to define a reusable collection of stateless or stateful network traffic filtering rules. You use rule groups in an firewall policy to specify the filtering behavior of an firewall.
CfnTLSInspectionConfigurationConstruct (L1)The object that defines a TLS inspection configuration.
CfnVpcEndpointAssociationConstruct (L1)A VPC endpoint association defines a single subnet to use for a firewall endpoint for a Firewall .
CfnContainerAssociation.ContainerAttributePropertyStructA key-value filter pair used in container association monitoring configurations to narrow which containers are tracked.
CfnContainerAssociation.ContainerMonitoringConfigurationPropertyStructContains the monitoring configuration for a single cluster in a container association.
CfnContainerAssociationPropsStructProperties for defining a CfnContainerAssociation.
CfnFirewall.AvailabilityZoneMappingPropertyStructDefines the mapping between an Availability Zone and a firewall endpoint for a transit gateway-attached firewall.
CfnFirewall.SubnetMappingPropertyStructThe ID for a subnet that you want to associate with the firewall.
CfnFirewallPolicy.ActionDefinitionPropertyStructA custom action to use in stateless rule actions settings.
CfnFirewallPolicy.CustomActionPropertyStructAn optional, non-standard action to use for stateless packet handling.
CfnFirewallPolicy.DimensionPropertyStructThe value to use in an Amazon CloudWatch custom metric dimension.
CfnFirewallPolicy.FirewallPolicyPropertyStructThe traffic filtering behavior of a firewall policy, defined in a collection of stateless and stateful rule groups and other settings.
CfnFirewallPolicy.FlowTimeoutsPropertyStructDescribes the amount of time that can pass without any traffic sent through the firewall before the firewall determines that the connection is idle and Network Firewall removes the flow entry from its flow table.
CfnFirewallPolicy.IPSetPropertyStructA list of IP addresses and address ranges, in CIDR notation.
CfnFirewallPolicy.PolicyVariablesPropertyStructContains variables that you can use to override default Suricata settings in your firewall policy.
CfnFirewallPolicy.PublishMetricActionPropertyStructStateless inspection criteria that publishes the specified metrics to Amazon CloudWatch for the matching packet.
CfnFirewallPolicy.StatefulEngineOptionsPropertyStructConfiguration settings for the handling of the stateful rule groups in a firewall policy.
CfnFirewallPolicy.StatefulRuleGroupOverridePropertyStructThe setting that allows the policy owner to change the behavior of the rule group within a policy.
CfnFirewallPolicy.StatefulRuleGroupReferencePropertyStructIdentifier for a single stateful rule group, used in a firewall policy to refer to a rule group.
CfnFirewallPolicy.StatelessRuleGroupReferencePropertyStructIdentifier for a single stateless rule group, used in a firewall policy to refer to the rule group.
CfnFirewallPolicyPropsStructProperties for defining a CfnFirewallPolicy.
CfnFirewallPropsStructProperties for defining a CfnFirewall.
CfnLoggingConfiguration.LogDestinationConfigPropertyStructDefines where AWS Network Firewall sends logs for the firewall for one log type.
CfnLoggingConfiguration.LoggingConfigurationPropertyStructDefines how AWS Network Firewall performs logging for a firewall.
CfnLoggingConfigurationPropsStructProperties for defining a CfnLoggingConfiguration.
CfnRuleGroup.ActionDefinitionPropertyStructA custom action to use in stateless rule actions settings.
CfnRuleGroup.AddressPropertyStructA single IP address specification.
CfnRuleGroup.CustomActionPropertyStructAn optional, non-standard action to use for stateless packet handling.
CfnRuleGroup.DimensionPropertyStructThe value to use in an Amazon CloudWatch custom metric dimension.
CfnRuleGroup.HeaderPropertyStructThe 5-tuple criteria for AWS Network Firewall to use to inspect packet headers in stateful traffic flow inspection.
CfnRuleGroup.IPSetPropertyStructA list of IP addresses and address ranges, in CIDR notation.
CfnRuleGroup.IPSetReferencePropertyStructConfigures one or more IP set references for a Suricata-compatible rule group.
CfnRuleGroup.MatchAttributesPropertyStructCriteria for Network Firewall to use to inspect an individual packet in stateless rule inspection.
CfnRuleGroup.PortRangePropertyStructA single port range specification.
CfnRuleGroup.PortSetPropertyStructA set of port ranges for use in the rules in a rule group.
CfnRuleGroup.PublishMetricActionPropertyStructStateless inspection criteria that publishes the specified metrics to Amazon CloudWatch for the matching packet.
CfnRuleGroup.ReferenceSetsPropertyStructConfigures the reference sets for a stateful rule group.
CfnRuleGroup.RuleDefinitionPropertyStructThe inspection criteria and action for a single stateless rule.
CfnRuleGroup.RuleGroupPropertyStructThe object that defines the rules in a rule group.
CfnRuleGroup.RuleOptionPropertyStructAdditional settings for a stateful rule.
CfnRuleGroup.RulesSourceListPropertyStructStateful inspection criteria for a domain list rule group.
CfnRuleGroup.RulesSourcePropertyStructThe stateless or stateful rules definitions for use in a single rule group.
CfnRuleGroup.RuleVariablesPropertyStructSettings that are available for use in the rules in the rule group where this is defined.
CfnRuleGroup.StatefulRuleOptionsPropertyStructAdditional options governing how Network Firewall handles the rule group.
CfnRuleGroup.StatefulRulePropertyStructA single Suricata rules specification, for use in a stateful rule group.
CfnRuleGroup.StatelessRulePropertyStructA single stateless rule.
CfnRuleGroup.StatelessRulesAndCustomActionsPropertyStructStateless inspection criteria.
CfnRuleGroup.SummaryConfigurationPropertyStructA complex type that specifies which Suricata rule metadata fields to use when displaying threat information. Contains:.
CfnRuleGroup.TCPFlagFieldPropertyStructTCP flags and masks to inspect packets for. This is used in the match attributes specification.
CfnRuleGroupPropsStructProperties for defining a CfnRuleGroup.
CfnTLSInspectionConfiguration.AddressPropertyStructA single IP address specification.
CfnTLSInspectionConfiguration.CheckCertificateRevocationStatusPropertyStructWhen enabled, Network Firewall checks if the server certificate presented by the server in the SSL/TLS connection has a revoked or unkown status.
CfnTLSInspectionConfiguration.PortRangePropertyStructA single port range specification.
CfnTLSInspectionConfiguration.ServerCertificateConfigurationPropertyStructConfigures the Certificate Manager certificates and scope that Network Firewall uses to decrypt and re-encrypt traffic using a TLSInspectionConfiguration . You can configure ServerCertificates for inbound SSL/TLS inspection, a CertificateAuthorityArn for outbound SSL/TLS inspection, or both. For information about working with certificates for TLS inspection, see Using SSL/TLS server certficiates with TLS inspection configurations in the AWS Network Firewall Developer Guide .
CfnTLSInspectionConfiguration.ServerCertificatePropertyStructAny Certificate Manager (ACM) Secure Sockets Layer/Transport Layer Security (SSL/TLS) server certificate that's associated with a ServerCertificateConfiguration . Used in a TLSInspectionConfiguration for inspection of inbound traffic to your firewall. You must request or import a SSL/TLS certificate into ACM for each domain Network Firewall needs to decrypt and inspect. AWS Network Firewall uses the SSL/TLS certificates to decrypt specified inbound SSL/TLS traffic going to your firewall. For information about working with certificates in Certificate Manager , see Request a public certificate or Importing certificates in the Certificate Manager User Guide .
CfnTLSInspectionConfiguration.ServerCertificateScopePropertyStructSettings that define the Secure Sockets Layer/Transport Layer Security (SSL/TLS) traffic that Network Firewall should decrypt for inspection by the stateful rule engine.
CfnTLSInspectionConfiguration.TLSInspectionConfigurationPropertyStructThe object that defines a TLS inspection configuration. This defines the TLS inspection configuration.
CfnTLSInspectionConfigurationPropsStructProperties for defining a CfnTLSInspectionConfiguration.
CfnVpcEndpointAssociation.SubnetMappingPropertyStructThe ID for a subnet that's used in an association with a firewall.
CfnVpcEndpointAssociationPropsStructProperties for defining a CfnVpcEndpointAssociation.