Amazon EventBridge · JSON Structure

Amazon Eventbridge Target Structure

Target schema from Amazon EventBridge API

Type: object Properties: 6 Required: 2
Amazon Web ServicesEvent BusEvent-DrivenEventsIntegrationServerless

Target is a JSON Structure definition published by Amazon EventBridge, describing 6 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

Id Arn RoleArn Input InputPath InputTransformer

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-eventbridge/refs/heads/main/json-structure/amazon-eventbridge-target-structure.json",
  "name": "Target",
  "description": "Target schema from Amazon EventBridge API",
  "type": "object",
  "properties": {
    "Id": {
      "type": "string",
      "description": "The ID of the target."
    },
    "Arn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the target."
    },
    "RoleArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the IAM role."
    },
    "Input": {
      "type": "string",
      "description": "Valid JSON text passed to the target."
    },
    "InputPath": {
      "type": "string",
      "description": "JSONPath to extract from the event and send to the target."
    },
    "InputTransformer": {
      "type": "object",
      "properties": {
        "InputPathsMap": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "InputTemplate": {
          "type": "string"
        }
      },
      "description": "Settings to transform input before sending to the target."
    }
  },
  "required": [
    "Id",
    "Arn"
  ]
}