interface EnvironmentProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Batch.CfnJobDefinition.EnvironmentProperty |
Java | software.amazon.awscdk.services.batch.CfnJobDefinition.EnvironmentProperty |
Python | aws_cdk.aws_batch.CfnJobDefinition.EnvironmentProperty |
TypeScript | @aws-cdk/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 * as batch from '@aws-cdk/aws-batch';
const environmentProperty: batch.CfnJobDefinition.EnvironmentProperty = {
name: 'name',
value: 'value',
};
Properties
Name | Type | Description |
---|---|---|
name? | string | The name of the environment variable. |
value? | string | The 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.