Class: Aws::IoTEvents::Types::State
- Inherits:
 - 
      Struct
      
        
- Object
 - Struct
 - Aws::IoTEvents::Types::State
 
 
- 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
- 
  
    
      #on_enter  ⇒ Types::OnEnterLifecycle 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
When entering this state, perform these ‘actions` if the `condition` is TRUE.
 - 
  
    
      #on_exit  ⇒ Types::OnExitLifecycle 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
When exiting this state, perform these ‘actions` if the specified `condition` is `TRUE`.
 - 
  
    
      #on_input  ⇒ Types::OnInputLifecycle 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
When an input is received and the ‘condition` is TRUE, perform the specified `actions`.
 - 
  
    
      #state_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The name of the state.
 
Instance Attribute Details
#on_enter ⇒ Types::OnEnterLifecycle
When entering this state, perform these ‘actions` if the `condition` is TRUE.
      2883 2884 2885 2886 2887 2888 2889 2890  | 
    
      # File '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_exit ⇒ Types::OnExitLifecycle
When exiting this state, perform these ‘actions` if the specified `condition` is `TRUE`.
      2883 2884 2885 2886 2887 2888 2889 2890  | 
    
      # File '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_input ⇒ Types::OnInputLifecycle
When an input is received and the ‘condition` is TRUE, perform the specified `actions`.
      2883 2884 2885 2886 2887 2888 2889 2890  | 
    
      # File '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  |