Class CfnContainerGroupDefinition.ContainerEnvironmentProperty
This data type is used with the Amazon GameLift containers feature, which is currently in public preview..
Inheritance
System.Object
CfnContainerGroupDefinition.ContainerEnvironmentProperty
Namespace: Amazon.CDK.AWS.GameLift
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ContainerEnvironmentProperty : Object, CfnContainerGroupDefinition.IContainerEnvironmentProperty
Syntax (vb)
Public Class ContainerEnvironmentProperty
Inherits Object
Implements CfnContainerGroupDefinition.IContainerEnvironmentProperty
Remarks
An environment variable to set inside a container, in the form of a key-value pair.
Related data type: ContainerDefinition$Environment
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() |
Properties
Name | The environment variable name. |
Value | The environment variable value. |
Constructors
ContainerEnvironmentProperty()
public ContainerEnvironmentProperty()
Properties
Name
The environment variable name.
public string Name { get; set; }
Property Value
System.String
Remarks
Value
The environment variable value.
public string Value { get; set; }
Property Value
System.String