Interface CfnContainerFleet.IConnectionPortRangeProperty
The set of port numbers to open on each instance in a container fleet.
Namespace: Amazon.CDK.AWS.GameLift
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IConnectionPortRangeProperty
Syntax (vb)
Public Interface IConnectionPortRangeProperty
Remarks
Connection ports are used by inbound traffic to connect with processes that are running in containers on the fleet.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.GameLift;
var connectionPortRangeProperty = new ConnectionPortRangeProperty {
FromPort = 123,
ToPort = 123
};
Synopsis
Properties
FromPort | Starting value for the port range. |
ToPort | Ending value for the port. |
Properties
FromPort
Starting value for the port range.
double FromPort { get; }
Property Value
System.Double
Remarks
ToPort
Ending value for the port.
double ToPort { get; }
Property Value
System.Double
Remarks
Port numbers are end-inclusive. This value must be equal to or greater than FromPort
.