AWS::IoTEvents::DetectorModel State - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AWS::IoTEvents::DetectorModel State

Information that defines a state of a detector.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "OnEnter" : OnEnter, "OnExit" : OnExit, "OnInput" : OnInput, "StateName" : String }

Properties

OnEnter

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

Required: No

Type: OnEnter

Update requires: No interruption

OnExit

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

Required: No

Type: OnExit

Update requires: No interruption

OnInput

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

Required: No

Type: OnInput

Update requires: No interruption

StateName

The name of the state.

Required: Yes

Type: String

Minimum: 1

Maximum: 128

Update requires: No interruption