Class CfnPipe.EcsEnvironmentVariableProperty
The environment variables to send to the container.
Inheritance
System.Object
CfnPipe.EcsEnvironmentVariableProperty
Implements
Namespace: Amazon.CDK.AWS.Pipes
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class EcsEnvironmentVariableProperty : Object, CfnPipe.IEcsEnvironmentVariableProperty
Syntax (vb)
Public Class EcsEnvironmentVariableProperty
Inherits Object
Implements CfnPipe.IEcsEnvironmentVariableProperty
Remarks
You can add new environment variables, which are added to the container at launch, or you can override the existing environment variables from the Docker image or the task definition. You must also specify a container name.
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.Pipes;
var ecsEnvironmentVariableProperty = new EcsEnvironmentVariableProperty {
Name = "name",
Value = "value"
};
Synopsis
Constructors
EcsEnvironmentVariableProperty() |
Properties
Name | The name of the key-value pair. |
Value | The value of the key-value pair. |
Constructors
EcsEnvironmentVariableProperty()
public EcsEnvironmentVariableProperty()
Properties
Name
The name of the key-value pair.
public string Name { get; set; }
Property Value
System.String
Remarks
For environment variables, this is the name of the environment variable.
Value
The value of the key-value pair.
public string Value { get; set; }
Property Value
System.String
Remarks
For environment variables, this is the value of the environment variable.