Interface CfnContainerGroupDefinition.ContainerPortRangeProperty

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

@Stability(Stable) public static interface CfnContainerGroupDefinition.ContainerPortRangeProperty extends software.amazon.jsii.JsiiSerializable
This data type is used with the Amazon GameLift containers feature, which is currently in public preview..

A set of one or more port numbers that can be opened on the container.

Part of: ContainerPortConfiguration

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.*;
 ContainerPortRangeProperty containerPortRangeProperty = ContainerPortRangeProperty.builder()
         .fromPort(123)
         .protocol("protocol")
         .toPort(123)
         .build();
 

See Also: