Class CfnContainerGroupDefinition.ContainerEnvironmentProperty
An environment variable to set inside a container, in the form of a key-value pair.
Inherited Members
Namespace: Amazon.CDK.AWS.GameLift
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnContainerGroupDefinition.ContainerEnvironmentProperty : CfnContainerGroupDefinition.IContainerEnvironmentProperty
Syntax (vb)
Public Class CfnContainerGroupDefinition.ContainerEnvironmentProperty Implements CfnContainerGroupDefinition.IContainerEnvironmentProperty
Remarks
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 containerEnvironmentProperty = new ContainerEnvironmentProperty {
Name = "name",
Value = "value"
};
Synopsis
Constructors
ContainerEnvironmentProperty() | An environment variable to set inside a container, in the form of a key-value pair. |
Properties
Name | The environment variable name. |
Value | The environment variable value. |
Constructors
ContainerEnvironmentProperty()
An environment variable to set inside a container, in the form of a key-value pair.
public ContainerEnvironmentProperty()
Remarks
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 containerEnvironmentProperty = new ContainerEnvironmentProperty {
Name = "name",
Value = "value"
};
Properties
Name
The environment variable name.
public string Name { get; set; }
Property Value
Remarks
Value
The environment variable value.
public string Value { get; set; }