Interface CfnTLSInspectionConfiguration.PortRangeProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTLSInspectionConfiguration.PortRangeProperty.Jsii$Proxy
- Enclosing class:
CfnTLSInspectionConfiguration
@Stability(Stable)
public static interface CfnTLSInspectionConfiguration.PortRangeProperty
extends software.amazon.jsii.JsiiSerializable
A single port range specification.
This is used for source and destination port ranges in the stateless rule MatchAttributes , SourcePorts , and DestinationPorts settings.
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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTLSInspectionConfiguration.PortRangePropertystatic final classAn implementation forCfnTLSInspectionConfiguration.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
ToPortspecification.- See Also:
-
getToPort
The upper limit of the port range.This must be greater than or equal to the
FromPortspecification.- See Also:
-
builder
-