Interface CfnPipe.IBatchEnvironmentVariableProperty
The environment variables to send to the container.
Namespace: Amazon.CDK.AWS.Pipes
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IBatchEnvironmentVariableProperty
Syntax (vb)
Public Interface IBatchEnvironmentVariableProperty
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.
Environment variables cannot start with " AWS Batch
". This naming convention is reserved for variables that AWS Batch sets.
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 batchEnvironmentVariableProperty = new BatchEnvironmentVariableProperty {
Name = "name",
Value = "value"
};
Synopsis
Properties
Name | The name of the key-value pair. |
Value | The value of the key-value pair. |
Properties
Name
The name of the key-value pair.
virtual string Name { get; }
Property Value
System.String
Remarks
For environment variables, this is the name of the environment variable.
Value
The value of the key-value pair.
virtual string Value { get; }
Property Value
System.String
Remarks
For environment variables, this is the value of the environment variable.