Class CfnJobDefinition.EnvironmentProperty
The Environment property type specifies environment variables to use in a job definition.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.Batch
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnJobDefinition.EnvironmentProperty : CfnJobDefinition.IEnvironmentProperty
Syntax (vb)
Public Class CfnJobDefinition.EnvironmentProperty Implements CfnJobDefinition.IEnvironmentProperty
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.Batch;
var environmentProperty = new EnvironmentProperty {
Name = "name",
Value = "value"
};
Synopsis
Constructors
| EnvironmentProperty() | The Environment property type specifies environment variables to use in a job definition. |
Properties
| Name | The name of the environment variable. |
| Value | The value of the environment variable. |
Constructors
EnvironmentProperty()
The Environment property type specifies environment variables to use in a job definition.
public EnvironmentProperty()
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.Batch;
var environmentProperty = new EnvironmentProperty {
Name = "name",
Value = "value"
};
Properties
Name
The name of the environment variable.
public string? Name { get; set; }
Property Value
Remarks
Value
The value of the environment variable.
public string? Value { get; set; }