Interface CfnPolicy.PortRangeProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPolicy.PortRangeProperty.Jsii$Proxy
- Enclosing class:
CfnPolicy
@Stability(Stable)
public static interface CfnPolicy.PortRangeProperty
extends software.amazon.jsii.JsiiSerializable
TCP or UDP protocols: The range of ports the rule applies to.
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.fms.*;
PortRangeProperty portRangeProperty = PortRangeProperty.builder()
.from(123)
.to(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnPolicy.PortRangePropertystatic final classAn implementation forCfnPolicy.PortRangeProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getFrom
The beginning port number of the range.- See Also:
-
getTo
The ending port number of the range.- See Also:
-
builder
-