Interface CfnContainerFleet.ConnectionPortRangeProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnContainerFleet.ConnectionPortRangeProperty.Jsii$Proxy
- Enclosing class:
CfnContainerFleet
@Stability(Stable)
public static interface CfnContainerFleet.ConnectionPortRangeProperty
extends software.amazon.jsii.JsiiSerializable
The set of port numbers to open on each instance in a container fleet.
Connection ports are used by inbound traffic to connect with processes that are running in containers on the fleet.
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.gamelift.*;
ConnectionPortRangeProperty connectionPortRangeProperty = ConnectionPortRangeProperty.builder()
.fromPort(123)
.toPort(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnContainerFleet.ConnectionPortRangePropertystatic final classAn implementation forCfnContainerFleet.ConnectionPortRangeProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Starting value for the port range.Ending value for the port.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getFromPort
Starting value for the port range.- See Also:
-
getToPort
Ending value for the port.Port numbers are end-inclusive. This value must be equal to or greater than
FromPort.- See Also:
-
builder
-