A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/dittto/serverless-event-constant-inputs below:

GitHub - dittto/serverless-event-constant-inputs: Allows you to add constant inputs to events in Serverless 1.0. This is defined in https://aws.amazon.com/blogs/compute/simply-serverless-use-constant-values-in-cloudwatch-event-triggered-lambda-functions

Skip to content Navigation Menu Search code, repositories, users, issues, pull requests...

Saved searches Use saved searches to filter your results more quickly

Sign up You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert dittto/serverless-event-constant-inputs Repository files navigation Serverless event constant inputs

Allows you to add constant inputs to events in Serverless 1.0. This is defined in https://aws.amazon.com/blogs/compute/simply-serverless-use-constant-values-in-cloudwatch-event-triggered-lambda-functions/ .

Add either a simple string as an input field to an event schedule, or an object.

functions:
  esi:
    handler: handler.esi
    events:
      - schedule:
          rate: cron(0 1 * * ? *)
          enabled: true
          input:
            provider: stubhub
            is_delta: true
      - schedule:
          rate: cron(0 2 * * ? *)
          enabled: true
          input: '{"provider": "see_tickets"}'

The above shows adding input values to 2 scheduled events. The first as an object and the second as a string.

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4