IngressRule
- class aws_cdk.aws_gamelift_alpha.IngressRule(*, port, source)
Bases:
object
(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.
- Parameters:
- Stability:
experimental
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_gamelift_alpha as gamelift_alpha # peer: gamelift_alpha.IPeer # port: gamelift_alpha.Port ingress_rule = gamelift_alpha.IngressRule( port=port, source=peer )
Attributes
- port
(experimental) The port range used for ingress traffic.
- Stability:
experimental
- source
(experimental) A range of allowed IP addresses .
- Stability:
experimental