IpPermissionProperty Struct
A range of IP addresses and port settings that allow inbound traffic to connect to processes on an instance in a fleet.
Processes are assigned an IP address/port number combination, which must fall into the fleet's allowed ranges.
For Amazon GameLift Servers Realtime fleets, Amazon GameLift Servers 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 { aws_gamelift as gamelift } from 'aws-cdk-lib';
const ipPermissionProperty: gamelift.CfnContainerFleet.IpPermissionProperty = {
fromPort: 123,
ipRange: 'ipRange',
protocol: 'protocol',
toPort: 123,
};
Properties
For fleets using Linux builds, only ports 22 and 1026-60000 are valid.
For fleets using Windows builds, only ports 1026-60000 are valid.
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] ".
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.