You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::IoTEvents::Types::OnEnterLifecycle

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing OnEnterLifecycle as input to an Aws::Client method, you can use a vanilla Hash:

{
  events: [
    {
      event_name: "EventName", # required
      condition: "Condition",
      actions: [
        {
          set_variable: {
            variable_name: "VariableName", # required
            value: "VariableValue", # required
          },
          sns: {
            target_arn: "AmazonResourceName", # required
          },
          iot_topic_publish: {
            mqtt_topic: "MQTTTopic", # required
          },
          set_timer: {
            timer_name: "TimerName", # required
            seconds: 1, # required
          },
          clear_timer: {
            timer_name: "TimerName", # required
          },
          reset_timer: {
            timer_name: "TimerName", # required
          },
          lambda: {
            function_arn: "AmazonResourceName", # required
          },
          iot_events: {
            input_name: "InputName", # required
          },
          sqs: {
            queue_url: "QueueUrl", # required
            use_base_64: false,
          },
          firehose: {
            delivery_stream_name: "DeliveryStreamName", # required
            separator: "FirehoseSeparator",
          },
        },
      ],
    },
  ],
}

When entering this state, perform these actions if the condition is TRUE.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#eventsArray<Types::Event>

Specifies the actions that are performed when the state is entered and the "condition" is TRUE.

Returns:

  • (Array<Types::Event>)

    Specifies the actions that are performed when the state is entered and the "condition" is TRUE.