Skip to content

Add support for error action on iot topic rule  #11642

Description

@FMurray

Is there an existing issue for this?

  • I have searched existing issues, it hasn't been reported yet

Use case description

Currently the iot event only supports an Action for a topic rule. I want to be able to define an error action (https://docs.aws.amazon.com/iot/latest/developerguide/rule-error-handling.html).

Proposed solution (optional)

Provided the YML:

  myFunction:
    handler: ...
    events:
      - iot:
          sql: "SELECT * FROM 'test_unit'"
          errorAction: <ref a function arn here> 

The appropriate CF templating will be performed (see reference in description)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions