RuleTargetInputProperties Struct
The input properties for an event target.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_events as events } from 'aws-cdk-lib';
const ruleTargetInputProperties: events.RuleTargetInputProperties = {
input: 'input',
inputPath: 'inputPath',
inputPathsMap: {
inputPathsMapKey: 'inputPathsMap',
},
inputTemplate: 'inputTemplate',
};
Properties
Literal input to the target service (must be valid JSON).
Default: input for the event target. If the input contains a paths map values wil be extracted from event and inserted into the inputTemplate.
inputPathoptionalstringinput_pathoptionalstrinputPathoptionalStringInputPathoptionalstringInputPathoptional*string#JsonPath to take input from the input event.
Default: None. The entire matched event is passed as input
inputPathsMapoptional{ [key: string]: string }input_paths_mapoptionaltyping.Mapping[str, str]inputPathsMapoptionalMap<String, String>InputPathsMapoptionalIDictionary<string, string>InputPathsMapoptional*map[string]*string#Paths map to extract values from event and insert into `inputTemplate`.
Default: No values extracted from event.
inputTemplateoptionalstringinput_templateoptionalstrinputTemplateoptionalStringInputTemplateoptionalstringInputTemplateoptional*string= None.#Input template to insert paths map into.