interface SubnetMappingProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.NetworkFirewall.Mixins.CfnVpcEndpointAssociationPropsMixin.SubnetMappingProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsnetworkfirewall/mixins#CfnVpcEndpointAssociationPropsMixin_SubnetMappingProperty |
Java | software.amazon.awscdk.mixins.preview.services.networkfirewall.mixins.CfnVpcEndpointAssociationPropsMixin.SubnetMappingProperty |
Python | aws_cdk.mixins_preview.aws_networkfirewall.mixins.CfnVpcEndpointAssociationPropsMixin.SubnetMappingProperty |
TypeScript | @aws-cdk/mixins-preview » aws_networkfirewall » mixins » 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 { mixins as networkfirewall_mixins } from '@aws-cdk/mixins-preview/aws-networkfirewall';
const subnetMappingProperty: networkfirewall_mixins.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