interface SubnetMappingProperty
| Language | Type name | 
|---|---|
|  .NET | Amazon.CDK.AWS.NetworkFirewall.CfnVpcEndpointAssociation.SubnetMappingProperty | 
|  Go | github.com/aws/aws-cdk-go/awscdk/v2/awsnetworkfirewall#CfnVpcEndpointAssociation_SubnetMappingProperty | 
|  Java | software.amazon.awscdk.services.networkfirewall.CfnVpcEndpointAssociation.SubnetMappingProperty | 
|  Python | aws_cdk.aws_networkfirewall.CfnVpcEndpointAssociation.SubnetMappingProperty | 
|  TypeScript | aws-cdk-lib»aws_networkfirewall»CfnVpcEndpointAssociation»SubnetMappingProperty | 
The ID for a subnet that's used in an association with a firewall.
This is used in CreateFirewall , AssociateSubnets , and CreateVpcEndpointAssociation . 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.CfnVpcEndpointAssociation.SubnetMappingProperty = {
  subnetId: 'subnetId',
  // the properties below are optional
  ipAddressType: 'ipAddressType',
};
Properties
| Name | Type | Description | 
|---|---|---|
| subnet | string | The unique identifier for the subnet. | 
| ip | string | The 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.
