View a markdown version of this page

AWS::MediaTailor::Function CustomOutputConfiguration - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon 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 Amazon 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