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 operation has been expanded to use with the Amazon GameLift containers feature, which is currently in 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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnFleet.ConnectionPortRangeProperty
static final class
An 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
-