Interface CfnRuleGroupPropsMixin.PortRangeProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnRuleGroupPropsMixin.PortRangeProperty.Jsii$Proxy
- Enclosing class:
CfnRuleGroupPropsMixin
@Stability(Stable)
public static interface CfnRuleGroupPropsMixin.PortRangeProperty
extends software.amazon.jsii.JsiiSerializable
A single port range specification.
This is used for source and destination port ranges in the stateless match attributes.
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.*;
PortRangeProperty portRangeProperty = PortRangeProperty.builder()
.fromPort(123)
.toPort(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnRuleGroupPropsMixin.PortRangePropertystatic final classAn implementation forCfnRuleGroupPropsMixin.PortRangeProperty -
Method Summary
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
ToPortspecification.- See Also:
-
getToPort
The upper limit of the port range.This must be greater than or equal to the
FromPortspecification.- See Also:
-
builder
-