Class CfnVpcEndpointAssociation.SubnetMappingProperty
The ID for a subnet that's used in an association with a firewall.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.NetworkFirewall
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnVpcEndpointAssociation.SubnetMappingProperty : CfnVpcEndpointAssociation.ISubnetMappingProperty
Syntax (vb)
Public Class CfnVpcEndpointAssociation.SubnetMappingProperty Implements CfnVpcEndpointAssociation.ISubnetMappingProperty
Remarks
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.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.NetworkFirewall;
var subnetMappingProperty = new SubnetMappingProperty {
SubnetId = "subnetId",
// the properties below are optional
IpAddressType = "ipAddressType"
};
Synopsis
Constructors
SubnetMappingProperty() | The ID for a subnet that's used in an association with a firewall. |
Properties
IpAddressType | The subnet's IP address type. |
SubnetId | The unique identifier for the subnet. |
Constructors
SubnetMappingProperty()
The ID for a subnet that's used in an association with a firewall.
public SubnetMappingProperty()
Remarks
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.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.NetworkFirewall;
var subnetMappingProperty = new SubnetMappingProperty {
SubnetId = "subnetId",
// the properties below are optional
IpAddressType = "ipAddressType"
};
Properties
IpAddressType
The subnet's IP address type.
public string? IpAddressType { get; set; }
Property Value
Remarks
You can't change the IP address type after you create the subnet.
SubnetId
The unique identifier for the subnet.
public string SubnetId { get; set; }