SequentialExecutorConfigurationProperty Struct
The configuration for a SEQUENTIAL_EXECUTOR function.
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 { aws_mediatailor as mediatailor } from 'aws-cdk-lib';
const sequentialExecutorConfigurationProperty: mediatailor.CfnFunction.SequentialExecutorConfigurationProperty = {
functionList: [{
alias: 'alias',
functionId: 'functionId',
runCondition: 'runCondition',
}],
runtime: 'runtime',
timeoutMilliseconds: 123,
// the properties below are optional
output: {
outputKey: 'output',
},
};
Properties
functionListIResolvable | IResolvable | CfnFunction.FunctionRefProperty[]function_listtyping.Union[IResolvable, typing.List[typing.Union[IResolvable, FunctionRefProperty]]]functionListIResolvableFunctionListIResolvableFunctionListinterface{}required#notes
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.
outputIResolvable | { [key: string]: string }outputtyping.Union[IResolvable, typing.Mapping[str, str]]outputIResolvableOutputIResolvableOutputinterface{}#Each key is a namespaced output path, and each value is an expression that MediaTailor evaluates against the accumulated results of the steps.
Set this to JSONATA.
timeoutMillisecondsnumbertimeout_millisecondsint | floattimeoutMillisecondsNumberTimeoutMillisecondsdoubleTimeoutMilliseconds*float64required#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.