Class IngressRule
(experimental) A range of IP addresses and port settings that allow inbound traffic to connect to server processes on an instance in a fleet.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.GameLift.Alpha
Assembly: Amazon.CDK.AWS.GameLift.Alpha.dll
Syntax (csharp)
public class IngressRule : Object, IIngressRule
Syntax (vb)
Public Class IngressRule
Inherits Object
Implements IIngressRule
Remarks
New game sessions are assigned an IP address/port number combination, which must fall into the fleet's allowed ranges.
Fleets with custom game builds must have permissions explicitly set. For Realtime Servers fleets, GameLift automatically opens two port ranges, one for TCP messaging and one for UDP.
Stability: Experimental
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.Alpha;
IPeer peer;
Port port;
var ingressRule = new IngressRule {
Port = port,
Source = peer
};
Synopsis
Constructors
IngressRule() |
Properties
Port | (experimental) The port range used for ingress traffic. |
Source | (experimental) A range of allowed IP addresses . |
Constructors
IngressRule()
public IngressRule()
Properties
Port
(experimental) The port range used for ingress traffic.
public Port Port { get; set; }
Property Value
Remarks
Stability: Experimental
Source
(experimental) A range of allowed IP addresses .
public IPeer Source { get; set; }
Property Value
Remarks
Stability: Experimental