@aws-cdk_aws-gamelift-alpha.IngressRule

interface IngressRule ๐Ÿ”น

LanguageType name
.NETAmazon.CDK.AWS.GameLift.Alpha.IngressRule
Gogithub.com/aws/aws-cdk-go/awscdkgameliftalpha/v2#IngressRule
Javasoftware.amazon.awscdk.services.gamelift.alpha.IngressRule
Pythonaws_cdk.aws_gamelift_alpha.IngressRule
TypeScript (source)@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

NameTypeDescription
port๐Ÿ”นPortThe port range used for ingress traffic.
source๐Ÿ”นIPeerA range of allowed IP addresses .

port๐Ÿ”น

Type: Port

The port range used for ingress traffic.


source๐Ÿ”น

Type: IPeer

A range of allowed IP addresses .