Class: Aws::IoTEvents::Types::State

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-iotevents/lib/aws-sdk-iotevents/types.rb

Overview

Information that defines a state of a detector.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#on_enterTypes::OnEnterLifecycle

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



2883
2884
2885
2886
2887
2888
2889
2890
# File 'gems/aws-sdk-iotevents/lib/aws-sdk-iotevents/types.rb', line 2883

class State < Struct.new(
  :state_name,
  :on_input,
  :on_enter,
  :on_exit)
  SENSITIVE = []
  include Aws::Structure
end

#on_exitTypes::OnExitLifecycle

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



2883
2884
2885
2886
2887
2888
2889
2890
# File 'gems/aws-sdk-iotevents/lib/aws-sdk-iotevents/types.rb', line 2883

class State < Struct.new(
  :state_name,
  :on_input,
  :on_enter,
  :on_exit)
  SENSITIVE = []
  include Aws::Structure
end

#on_inputTypes::OnInputLifecycle

When an input is received and the condition is TRUE, perform the specified actions.



2883
2884
2885
2886
2887
2888
2889
2890
# File 'gems/aws-sdk-iotevents/lib/aws-sdk-iotevents/types.rb', line 2883

class State < Struct.new(
  :state_name,
  :on_input,
  :on_enter,
  :on_exit)
  SENSITIVE = []
  include Aws::Structure
end

#state_nameString

The name of the state.

Returns:

  • (String)


2883
2884
2885
2886
2887
2888
2889
2890
# File 'gems/aws-sdk-iotevents/lib/aws-sdk-iotevents/types.rb', line 2883

class State < Struct.new(
  :state_name,
  :on_input,
  :on_enter,
  :on_exit)
  SENSITIVE = []
  include Aws::Structure
end