aws-cdk-lib.aws_batch.CfnJobDefinition.EnvironmentProperty

interface EnvironmentProperty

LanguageType name
.NETAmazon.CDK.AWS.Batch.CfnJobDefinition.EnvironmentProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsbatch#CfnJobDefinition_EnvironmentProperty
Javasoftware.amazon.awscdk.services.batch.CfnJobDefinition.EnvironmentProperty
Pythonaws_cdk.aws_batch.CfnJobDefinition.EnvironmentProperty
TypeScript aws-cdk-lib » aws_batch » CfnJobDefinition » EnvironmentProperty

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

Example

// 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

NameTypeDescription
name?stringThe name of the environment variable.
value?stringThe value of the environment variable.

name?

Type: string (optional)

The name of the environment variable.


value?

Type: string (optional)

The value of the environment variable.