interface IngressRule
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.GameLift.Alpha.IngressRule |
![]() | github.com/aws/aws-cdk-go/awscdkgameliftalpha/v2#IngressRule |
![]() | software.amazon.awscdk.services.gamelift.alpha.IngressRule |
![]() | aws_cdk.aws_gamelift_alpha.IngressRule |
![]() | @aws-cdk/aws-gamelift-alpha » IngressRule |
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 * as gamelift_alpha from '@aws-cdk/aws-gamelift-alpha';
declare const peer: gamelift_alpha.IPeer;
declare const port: gamelift_alpha.Port;
const ingressRule: gamelift_alpha.IngressRule = {
port: port,
source: peer,
};
Properties
Name | Type | Description |
---|---|---|
port | Port | The port range used for ingress traffic. |
source | IPeer | A range of allowed IP addresses . |
port
Type:
Port
The port range used for ingress traffic.
source
Type:
IPeer
A range of allowed IP addresses .