Interface IngressRule
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
IngressRule.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-10-31T19:13:07.835Z")
@Stability(Experimental)
public interface IngressRule
extends software.amazon.jsii.JsiiSerializable
(experimental) A range of IP addresses and port settings that allow inbound traffic to connect to server processes on an instance in a fleet.
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.
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.alpha.*; IPeer peer; Port port; IngressRule ingressRule = IngressRule.builder() .port(port) .source(peer) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forIngressRule
static final class
An implementation forIngressRule
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getPort
(experimental) The port range used for ingress traffic. -
getSource
(experimental) A range of allowed IP addresses . -
builder
- Returns:
- a
IngressRule.Builder
ofIngressRule
-