Interface CfnContainerGroupDefinition.GameServerContainerDefinitionProperty

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

@Stability(Stable) public static interface CfnContainerGroupDefinition.GameServerContainerDefinitionProperty extends software.amazon.jsii.JsiiSerializable
Specifies the information required to run game servers with this container group.

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.*;
 GameServerContainerDefinitionProperty gameServerContainerDefinitionProperty = GameServerContainerDefinitionProperty.builder()
         .containerName("containerName")
         .imageUri("imageUri")
         .serverSdkVersion("serverSdkVersion")
         // the properties below are optional
         .dependsOn(List.of(ContainerDependencyProperty.builder()
                 .condition("condition")
                 .containerName("containerName")
                 .build()))
         .environmentOverride(List.of(ContainerEnvironmentProperty.builder()
                 .name("name")
                 .value("value")
                 .build()))
         .mountPoints(List.of(ContainerMountPointProperty.builder()
                 .instancePath("instancePath")
                 // the properties below are optional
                 .accessLevel("accessLevel")
                 .containerPath("containerPath")
                 .build()))
         .portConfiguration(PortConfigurationProperty.builder()
                 .containerPortRanges(List.of(ContainerPortRangeProperty.builder()
                         .fromPort(123)
                         .protocol("protocol")
                         .toPort(123)
                         .build()))
                 .build())
         .resolvedImageDigest("resolvedImageDigest")
         .build();
 

See Also: