AWS::GreengrassV2::ComponentVersion 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.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
Properties
Topic
-
The topic to which to subscribe to receive event messages.
Required: No
Type: String
Update requires: Replacement
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.
Required: No
Type: String
Allowed values:
PUB_SUB | IOT_CORE
Update requires: Replacement
-