Interface CfnListener.PortRangeProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnListener.PortRangeProperty.Jsii$Proxy
- Enclosing class:
CfnListener
@Stability(Stable)
public static interface CfnListener.PortRangeProperty
extends software.amazon.jsii.JsiiSerializable
A complex type for a range of ports for a listener.
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.globalaccelerator.*; PortRangeProperty portRangeProperty = PortRangeProperty.builder() .fromPort(123) .toPort(123) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnListener.PortRangeProperty
static final class
An implementation forCfnListener.PortRangeProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The first port in the range of ports, inclusive.The last port in the range of ports, inclusive.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getFromPort
The first port in the range of ports, inclusive. -
getToPort
The last port in the range of ports, inclusive. -
builder
-