Interface ITaskEnvironmentVariable
An environment variable to be set in the container run as a task.
Namespace: Amazon.CDK.AWS.Events.Targets
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ITaskEnvironmentVariable
Syntax (vb)
Public Interface ITaskEnvironmentVariable
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.Events.Targets;
var taskEnvironmentVariable = new TaskEnvironmentVariable {
Name = "name",
Value = "value"
};
Synopsis
Properties
Name | Name for the environment variable. |
Value | Value of the environment variable. |
Properties
Name
Name for the environment variable.
string Name { get; }
Property Value
System.String
Remarks
Exactly one of name
and namePath
must be specified.
Value
Value of the environment variable.
string Value { get; }
Property Value
System.String
Remarks
Exactly one of value
and valuePath
must be specified.