TaskEnvironmentVariable

class aws_cdk.aws_stepfunctions_tasks.TaskEnvironmentVariable(*, name, value)

Bases: object

An environment variable to be set in the container run as a task.

Parameters
  • name (str) – Name for the environment variable. Use JsonPath class’s static methods to specify name from a JSON path.

  • value (str) – Value of the environment variable. Use JsonPath class’s static methods to specify value from a JSON path.

Attributes

name

Name for the environment variable.

Use JsonPath class’s static methods to specify name from a JSON path.

Return type

str

value

Value of the environment variable.

Use JsonPath class’s static methods to specify value from a JSON path.

Return type

str