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.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.Lightsail
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnContainer.EnvironmentVariableProperty : CfnContainer.IEnvironmentVariableProperty
Syntax (vb)
Public Class CfnContainer.EnvironmentVariableProperty 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()
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.
public EnvironmentVariableProperty()
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"
};
Properties
Value
The environment variable value.
public string? Value { get; set; }
Property Value
Remarks
Variable
The environment variable key.
public string? Variable { get; set; }