This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::MediaTailor::Function ConcurrentExecutorConfiguration
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 in the MediaTailor User Guide.
Syntax
To declare this entity in your CloudFormation template, use the following syntax:
JSON
{ "FunctionList" :[ FunctionRef, ... ], "MaxConcurrency" :Integer, "Output" :{, "Runtime" :Key:Value, ...}String, "TimeoutMilliseconds" :Integer}
YAML
FunctionList:- FunctionRefMaxConcurrency:IntegerOutput:Runtime:Key:ValueStringTimeoutMilliseconds:Integer
Properties
FunctionList-
The list of child functions that MediaTailor runs in parallel. Each entry specifies a child function to execute and an optional run condition expression that controls whether the function runs.
Required: Yes
Type: Array of FunctionRef
Minimum:
1Maximum:
10Update requires: No interruption
MaxConcurrency-
The maximum number of child functions that MediaTailor runs simultaneously. When the list contains more functions than
MaxConcurrency, MediaTailor starts additional functions as running ones complete, so that no more thanMaxConcurrencyfunctions run at the same time.Required: Yes
Type: Integer
Minimum:
1Maximum:
2Update requires: No interruption
Output-
A map of output bindings that controls which bindings the executor commits to the session state after all child functions complete. Each key is a namespaced output path, and each value is an expression that MediaTailor evaluates against the combined results of the child functions.
Required: Yes
Type: Object of String
Pattern:
.*Update requires: No interruption
Runtime-
The expression language used to evaluate expressions in the function configuration. Set this to
JSONata.Required: Yes
Type: String
Allowed values:
JSONATAUpdate requires: No interruption
TimeoutMilliseconds-
The maximum time, in milliseconds, for all child functions to complete. 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.
Required: Yes
Type: Integer
Minimum:
100Maximum:
2000Update requires: No interruption