Class CfnContainer.EnvironmentVariableProperty
EnvironmentVariable
is a property of the Container property. It describes the environment variables of a container on a container service which are key-value parameters that provide dynamic configuration of the application or script run by the container.
Inheritance
System.Object
CfnContainer.EnvironmentVariableProperty
Implements
Namespace: Amazon.CDK.AWS.Lightsail
Assembly: Amazon.CDK.AWS.Lightsail.dll
Syntax (csharp)
public class EnvironmentVariableProperty : Object, CfnContainer.IEnvironmentVariableProperty
Syntax (vb)
Public Class EnvironmentVariableProperty
Inherits Object
Implements CfnContainer.IEnvironmentVariableProperty
Remarks
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.Lightsail;
var environmentVariableProperty = new EnvironmentVariableProperty {
Value = "value",
Variable = "variable"
};
Synopsis
Constructors
EnvironmentVariableProperty() |
Properties
Value | The environment variable value. |
Variable | The environment variable key. |
Constructors
EnvironmentVariableProperty()
public EnvironmentVariableProperty()
Properties
Value
The environment variable value.
public string Value { get; set; }
Property Value
System.String
Remarks
Variable
The environment variable key.
public string Variable { get; set; }
Property Value
System.String