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