TaskEnvironmentVariable
- class aws_cdk.aws_stepfunctions_tasks.TaskEnvironmentVariable(*, name, value)
Bases:
objectAn environment variable to be set in the container run as a task.
- Parameters:
name (
str) – Name for the environment variable. UseJsonPathclass’s static methods to specify name from a JSON path.value (
str) – Value of the environment variable. UseJsonPathclass’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. from aws_cdk import aws_stepfunctions_tasks as stepfunctions_tasks task_environment_variable = stepfunctions_tasks.TaskEnvironmentVariable( name="name", value="value" )
Attributes
- name
Name for the environment variable.
Use
JsonPathclass’s static methods to specify name from a JSON path.
- value
Value of the environment variable.
Use
JsonPathclass’s static methods to specify value from a JSON path.