Interface CfnFleet.ConnectionPortRangeProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnFleet.ConnectionPortRangeProperty.Jsii$Proxy
- Enclosing class:
CfnFleet
@Stability(Stable)
public static interface CfnFleet.ConnectionPortRangeProperty
extends software.amazon.jsii.JsiiSerializable
*This data type is currently not available.
It is under improvement as we respond to customer feedback from the Containers public preview.*
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.
Part of: ContainerGroupsConfiguration , ContainerGroupsAttributes
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 forCfnFleet.ConnectionPortRangePropertystatic final classAn implementation forCfnFleet.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
-