Class CfnContainerGroupDefinition.ContainerDependencyProperty
A container's dependency on another container in the same container group.
Inheritance
Namespace: Amazon.CDK.AWS.GameLift
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ContainerDependencyProperty : Object, CfnContainerGroupDefinition.IContainerDependencyProperty
Syntax (vb)
Public Class ContainerDependencyProperty
Inherits Object
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() |
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()
public ContainerDependencyProperty()
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
System.String
Remarks
ContainerName
A descriptive label for the container definition that this container depends on.
public string ContainerName { get; set; }
Property Value
System.String