FunctionRefProperty Struct
A reference to a child function within an executor function.
Example
ts
// 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 functionRefProperty: mediatailor.CfnFunction.FunctionRefProperty = {
alias: 'alias',
functionId: 'functionId',
runCondition: 'runCondition',
};
Properties
An optional alternate name for the child function within the executor.
MediaTailor uses this value as the namespace for the child function's output. If omitted, MediaTailor uses the function identifier. The resolved namespace must be unique across all child functions in the list.
functionIdoptionalstringfunction_idoptionalstrfunctionIdoptionalStringFunctionIdoptionalstringFunctionIdoptional*string#The identifier of the child function to execute.
runConditionoptionalstringrun_conditionoptionalstrrunConditionoptionalStringRunConditionoptionalstringRunConditionoptional*string#An optional expression that evaluates to a boolean.
notes
MediaTailor evaluates this expression immediately before running the child function, using the accumulated state at that point. If the expression evaluates to false, MediaTailor skips the child function. If omitted, the child function always runs.