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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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.



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

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`.



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

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`.



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

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)


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

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