Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

LambdaEventSource

import type { LambdaEventSource } from "https://aws-api.deno.dev/v0.3/services/greengrassv2.ts?docs=full";

Contains information about an event source for an Lambda function. The event source defines the topics on which this Lambda function subscribes to receive messages that run the function.

interface LambdaEventSource {
topic: string;
}

§Properties

§
topic: string
[src]

The topic to which to subscribe to receive event messages.

§

The type of event source. Choose from the following options:

  • PUB_SUB – Subscribe to local publish/subscribe messages. This event source type doesn't support MQTT wildcards (+ and #) in the event source topic.
  • IOT_CORE – Subscribe to Amazon Web Services IoT Core MQTT messages. This event source type supports MQTT wildcards (+ and #) in the event source topic.