Interface CfnFunction.SequentialExecutorConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnFunction.SequentialExecutorConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnFunction
A SEQUENTIAL_EXECUTOR runs an ordered list of child functions one at a time, passing data between them. For more information about functions, see Working with functions (https://docs.aws.amazon.com/mediatailor/latest/ug/monetization-functions.html) in the MediaTailor User Guide.
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.mediatailor.*;
SequentialExecutorConfigurationProperty sequentialExecutorConfigurationProperty = SequentialExecutorConfigurationProperty.builder()
.functionList(List.of(FunctionRefProperty.builder()
.alias("alias")
.functionId("functionId")
.runCondition("runCondition")
.build()))
.runtime("runtime")
.timeoutMilliseconds(123)
// the properties below are optional
.output(Map.of(
"outputKey", "output"))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnFunction.SequentialExecutorConfigurationPropertystatic final classAn implementation forCfnFunction.SequentialExecutorConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()An ordered list of 1 to 10 steps.default ObjectA map of output bindings that controls which bindings the sequence commits to the session state after all steps complete.The expression language used to evaluate expressions in the function configuration.The maximum time, in milliseconds, for the entire sequence to complete.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getFunctionList
An ordered list of 1 to 10 steps.Each step specifies a child function to execute and an optional run condition expression that controls whether the step runs. MediaTailor executes the steps in order, passing data between steps through temporary data. Each step's resolved namespace must be unique across the list.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnFunction.FunctionRefProperty>- See Also:
-
getRuntime
The expression language used to evaluate expressions in the function configuration.Set this to JSONATA.
- See Also:
-
getTimeoutMilliseconds
The maximum time, in milliseconds, for the entire sequence to complete.This timeout covers all steps, including any HTTP calls made by child functions. If the sequence exceeds this timeout, MediaTailor discards all output from the sequence and proceeds with default behavior. Valid values are 100 to 2000.
- See Also:
-
getOutput
A map of output bindings that controls which bindings the sequence commits to the session state after all steps complete.Each key is a namespaced output path, and each value is an expression that MediaTailor evaluates against the accumulated results of the steps.
Returns union: either
IResolvableor Mapinvalid input: '<'String,String>- See Also:
-
builder
-