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. UseJsonPath
class’s static methods to specify name from a JSON path.value (
str
) – Value of the environment variable. UseJsonPath
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. 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
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.