Interface CfnContainerFleet.IpPermissionProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnContainerFleet.IpPermissionProperty.Jsii$Proxy
Enclosing class:
CfnContainerFleet

@Stability(Stable) public static interface CfnContainerFleet.IpPermissionProperty extends software.amazon.jsii.JsiiSerializable
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 Realtime Servers fleets, Amazon 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 software.amazon.awscdk.services.gamelift.*;
 IpPermissionProperty ipPermissionProperty = IpPermissionProperty.builder()
         .fromPort(123)
         .ipRange("ipRange")
         .protocol("protocol")
         .toPort(123)
         .build();
 

See Also: