Amazon CloudWatch Events Rule InputTransformer
The
InputTransformer property type specifies settings that provide custom input to an Amazon CloudWatch
Events rule 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" : {String:String, ...}, "InputTemplate" :String}
YAML
InputPathsMap:String:StringInputTemplate:String
Properties
For more information, including constraints, see InputTransformer in the Amazon CloudWatch Events API Reference.
InputPathsMap-
The map of JSON paths to extract from the event, as key-value pairs where each value is a JSON path. You must use JSON dot notation, not bracket notation. Duplicates aren't allowed.
Required: No
Type: String-to-string map
Update requires: No interruption
InputTemplate-
The input template where you can use the values of the keys from
InputPathsMapto customize the data that's sent to the target.Required: Yes
Type: String
Update requires: No interruption
