Skip to content
v2.274.0

EnvironmentProperty Struct ​

The Environment property type specifies environment variables to use in a job definition.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_batch as batch } from 'aws-cdk-lib';
const environmentProperty: batch.CfnJobDefinition.EnvironmentProperty = {
  name: 'name',
  value: 'value',
};

Properties ​

namestringnamestrnameStringNamestringName*string#
The name of the environment variable.
valuestringvaluestrvalueStringValuestringValue*string#
The value of the environment variable.