Skip to content

Support for EventBridge / Custom Event Buses #1067

@brandonstevens

Description

@brandonstevens

Amazon EventBridge was announced. One aspect of the announcement was added support for custom event buses. Custom buses provide a clean way to isolate events for custom applications. We should be able to specific a custom bus as the source for triggering Lambda functions.

Example template:

AWSTemplateFormatVersion: '2010-09-09'
Transform: AWS::Serverless-2016-10-31

Resources:

  SlackNotify:
    Type: AWS::Serverless::Function
    Properties:
      Handler: main.handler
      CodeUri: app/
      Runtime: python3.7
      Timeout: 5
      Events:
        AnyRequest:
          Type: CloudWatchEvent
          Properties:
            Bus: example-custom-bus
            Pattern:
              source:
                - example.test

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