Interface CfnFleet.ContainerGroupsConfigurationProperty

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

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

Configuration details for a set of container groups, for use when creating a fleet with compute type CONTAINER .

Used with: CreateFleet

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.*;
 ContainerGroupsConfigurationProperty containerGroupsConfigurationProperty = ContainerGroupsConfigurationProperty.builder()
         .connectionPortRange(ConnectionPortRangeProperty.builder()
                 .fromPort(123)
                 .toPort(123)
                 .build())
         .containerGroupDefinitionNames(List.of("containerGroupDefinitionNames"))
         // the properties below are optional
         .containerGroupsPerInstance(ContainerGroupsPerInstanceProperty.builder()
                 .desiredReplicaContainerGroupsPerInstance(123)
                 .maxReplicaContainerGroupsPerInstance(123)
                 .build())
         .build();
 

See Also: