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();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnRuleGroup.PortRangeProperty
static final class
An implementation forCfnRuleGroup.PortRangeProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The lower limit of the port range.The upper limit of the port range.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getFromPort
The lower limit of the port range.This must be less than or equal to the
ToPort
specification. -
getToPort
The upper limit of the port range.This must be greater than or equal to the
FromPort
specification. -
builder
-