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.

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_stepfunctions_tasks as stepfunctions_tasks

task_environment_variable = stepfunctions_tasks.TaskEnvironmentVariable(
    name="name",
    value="value"
)

Attributes

name

Name for the environment variable.

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

value

Value of the environment variable.

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