View a markdown version of this page

AWS::MediaTailor::Function CustomOutputConfiguration - AWS CloudFormation

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 CustomOutputConfiguration

The configuration for a CUSTOM_OUTPUT function. MediaTailor evaluates the output expressions against the current session state and commits the results as output bindings. CUSTOM_OUTPUT functions do not make external calls. For more information, see CUSTOM_OUTPUT in the MediaTailor User Guide.

Syntax

To declare this entity in your CloudFormation template, use the following syntax:

JSON

{ "Output" : {Key: Value, ...}, "Runtime" : String }

YAML

Output: Key: Value Runtime: String

Properties

Output

A map of output bindings. Each key is a namespaced output path (such as player_params.device_type or temp.variant), and each value is an expression that MediaTailor evaluates at runtime against the current session state. For more information about expression syntax, see JSONata expression reference in the MediaTailor User Guide.

Required: No

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: JSONATA

Update requires: No interruption