AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
The properties that describe a container group resource. You can update all properties of a container group definition properties. Updates to a container group definition are saved as new versions.
Used with: CreateContainerGroupDefinition
Returned by: DescribeContainerGroupDefinition, ListContainerGroupDefinitions, UpdateContainerGroupDefinition
Namespace: Amazon.GameLift.Model
Assembly: AWSSDK.GameLift.dll
Version: 3.x.y.z
public class ContainerGroupDefinition
The ContainerGroupDefinition type exposes the following members
Name | Description | |
---|---|---|
ContainerGroupDefinition() |
Name | Type | Description | |
---|---|---|---|
ContainerGroupDefinitionArn | System.String |
Gets and sets the property ContainerGroupDefinitionArn.
The Amazon Resource Name (ARN)
that is assigned to an Amazon GameLift |
|
ContainerGroupType | Amazon.GameLift.ContainerGroupType |
Gets and sets the property ContainerGroupType. The type of container group. Container group type determines how Amazon GameLift deploys the container group on each fleet instance. |
|
CreationTime | System.DateTime |
Gets and sets the property CreationTime.
A time stamp indicating when this data object was created. Format is a number expressed
in Unix time as milliseconds (for example |
|
GameServerContainerDefinition | Amazon.GameLift.Model.GameServerContainerDefinition |
Gets and sets the property GameServerContainerDefinition.
The definition for the game server container in this group. This property is used
only when the container group type is |
|
Name | System.String |
Gets and sets the property Name. A descriptive identifier for the container group definition. The name value is unique in an Amazon Web Services Region. |
|
OperatingSystem | Amazon.GameLift.ContainerOperatingSystem |
Gets and sets the property OperatingSystem. The platform that all containers in the container group definition run on. Amazon Linux 2 (AL2) will reach end of support on 6/30/2025. See more details in the Amazon Linux 2 FAQs. For game servers that are hosted on AL2 and use Amazon GameLift server SDK 4.x, first update the game server build to server SDK 5.x, and then deploy to AL2023 instances. See Migrate to Amazon GameLift server SDK version 5. |
|
Status | Amazon.GameLift.ContainerGroupDefinitionStatus |
Gets and sets the property Status. Current status of the container group definition resource. Values include:
|
|
StatusReason | System.String |
Gets and sets the property StatusReason.
Additional information about a container group definition that's in
|
|
SupportContainerDefinitions | System.Collections.Generic.List<Amazon.GameLift.Model.SupportContainerDefinition> |
Gets and sets the property SupportContainerDefinitions. The set of definitions for support containers in this group. A container group definition might have zero support container definitions. Support container can be used in any type of container group. |
|
TotalMemoryLimitMebibytes | System.Int32 |
Gets and sets the property TotalMemoryLimitMebibytes. The amount of memory (in MiB) on a fleet instance to allocate for the container group. All containers in the group share these resources. You can set a limit for each container definition in the group. If individual containers have limits, this total value must be greater than any individual container's memory limit. |
|
TotalVcpuLimit | System.Double |
Gets and sets the property TotalVcpuLimit. The amount of vCPU units on a fleet instance to allocate for the container group (1 vCPU is equal to 1024 CPU units). All containers in the group share these resources. You can set a limit for each container definition in the group. If individual containers have limits, this total value must be equal to or greater than the sum of the limits for each container in the group. |
|
VersionDescription | System.String |
Gets and sets the property VersionDescription. An optional description that was provided for a container group definition update. Each version can have a unique description. |
|
VersionNumber | System.Int32 |
Gets and sets the property VersionNumber. Indicates the version of a particular container group definition. This number is incremented automatically when you update a container group definition. You can view, update, or delete individual versions or the entire container group definition. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5