Interface CfnRuleGroup.PortRangeProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnRuleGroup.PortRangeProperty.Jsii$Proxy
Enclosing class:
CfnRuleGroup

@Stability(Stable) public static interface CfnRuleGroup.PortRangeProperty extends software.amazon.jsii.JsiiSerializable
A single port range specification.

This is used for source and destination port ranges in the stateless RuleGroup.MatchAttributes .

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.networkfirewall.*;
 PortRangeProperty portRangeProperty = PortRangeProperty.builder()
         .fromPort(123)
         .toPort(123)
         .build();