AWS::GreengrassV2::ComponentVersion LambdaEventSource - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AWS::GreengrassV2::ComponentVersion LambdaEventSource

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


To declare this entity in your Amazon CloudFormation template, use the following syntax:


{ "Topic" : String, "Type" : String }


Topic: String Type: String



The topic to which to subscribe to receive event messages.

Required: No

Type: String

Update requires: Replacement


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

Required: No

Type: String

Allowed values: PUB_SUB | IOT_CORE

Update requires: Replacement