RuleTargetInputProperties

class aws_cdk.aws_events.RuleTargetInputProperties(*, input=None, input_path=None, input_paths_map=None, input_template=None)

Bases: object

The input properties for an event target.

Parameters
  • input (Optional[str]) – 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.

  • input_path (Optional[str]) – JsonPath to take input from the input event. Default: - None. The entire matched event is passed as input

  • input_paths_map (Optional[Mapping[str, str]]) – Paths map to extract values from event and insert into inputTemplate. Default: - No values extracted from event.

  • input_template (Optional[str]) – Input template to insert paths map into. Default: - None.

Attributes

input

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.

Return type

Optional[str]

input_path

JsonPath to take input from the input event.

Default
  • None. The entire matched event is passed as input

Return type

Optional[str]

input_paths_map

Paths map to extract values from event and insert into inputTemplate.

Default
  • No values extracted from event.

Return type

Optional[Mapping[str, str]]

input_template

Input template to insert paths map into.

Default
  • None.

Return type

Optional[str]