TaskEnvironmentVariable

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

Bases: object

__init__(*, name, value)

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

Parameters
  • name (str) – Name for the environment variable. Exactly one of name and namePath must be specified.

  • value (str) – Value of the environment variable. Exactly one of value and valuePath must be specified.

stability :stability: experimental

Attributes

name

Name for the environment variable.

Exactly one of name and namePath must be specified.

stability :stability: experimental

Return type

str

value

Value of the environment variable.

Exactly one of value and valuePath must be specified.

stability :stability: experimental

Return type

str