Skip to content

LambdaEventSource

Source code in docs_src/capo_greengrassv2/types/lambda_event_source.py
class LambdaEventSource(TypedDict, closed=True):
    topic: "capo_greengrassv2.types.topic_string.TopicString"
    """<p>The topic to which to subscribe to receive event messages.</p>"""
    type: "capo_greengrassv2.types.lambda_event_source_type.LambdaEventSourceType"
    """<p>The type of event source. Choose from the following options:</p> <ul> <li> <p> <code>PUB_SUB</code> – Subscribe to local publish/subscribe messages. This event source type doesn't support MQTT wildcards (<code>+</code> and <code>#</code>) in the event source topic.</p> </li> <li> <p> <code>IOT_CORE</code> – Subscribe to Amazon Web Services IoT Core MQTT messages. This event source type supports MQTT wildcards (<code>+</code> and <code>#</code>) in the event source topic.</p> </li> </ul>"""

topic instance-attribute

topic: TopicString

The topic to which to subscribe to receive event messages.

type instance-attribute

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.