Interface CfnContainerFleetPropsMixin.ConnectionPortRangeProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnContainerFleetPropsMixin.ConnectionPortRangeProperty.Jsii$Proxy
- Enclosing class:
CfnContainerFleetPropsMixin
@Stability(Stable)
public static interface CfnContainerFleetPropsMixin.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.cfnpropertymixins.services.gamelift.*;
ConnectionPortRangeProperty connectionPortRangeProperty = ConnectionPortRangeProperty.builder()
.fromPort(123)
.toPort(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnContainerFleetPropsMixin.ConnectionPortRangePropertystatic final classAn implementation forCfnContainerFleetPropsMixin.ConnectionPortRangeProperty -
Method Summary
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
-