Skip to content

EventBridgeEventObj.detail expects a string instead of an object #752

@nicolai0

Description

@nicolai0

EventBridgeEventObj expects a JSON string in the detail field always as discussed and implemented in #704. I don't know if it's possible for it to actually be a string, but it can definitely be an object. See an example here: https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-events-structure.html.

This makes the types here currently unusable for the most common pattern which is when creating a Lambda that processes EventBridge events from AWS services, like ECS.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions