Class: Aws::GreengrassV2::Types::LambdaEventSource

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#topicString

The topic to which to subscribe to receive event messages.

Returns:

  • (String)


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

#typeString

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.

Returns:

  • (String)


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