Class CfnPipe.BatchEnvironmentVariableProperty
The environment variables to send to the container.
Inheritance
System.Object
CfnPipe.BatchEnvironmentVariableProperty
Implements
Namespace: Amazon.CDK.AWS.Pipes
Assembly: Amazon.CDK.AWS.Pipes.dll
Syntax (csharp)
public class BatchEnvironmentVariableProperty : Object, CfnPipe.IBatchEnvironmentVariableProperty
Syntax (vb)
Public Class BatchEnvironmentVariableProperty
Inherits Object
Implements CfnPipe.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
Constructors
BatchEnvironmentVariableProperty() |
Properties
Name | The name of the key-value pair. |
Value | The value of the key-value pair. |
Constructors
BatchEnvironmentVariableProperty()
public BatchEnvironmentVariableProperty()
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.