libZSservicesZSamazonka-greengrassv2ZSamazonka-greengrassv2
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.GreengrassV2.Types.LambdaEventSource

Description

 
Synopsis

Documentation

data LambdaEventSource Source #

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.

See: newLambdaEventSource smart constructor.

Constructors

LambdaEventSource' 

Fields

  • topic :: Text

    The topic to which to subscribe to receive event messages.

  • type' :: LambdaEventSourceType

    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.

Instances

Instances details
Eq LambdaEventSource Source # 
Instance details

Defined in Amazonka.GreengrassV2.Types.LambdaEventSource

Read LambdaEventSource Source # 
Instance details

Defined in Amazonka.GreengrassV2.Types.LambdaEventSource

Show LambdaEventSource Source # 
Instance details

Defined in Amazonka.GreengrassV2.Types.LambdaEventSource

Generic LambdaEventSource Source # 
Instance details

Defined in Amazonka.GreengrassV2.Types.LambdaEventSource

Associated Types

type Rep LambdaEventSource :: Type -> Type #

NFData LambdaEventSource Source # 
Instance details

Defined in Amazonka.GreengrassV2.Types.LambdaEventSource

Methods

rnf :: LambdaEventSource -> () #

Hashable LambdaEventSource Source # 
Instance details

Defined in Amazonka.GreengrassV2.Types.LambdaEventSource

ToJSON LambdaEventSource Source # 
Instance details

Defined in Amazonka.GreengrassV2.Types.LambdaEventSource

type Rep LambdaEventSource Source # 
Instance details

Defined in Amazonka.GreengrassV2.Types.LambdaEventSource

type Rep LambdaEventSource = D1 ('MetaData "LambdaEventSource" "Amazonka.GreengrassV2.Types.LambdaEventSource" "libZSservicesZSamazonka-greengrassv2ZSamazonka-greengrassv2" 'False) (C1 ('MetaCons "LambdaEventSource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "topic") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 LambdaEventSourceType)))

newLambdaEventSource Source #

Create a value of LambdaEventSource with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:topic:LambdaEventSource', lambdaEventSource_topic - The topic to which to subscribe to receive event messages.

$sel:type':LambdaEventSource', lambdaEventSource_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 Amazon Web Services IoT Core MQTT messages. This event source type supports MQTT wildcards (+ and #) in the event source topic.

lambdaEventSource_topic :: Lens' LambdaEventSource Text Source #

The topic to which to subscribe to receive event messages.

lambdaEventSource_type :: Lens' LambdaEventSource LambdaEventSourceType Source #

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.