Interface RuleTargetInputProperties

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
RuleTargetInputProperties.Jsii$Proxy

@Generated(value="jsii-pacmak/1.97.0 (build 729de35)", date="2024-04-18T17:54:17.367Z") @Stability(Stable) public interface RuleTargetInputProperties extends software.amazon.jsii.JsiiSerializable
The input properties for an event target.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.events.*;
 RuleTargetInputProperties ruleTargetInputProperties = RuleTargetInputProperties.builder()
         .input("input")
         .inputPath("inputPath")
         .inputPathsMap(Map.of(
                 "inputPathsMapKey", "inputPathsMap"))
         .inputTemplate("inputTemplate")
         .build();
 
  • Method Details

    • getInput

      @Stability(Stable) @Nullable default String getInput()
      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`.

    • getInputPath

      @Stability(Stable) @Nullable default String getInputPath()
      JsonPath to take input from the input event.

      Default: - None. The entire matched event is passed as input

    • getInputPathsMap

      @Stability(Stable) @Nullable default Map<String,String> getInputPathsMap()
      Paths map to extract values from event and insert into inputTemplate.

      Default: - No values extracted from event.

    • getInputTemplate

      @Stability(Stable) @Nullable default String getInputTemplate()
      Input template to insert paths map into.

      Default: - None.

    • builder

      @Stability(Stable) static RuleTargetInputProperties.Builder builder()
      Returns:
      a RuleTargetInputProperties.Builder of RuleTargetInputProperties