Class CfnFirewall.SubnetMappingProperty
The ID for a subnet that you want to associate with the firewall.
Inheritance
System.Object
CfnFirewall.SubnetMappingProperty
Implements
Namespace: Amazon.CDK.AWS.NetworkFirewall
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class SubnetMappingProperty : Object, CfnFirewall.ISubnetMappingProperty
Syntax (vb)
Public Class SubnetMappingProperty
Inherits Object
Implements CfnFirewall.ISubnetMappingProperty
Remarks
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() |
Properties
IpAddressType | The subnet's IP address type. |
SubnetId | The unique identifier for the subnet. |
Constructors
SubnetMappingProperty()
public SubnetMappingProperty()
Properties
IpAddressType
The subnet's IP address type.
public string IpAddressType { get; set; }
Property Value
System.String
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; }
Property Value
System.String