Interface TaskEnvironmentVariable
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
TaskEnvironmentVariable.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-22T02:24:10.462Z")
@Stability(Stable)
public interface TaskEnvironmentVariable
extends software.amazon.jsii.JsiiSerializable
An environment variable to be set in the container run as a task.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.stepfunctions.tasks.*; TaskEnvironmentVariable taskEnvironmentVariable = TaskEnvironmentVariable.builder() .name("name") .value("value") .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forTaskEnvironmentVariable
static final class
An implementation forTaskEnvironmentVariable
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
Name for the environment variable.Use
JsonPath
class's static methods to specify name from a JSON path. -
getValue
Value of the environment variable.Use
JsonPath
class's static methods to specify value from a JSON path. -
builder
- Returns:
- a
TaskEnvironmentVariable.Builder
ofTaskEnvironmentVariable
-