aws-cdk-lib.aws_iotevents.CfnDetectorModel.StateProperty

interface StateProperty

LanguageType name
.NETAmazon.CDK.AWS.IoTEvents.CfnDetectorModel.StateProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsiotevents#CfnDetectorModel_StateProperty
Javasoftware.amazon.awscdk.services.iotevents.CfnDetectorModel.StateProperty
Pythonaws_cdk.aws_iotevents.CfnDetectorModel.StateProperty
TypeScript aws-cdk-lib » aws_iotevents » CfnDetectorModel » StateProperty

Information that defines a state of a detector.

Example

// The generated example for this type would exceed 500 lines,
// and has been elided for readability.

Properties

NameTypeDescription
stateNamestringThe name of the state.
onEnter?IResolvable | OnEnterPropertyWhen entering this state, perform these actions if the condition is TRUE.
onExit?IResolvable | OnExitPropertyWhen exiting this state, perform these actions if the specified condition is TRUE .
onInput?IResolvable | OnInputPropertyWhen an input is received and the condition is TRUE, perform the specified actions .

stateName

Type: string

The name of the state.


onEnter?

Type: IResolvable | OnEnterProperty (optional)

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


onExit?

Type: IResolvable | OnExitProperty (optional)

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


onInput?

Type: IResolvable | OnInputProperty (optional)

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