Interface CfnDetectorModelPropsMixin.ITransitionEventProperty
Specifies the actions performed and the next state entered when a condition evaluates to TRUE.
Namespace: Amazon.CDK.Mixins.Preview.AWS.IoTEvents.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public interface CfnDetectorModelPropsMixin.ITransitionEventProperty
Syntax (vb)
Public Interface CfnDetectorModelPropsMixin.ITransitionEventProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.AWS.IoTEvents.Mixins;
var transitionEventProperty = new TransitionEventProperty {
Actions = new [] { new ActionProperty {
ClearTimer = new ClearTimerProperty {
TimerName = "timerName"
},
DynamoDb = new DynamoDBProperty {
HashKeyField = "hashKeyField",
HashKeyType = "hashKeyType",
HashKeyValue = "hashKeyValue",
Operation = "operation",
Payload = new PayloadProperty {
ContentExpression = "contentExpression",
Type = "type"
},
PayloadField = "payloadField",
RangeKeyField = "rangeKeyField",
RangeKeyType = "rangeKeyType",
RangeKeyValue = "rangeKeyValue",
TableName = "tableName"
},
DynamoDBv2 = new DynamoDBv2Property {
Payload = new PayloadProperty {
ContentExpression = "contentExpression",
Type = "type"
},
TableName = "tableName"
},
Firehose = new FirehoseProperty {
DeliveryStreamName = "deliveryStreamName",
Payload = new PayloadProperty {
ContentExpression = "contentExpression",
Type = "type"
},
Separator = "separator"
},
IotEvents = new IotEventsProperty {
InputName = "inputName",
Payload = new PayloadProperty {
ContentExpression = "contentExpression",
Type = "type"
}
},
IotSiteWise = new IotSiteWiseProperty {
AssetId = "assetId",
EntryId = "entryId",
PropertyAlias = "propertyAlias",
PropertyId = "propertyId",
PropertyValue = new AssetPropertyValueProperty {
Quality = "quality",
Timestamp = new AssetPropertyTimestampProperty {
OffsetInNanos = "offsetInNanos",
TimeInSeconds = "timeInSeconds"
},
Value = new AssetPropertyVariantProperty {
BooleanValue = "booleanValue",
DoubleValue = "doubleValue",
IntegerValue = "integerValue",
StringValue = "stringValue"
}
}
},
IotTopicPublish = new IotTopicPublishProperty {
MqttTopic = "mqttTopic",
Payload = new PayloadProperty {
ContentExpression = "contentExpression",
Type = "type"
}
},
Lambda = new LambdaProperty {
FunctionArn = "functionArn",
Payload = new PayloadProperty {
ContentExpression = "contentExpression",
Type = "type"
}
},
ResetTimer = new ResetTimerProperty {
TimerName = "timerName"
},
SetTimer = new SetTimerProperty {
DurationExpression = "durationExpression",
Seconds = 123,
TimerName = "timerName"
},
SetVariable = new SetVariableProperty {
Value = "value",
VariableName = "variableName"
},
Sns = new SnsProperty {
Payload = new PayloadProperty {
ContentExpression = "contentExpression",
Type = "type"
},
TargetArn = "targetArn"
},
Sqs = new SqsProperty {
Payload = new PayloadProperty {
ContentExpression = "contentExpression",
Type = "type"
},
QueueUrl = "queueUrl",
UseBase64 = false
}
} },
Condition = "condition",
EventName = "eventName",
NextState = "nextState"
};
Synopsis
Properties
| Actions | The actions to be performed. |
| Condition | Required. |
| EventName | The name of the transition event. |
| NextState | The next state to enter. |
Properties
Actions
The actions to be performed.
object? Actions { get; }
Property Value
Remarks
Condition
Required.
string? Condition { get; }
Property Value
Remarks
A Boolean expression that when TRUE causes the actions to be performed and the nextState to be entered.
EventName
The name of the transition event.
string? EventName { get; }
Property Value
Remarks
NextState
The next state to enter.
string? NextState { get; }