Class CfnContainerGroupDefinition.ContainerDependencyProperty
A container's dependency on another container in the same container group.
Inherited Members
Namespace: Amazon.CDK.AWS.GameLift
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnContainerGroupDefinition.ContainerDependencyProperty : CfnContainerGroupDefinition.IContainerDependencyProperty
Syntax (vb)
Public Class CfnContainerGroupDefinition.ContainerDependencyProperty Implements CfnContainerGroupDefinition.IContainerDependencyProperty
Remarks
The dependency impacts how the dependent container is able to start or shut down based the status of the other container.
For example, ContainerA is configured with the following dependency: a START dependency on ContainerB . This means that ContainerA can't start until ContainerB has started. It also means that ContainerA must shut down before ContainerB .
Part of: GameServerContainerDefinition , GameServerContainerDefinitionInput , SupportContainerDefinition , SupportContainerDefinitionInput
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.GameLift;
var containerDependencyProperty = new ContainerDependencyProperty {
Condition = "condition",
ContainerName = "containerName"
};
Synopsis
Constructors
| ContainerDependencyProperty() | A container's dependency on another container in the same container group. |
Properties
| Condition | The condition that the dependency container must reach before the dependent container can start. Valid conditions include:. |
| ContainerName | A descriptive label for the container definition that this container depends on. |
Constructors
ContainerDependencyProperty()
A container's dependency on another container in the same container group.
public ContainerDependencyProperty()
Remarks
The dependency impacts how the dependent container is able to start or shut down based the status of the other container.
For example, ContainerA is configured with the following dependency: a START dependency on ContainerB . This means that ContainerA can't start until ContainerB has started. It also means that ContainerA must shut down before ContainerB .
Part of: GameServerContainerDefinition , GameServerContainerDefinitionInput , SupportContainerDefinition , SupportContainerDefinitionInput
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.GameLift;
var containerDependencyProperty = new ContainerDependencyProperty {
Condition = "condition",
ContainerName = "containerName"
};
Properties
Condition
The condition that the dependency container must reach before the dependent container can start. Valid conditions include:.
public string Condition { get; set; }
Property Value
Remarks
ContainerName
A descriptive label for the container definition that this container depends on.
public string ContainerName { get; set; }