ConcurrentExecutorConfigurationProperty Struct
The configuration for a CONCURRENT_EXECUTOR function.
A CONCURRENT_EXECUTOR runs a set of child functions in parallel, up to a maximum concurrency, and combines their output when all functions complete. 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 concurrentExecutorConfigurationProperty: mediatailor.CfnFunction.ConcurrentExecutorConfigurationProperty = {
functionList: [{
alias: 'alias',
functionId: 'functionId',
runCondition: 'runCondition',
}],
maxConcurrency: 123,
output: {
outputKey: 'output',
},
runtime: 'runtime',
timeoutMilliseconds: 123,
};
Properties
functionListIResolvable | IResolvable | CfnFunction.FunctionRefProperty[]function_listtyping.Union[IResolvable, typing.List[typing.Union[IResolvable, FunctionRefProperty]]]functionListIResolvableFunctionListIResolvableFunctionListinterface{}required#notes
Each entry specifies a child function to execute and an optional run condition expression that controls whether the function runs. Child functions cannot themselves be executors, and each child function's resolved namespace must be unique across the list.
maxConcurrencynumbermax_concurrencyint | floatmaxConcurrencyNumberMaxConcurrencydoubleMaxConcurrency*float64required#When the list contains more functions than MaxConcurrency, MediaTailor starts additional functions as running ones complete, so that no more than MaxConcurrency functions run at the same time. Valid values are 1 to 2.
outputIResolvable | { [key: string]: string }outputtyping.Union[IResolvable, typing.Mapping[str, str]]outputIResolvableOutputIResolvableOutputinterface{}required#Each key is a namespaced output path, and each value is an expression that MediaTailor evaluates against the combined results of the child functions.
Set this to JSONATA.
timeoutMillisecondsnumbertimeout_millisecondsint | floattimeoutMillisecondsNumberTimeoutMillisecondsdoubleTimeoutMilliseconds*float64required#notes
This timeout covers every function in the list, including any HTTP calls the child functions make. If the executor exceeds this timeout, MediaTailor discards all output from the executor and proceeds with default behavior. Valid values are 100 to 2000.