aws-cdk-lib.aws_networkfirewall.CfnFirewall.SubnetMappingProperty

interface SubnetMappingProperty

LanguageType name
.NETAmazon.CDK.AWS.NetworkFirewall.CfnFirewall.SubnetMappingProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsnetworkfirewall#CfnFirewall_SubnetMappingProperty
Javasoftware.amazon.awscdk.services.networkfirewall.CfnFirewall.SubnetMappingProperty
Pythonaws_cdk.aws_networkfirewall.CfnFirewall.SubnetMappingProperty
TypeScript aws-cdk-lib » aws_networkfirewall » CfnFirewall » SubnetMappingProperty

The ID for a subnet that you want to associate with the firewall.

AWS Network Firewall creates an instance of the associated firewall in each subnet that you specify, to filter traffic in the subnet's Availability Zone.

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 subnetMappingProperty: networkfirewall.CfnFirewall.SubnetMappingProperty = {
  subnetId: 'subnetId',

  // the properties below are optional
  ipAddressType: 'ipAddressType',
};

Properties

NameTypeDescription
subnetIdstringThe unique identifier for the subnet.
ipAddressType?stringThe subnet's IP address type.

subnetId

Type: string

The unique identifier for the subnet.


ipAddressType?

Type: string (optional)

The subnet's IP address type.

You can't change the IP address type after you create the subnet.