# RuleTargetInputProperties

The input properties for an event target.

- Source: [`aws-events/lib/input.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-events/lib/input.ts#L127)

## 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

- `input`: string — 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`.

- `inputPath`: string — JsonPath to take input from the input event.

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

- `inputPathsMap`: { [key: string]: string } — Paths map to extract values from event and insert into `inputTemplate`.

  **Default:** No values extracted from event.

- `inputTemplate`: string = None. — Input template to insert paths map into.
