Show / Hide Table of Contents

Class CfnFleet.IpPermissionProperty

A range of IP addresses and port settings that allow inbound traffic to connect to server processes on an instance in a fleet.

Inheritance
object
CfnFleet.IpPermissionProperty
Implements
CfnFleet.IIpPermissionProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.GameLift
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnFleet.IpPermissionProperty : CfnFleet.IIpPermissionProperty
Syntax (vb)
Public Class CfnFleet.IpPermissionProperty Implements CfnFleet.IIpPermissionProperty
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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-fleet-ippermission.html

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 ipPermissionProperty = new IpPermissionProperty {
                 FromPort = 123,
                 IpRange = "ipRange",
                 Protocol = "protocol",
                 ToPort = 123
             };

Synopsis

Constructors

IpPermissionProperty()

A range of IP addresses and port settings that allow inbound traffic to connect to server processes on an instance in a fleet.

Properties

FromPort

A starting value for a range of allowed port numbers.

IpRange

A range of allowed IP addresses.

Protocol

The network communication protocol used by the fleet.

ToPort

An ending value for a range of allowed port numbers.

Constructors

IpPermissionProperty()

A range of IP addresses and port settings that allow inbound traffic to connect to server processes on an instance in a fleet.

public IpPermissionProperty()
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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-fleet-ippermission.html

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 ipPermissionProperty = new IpPermissionProperty {
                 FromPort = 123,
                 IpRange = "ipRange",
                 Protocol = "protocol",
                 ToPort = 123
             };

Properties

FromPort

A starting value for a range of allowed port numbers.

public double FromPort { get; set; }
Property Value

double

Remarks

For fleets using Linux builds, only ports 22 and 1026-60000 are valid.

For fleets using Windows builds, only ports 1026-60000 are valid.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-fleet-ippermission.html#cfn-gamelift-fleet-ippermission-fromport

IpRange

A range of allowed IP addresses.

public string IpRange { get; set; }
Property Value

string

Remarks

This value must be expressed in CIDR notation. Example: " 000.000.000.000/[subnet mask] " or optionally the shortened version " 0.0.0.0/[subnet mask] ".

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-fleet-ippermission.html#cfn-gamelift-fleet-ippermission-iprange

Protocol

The network communication protocol used by the fleet.

public string Protocol { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-fleet-ippermission.html#cfn-gamelift-fleet-ippermission-protocol

ToPort

An ending value for a range of allowed port numbers.

public double ToPort { get; set; }
Property Value

double

Remarks

Port numbers are end-inclusive. This value must be equal to or greater than FromPort .

For fleets using Linux builds, only ports 22 and 1026-60000 are valid.

For fleets using Windows builds, only ports 1026-60000 are valid.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-fleet-ippermission.html#cfn-gamelift-fleet-ippermission-toport

Implements

CfnFleet.IIpPermissionProperty
Back to top Generated by DocFX