RuleInputTransformer

data class RuleInputTransformer(val inputPathsMap: Map<String, String>? = null, val inputTemplate: String)

Constructors

Link copied to clipboard
constructor(inputPathsMap: Map<String, String>? = null, inputTemplate: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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 100 key-value pairs. You must use JSON dot notation, not bracket notation. The keys cannot start with " AWS ."

Link copied to clipboard

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 If InputTemplate is a JSON object (surrounded by curly braces), the following restrictions apply: