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.
| Source | |
|---|---|
| Type last changed |
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',
},
};
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_mediatailor as mediatailor
sequential_executor_configuration_property = mediatailor.CfnFunction.SequentialExecutorConfigurationProperty(
function_list=[mediatailor.CfnFunction.FunctionRefProperty(
alias="alias",
function_id="functionId",
run_condition="runCondition"
)],
runtime="runtime",
timeout_milliseconds=123,
# the properties below are optional
output={
"output_key": "output"
}
)
// 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();
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaTailor;
var sequentialExecutorConfigurationProperty = new SequentialExecutorConfigurationProperty {
FunctionList = new [] { new FunctionRefProperty {
Alias = "alias",
FunctionId = "functionId",
RunCondition = "runCondition"
} },
Runtime = "runtime",
TimeoutMilliseconds = 123,
// the properties below are optional
Output = new Dictionary<string, string> {
{ "outputKey", "output" }
}
};
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
sequentialExecutorConfigurationProperty := &SequentialExecutorConfigurationProperty{
FunctionList: []interface{}{
&FunctionRefProperty{
Alias: jsii.String("alias"),
FunctionId: jsii.String("functionId"),
RunCondition: jsii.String("runCondition"),
},
},
Runtime: jsii.String("runtime"),
TimeoutMilliseconds: jsii.Number(123),
// the properties below are optional
Output: map[string]*string{
"outputKey": jsii.String("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.
outputoptionalIResolvable | { [key: string]: string }outputoptionaltyping.Union[IResolvable, typing.Mapping[str, str]]outputoptionalIResolvableOutputoptionalIResolvableOutputoptionalinterface{} #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*float64 required #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.