Function
Defines reusable logic that MediaTailor executes at lifecycle hooks during ad insertion. The FunctionType determines the function's runtime behavior. For more information about functions, see Working with functions in the MediaTailor User Guide.
Contents
- FunctionId
-
The identifier of the function.
Type: String
Required: Yes
- FunctionType
-
The type of the function.
Type: String
Valid Values:
HTTP_REQUEST | CUSTOM_OUTPUT | SEQUENTIAL_EXECUTORRequired: Yes
- Arn
-
The Amazon Resource Name (ARN) of the function.
Type: String
Required: No
- CustomOutputConfiguration
-
The configuration for a
CUSTOM_OUTPUTfunction.Type: CustomOutputConfiguration object
Required: No
- Description
-
A description of the function.
Type: String
Required: No
- HttpRequestConfiguration
-
The configuration for an
HTTP_REQUESTfunction.Type: HttpRequestConfiguration object
Required: No
- SequentialExecutorConfiguration
-
The configuration for a
SEQUENTIAL_EXECUTORfunction.Type: SequentialExecutorConfiguration object
Required: No
-
The tags assigned to the function. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor Resources.
Type: String to string map
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: