Class: Aws::GreengrassV2::Types::LambdaEventSource
- Inherits:
-
Struct
- Object
- Struct
- Aws::GreengrassV2::Types::LambdaEventSource
- Defined in:
- gems/aws-sdk-greengrassv2/lib/aws-sdk-greengrassv2/types.rb
Overview
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.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#topic ⇒ String
The topic to which to subscribe to receive event messages.
-
#type ⇒ String
The type of event source.
Instance Attribute Details
#topic ⇒ String
The topic to which to subscribe to receive event messages.
2133 2134 2135 2136 2137 2138 |
# File 'gems/aws-sdk-greengrassv2/lib/aws-sdk-greengrassv2/types.rb', line 2133 class LambdaEventSource < Struct.new( :topic, :type) SENSITIVE = [] include Aws::Structure end |
#type ⇒ String
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.
2133 2134 2135 2136 2137 2138 |
# File 'gems/aws-sdk-greengrassv2/lib/aws-sdk-greengrassv2/types.rb', line 2133 class LambdaEventSource < Struct.new( :topic, :type) SENSITIVE = [] include Aws::Structure end |