AWS::Events::Rule InputTransformer - AWS CloudFormation

AWS::Events::Rule InputTransformer

The InputTransformer property type specifies settings that provide custom input to an EventBridge target based on certain event data.

InputTransformer is a property of the Target property type.

Syntax

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

JSON

{ "InputPathsMap" : {Key : Value, ...}, "InputTemplate" : String }

YAML

InputPathsMap: Key : Value InputTemplate: String

Properties

InputPathsMap

Map of JSON paths to be extracted from the event. You can then insert these in the template in InputTemplate to produce the output you want to be sent to the target.

InputPathsMap is an array key-value pairs, where each value is a valid JSON path. You can have as many as 10 key-value pairs. You must use JSON dot notation, not bracket notation.

The keys cannot start with "AWS."

Required: No

Type: Map of String

Update requires: No interruption

InputTemplate

Input template where you specify placeholders that will be filled with the values of the keys from InputPathsMap to customize the data sent to the target. Enclose each InputPathsMaps value in brackets: <value> The InputTemplate must be valid JSON. For more information, see InputTransformer in the Amazon EventBridge API Reference.

Required: Yes

Type: String

Minimum: 1

Maximum: 8192

Update requires: No interruption