LambdaEventSource - AWS IoT Greengrass

LambdaEventSource

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

Contents

topic

The topic to which to subscribe to receive event messages.

Type: String

Required: Yes

type

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 AWS IoT Core MQTT messages. This event source type supports MQTT wildcards (+ and #) in the event source topic.

Type: String

Valid Values: PUB_SUB | IOT_CORE

Required: Yes

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: