interface SubnetMappingProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.NetworkFirewall.CfnVpcEndpointAssociationPropsMixin.SubnetMappingProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsnetworkfirewall#CfnVpcEndpointAssociationPropsMixin_SubnetMappingProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.networkfirewall.CfnVpcEndpointAssociationPropsMixin.SubnetMappingProperty |
Python | aws_cdk.cfn_property_mixins.aws_networkfirewall.CfnVpcEndpointAssociationPropsMixin.SubnetMappingProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_networkfirewall » CfnVpcEndpointAssociationPropsMixin » 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/cfn-property-mixins';
const subnetMappingProperty: networkfirewall.CfnVpcEndpointAssociationPropsMixin.SubnetMappingProperty = {
ipAddressType: 'ipAddressType',
subnetId: 'subnetId',
};
Properties
| Name | Type | Description |
|---|---|---|
| ip | string | The subnet's IP address type. |
| subnet | 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.
subnetId?
Type:
string
(optional)
The unique identifier for the subnet.

.NET
Go
Java
Python
TypeScript