Interface CfnFirewallPropsMixin.SubnetMappingProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnFirewallPropsMixin.SubnetMappingProperty.Jsii$Proxy
- Enclosing class:
CfnFirewallPropsMixin
@Stability(Stable)
public static interface CfnFirewallPropsMixin.SubnetMappingProperty
extends software.amazon.jsii.JsiiSerializable
The ID for a subnet that you want to associate with the firewall.
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 software.amazon.awscdk.cfnpropertymixins.services.networkfirewall.*;
SubnetMappingProperty subnetMappingProperty = SubnetMappingProperty.builder()
.ipAddressType("ipAddressType")
.subnetId("subnetId")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnFirewallPropsMixin.SubnetMappingPropertystatic final classAn implementation forCfnFirewallPropsMixin.SubnetMappingProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getIpAddressType
The subnet's IP address type.You can't change the IP address type after you create the subnet.
- See Also:
-
getSubnetId
The unique identifier for the subnet.Returns union: either
StringorISubnetRef- See Also:
-
builder
-