interface CfnFirewallProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.NetworkFirewall.CfnFirewallProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsnetworkfirewall#CfnFirewallProps |
![]() | software.amazon.awscdk.services.networkfirewall.CfnFirewallProps |
![]() | aws_cdk.aws_networkfirewall.CfnFirewallProps |
![]() | aws-cdk-lib » aws_networkfirewall » CfnFirewallProps |
Properties for defining a CfnFirewall
.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_networkfirewall as networkfirewall } from 'aws-cdk-lib';
const cfnFirewallProps: networkfirewall.CfnFirewallProps = {
firewallName: 'firewallName',
firewallPolicyArn: 'firewallPolicyArn',
// the properties below are optional
availabilityZoneChangeProtection: false,
availabilityZoneMappings: [{
availabilityZone: 'availabilityZone',
}],
deleteProtection: false,
description: 'description',
enabledAnalysisTypes: ['enabledAnalysisTypes'],
firewallPolicyChangeProtection: false,
subnetChangeProtection: false,
subnetMappings: [{
subnetId: 'subnetId',
// the properties below are optional
ipAddressType: 'ipAddressType',
}],
tags: [{
key: 'key',
value: 'value',
}],
transitGatewayId: 'transitGatewayId',
vpcId: 'vpcId',
};
Properties
Name | Type | Description |
---|---|---|
firewall | string | The descriptive name of the firewall. |
firewall | string | The Amazon Resource Name (ARN) of the firewall policy. |
availability | boolean | IResolvable | A setting indicating whether the firewall is protected against changes to its Availability Zone configuration. |
availability | IResolvable | IResolvable | Availability [] | The Availability Zones where the firewall endpoints are created for a transit gateway-attached firewall. |
delete | boolean | IResolvable | A flag indicating whether it is possible to delete the firewall. |
description? | string | A description of the firewall. |
enabled | string[] | An optional setting indicating the specific traffic analysis types to enable on the firewall. |
firewall | boolean | IResolvable | A setting indicating whether the firewall is protected against a change to the firewall policy association. |
subnet | boolean | IResolvable | A setting indicating whether the firewall is protected against changes to the subnet associations. |
subnet | IResolvable | IResolvable | Subnet [] | The primary public subnets that Network Firewall is using for the firewall. |
tags? | Cfn [] | An array of key-value pairs to apply to this resource. |
transit | string | The unique identifier of the transit gateway associated with this firewall. |
vpc | string | The unique identifier of the VPC where the firewall is in use. |
firewallName
Type:
string
The descriptive name of the firewall.
You can't change the name of a firewall after you create it.
firewallPolicyArn
Type:
string
The Amazon Resource Name (ARN) of the firewall policy.
The relationship of firewall to firewall policy is many to one. Each firewall requires one firewall policy association, and you can use the same firewall policy for multiple firewalls.
availabilityZoneChangeProtection?
Type:
boolean |
IResolvable
(optional)
A setting indicating whether the firewall is protected against changes to its Availability Zone configuration.
When set to TRUE
, you must first disable this protection before adding or removing Availability Zones.
availabilityZoneMappings?
Type:
IResolvable
|
IResolvable
|
Availability
[]
(optional)
The Availability Zones where the firewall endpoints are created for a transit gateway-attached firewall.
Each mapping specifies an Availability Zone where the firewall processes traffic.
deleteProtection?
Type:
boolean |
IResolvable
(optional)
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?
Type:
string
(optional)
A description of the firewall.
enabledAnalysisTypes?
Type:
string[]
(optional)
An optional setting indicating the specific traffic analysis types to enable on the firewall.
firewallPolicyChangeProtection?
Type:
boolean |
IResolvable
(optional)
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
.
subnetChangeProtection?
Type:
boolean |
IResolvable
(optional)
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
.
subnetMappings?
Type:
IResolvable
|
IResolvable
|
Subnet
[]
(optional)
The primary public subnets that Network Firewall is using for the firewall.
Network Firewall creates a firewall endpoint in each subnet. Create a subnet mapping for each Availability Zone where you want to use the firewall.
These subnets are all defined for a single, primary VPC, and each must belong to a different Availability Zone. Each of these subnets establishes the availability of the firewall in its Availability Zone.
In addition to these subnets, you can define other endpoints for the firewall in VpcEndpointAssociation
resources. You can define these additional endpoints for any VPC, and for any of the Availability Zones where the firewall resource already has a subnet mapping. VPC endpoint associations give you the ability to protect multiple VPCs using a single firewall, and to define multiple firewall endpoints for a VPC in a single Availability Zone.
tags?
Type:
Cfn
[]
(optional)
An array of key-value pairs to apply to this resource.
For more information, see Tag .
transitGatewayId?
Type:
string
(optional)
The unique identifier of the transit gateway associated with this firewall.
This field is only present for transit gateway-attached firewalls.
vpcId?
Type:
string
(optional)
The unique identifier of the VPC where the firewall is in use.
You can't change the VPC of a firewall after you create the firewall.