Show / Hide Table of Contents

Class CfnDetectorModel.OnExitProperty

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

Inheritance
object
CfnDetectorModel.OnExitProperty
Implements
CfnDetectorModel.IOnExitProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.IoTEvents
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnDetectorModel.OnExitProperty : CfnDetectorModel.IOnExitProperty
Syntax (vb)
Public Class CfnDetectorModel.OnExitProperty Implements CfnDetectorModel.IOnExitProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-onexit.html

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.AWS.IoTEvents;

             var onExitProperty = new OnExitProperty {
                 Events = new [] { new EventProperty {
                     EventName = "eventName",

                     // the properties below are optional
                     Actions = new [] { new ActionProperty {
                         ClearTimer = new ClearTimerProperty {
                             TimerName = "timerName"
                         },
                         DynamoDb = new DynamoDBProperty {
                             HashKeyField = "hashKeyField",
                             HashKeyValue = "hashKeyValue",
                             TableName = "tableName",

                             // the properties below are optional
                             HashKeyType = "hashKeyType",
                             Operation = "operation",
                             Payload = new PayloadProperty {
                                 ContentExpression = "contentExpression",
                                 Type = "type"
                             },
                             PayloadField = "payloadField",
                             RangeKeyField = "rangeKeyField",
                             RangeKeyType = "rangeKeyType",
                             RangeKeyValue = "rangeKeyValue"
                         },
                         DynamoDBv2 = new DynamoDBv2Property {
                             TableName = "tableName",

                             // the properties below are optional
                             Payload = new PayloadProperty {
                                 ContentExpression = "contentExpression",
                                 Type = "type"
                             }
                         },
                         Firehose = new FirehoseProperty {
                             DeliveryStreamName = "deliveryStreamName",

                             // the properties below are optional
                             Payload = new PayloadProperty {
                                 ContentExpression = "contentExpression",
                                 Type = "type"
                             },
                             Separator = "separator"
                         },
                         IotEvents = new IotEventsProperty {
                             InputName = "inputName",

                             // the properties below are optional
                             Payload = new PayloadProperty {
                                 ContentExpression = "contentExpression",
                                 Type = "type"
                             }
                         },
                         IotSiteWise = new IotSiteWiseProperty {
                             PropertyValue = new AssetPropertyValueProperty {
                                 Value = new AssetPropertyVariantProperty {
                                     BooleanValue = "booleanValue",
                                     DoubleValue = "doubleValue",
                                     IntegerValue = "integerValue",
                                     StringValue = "stringValue"
                                 },

                                 // the properties below are optional
                                 Quality = "quality",
                                 Timestamp = new AssetPropertyTimestampProperty {
                                     TimeInSeconds = "timeInSeconds",

                                     // the properties below are optional
                                     OffsetInNanos = "offsetInNanos"
                                 }
                             },

                             // the properties below are optional
                             AssetId = "assetId",
                             EntryId = "entryId",
                             PropertyAlias = "propertyAlias",
                             PropertyId = "propertyId"
                         },
                         IotTopicPublish = new IotTopicPublishProperty {
                             MqttTopic = "mqttTopic",

                             // the properties below are optional
                             Payload = new PayloadProperty {
                                 ContentExpression = "contentExpression",
                                 Type = "type"
                             }
                         },
                         Lambda = new LambdaProperty {
                             FunctionArn = "functionArn",

                             // the properties below are optional
                             Payload = new PayloadProperty {
                                 ContentExpression = "contentExpression",
                                 Type = "type"
                             }
                         },
                         ResetTimer = new ResetTimerProperty {
                             TimerName = "timerName"
                         },
                         SetTimer = new SetTimerProperty {
                             TimerName = "timerName",

                             // the properties below are optional
                             DurationExpression = "durationExpression",
                             Seconds = 123
                         },
                         SetVariable = new SetVariableProperty {
                             Value = "value",
                             VariableName = "variableName"
                         },
                         Sns = new SnsProperty {
                             TargetArn = "targetArn",

                             // the properties below are optional
                             Payload = new PayloadProperty {
                                 ContentExpression = "contentExpression",
                                 Type = "type"
                             }
                         },
                         Sqs = new SqsProperty {
                             QueueUrl = "queueUrl",

                             // the properties below are optional
                             Payload = new PayloadProperty {
                                 ContentExpression = "contentExpression",
                                 Type = "type"
                             },
                             UseBase64 = false
                         }
                     } },
                     Condition = "condition"
                 } }
             };

Synopsis

Constructors

OnExitProperty()

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

Properties

Events

Specifies the actions that are performed when the state is exited and the condition is TRUE .

Constructors

OnExitProperty()

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

public OnExitProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-onexit.html

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.AWS.IoTEvents;

             var onExitProperty = new OnExitProperty {
                 Events = new [] { new EventProperty {
                     EventName = "eventName",

                     // the properties below are optional
                     Actions = new [] { new ActionProperty {
                         ClearTimer = new ClearTimerProperty {
                             TimerName = "timerName"
                         },
                         DynamoDb = new DynamoDBProperty {
                             HashKeyField = "hashKeyField",
                             HashKeyValue = "hashKeyValue",
                             TableName = "tableName",

                             // the properties below are optional
                             HashKeyType = "hashKeyType",
                             Operation = "operation",
                             Payload = new PayloadProperty {
                                 ContentExpression = "contentExpression",
                                 Type = "type"
                             },
                             PayloadField = "payloadField",
                             RangeKeyField = "rangeKeyField",
                             RangeKeyType = "rangeKeyType",
                             RangeKeyValue = "rangeKeyValue"
                         },
                         DynamoDBv2 = new DynamoDBv2Property {
                             TableName = "tableName",

                             // the properties below are optional
                             Payload = new PayloadProperty {
                                 ContentExpression = "contentExpression",
                                 Type = "type"
                             }
                         },
                         Firehose = new FirehoseProperty {
                             DeliveryStreamName = "deliveryStreamName",

                             // the properties below are optional
                             Payload = new PayloadProperty {
                                 ContentExpression = "contentExpression",
                                 Type = "type"
                             },
                             Separator = "separator"
                         },
                         IotEvents = new IotEventsProperty {
                             InputName = "inputName",

                             // the properties below are optional
                             Payload = new PayloadProperty {
                                 ContentExpression = "contentExpression",
                                 Type = "type"
                             }
                         },
                         IotSiteWise = new IotSiteWiseProperty {
                             PropertyValue = new AssetPropertyValueProperty {
                                 Value = new AssetPropertyVariantProperty {
                                     BooleanValue = "booleanValue",
                                     DoubleValue = "doubleValue",
                                     IntegerValue = "integerValue",
                                     StringValue = "stringValue"
                                 },

                                 // the properties below are optional
                                 Quality = "quality",
                                 Timestamp = new AssetPropertyTimestampProperty {
                                     TimeInSeconds = "timeInSeconds",

                                     // the properties below are optional
                                     OffsetInNanos = "offsetInNanos"
                                 }
                             },

                             // the properties below are optional
                             AssetId = "assetId",
                             EntryId = "entryId",
                             PropertyAlias = "propertyAlias",
                             PropertyId = "propertyId"
                         },
                         IotTopicPublish = new IotTopicPublishProperty {
                             MqttTopic = "mqttTopic",

                             // the properties below are optional
                             Payload = new PayloadProperty {
                                 ContentExpression = "contentExpression",
                                 Type = "type"
                             }
                         },
                         Lambda = new LambdaProperty {
                             FunctionArn = "functionArn",

                             // the properties below are optional
                             Payload = new PayloadProperty {
                                 ContentExpression = "contentExpression",
                                 Type = "type"
                             }
                         },
                         ResetTimer = new ResetTimerProperty {
                             TimerName = "timerName"
                         },
                         SetTimer = new SetTimerProperty {
                             TimerName = "timerName",

                             // the properties below are optional
                             DurationExpression = "durationExpression",
                             Seconds = 123
                         },
                         SetVariable = new SetVariableProperty {
                             Value = "value",
                             VariableName = "variableName"
                         },
                         Sns = new SnsProperty {
                             TargetArn = "targetArn",

                             // the properties below are optional
                             Payload = new PayloadProperty {
                                 ContentExpression = "contentExpression",
                                 Type = "type"
                             }
                         },
                         Sqs = new SqsProperty {
                             QueueUrl = "queueUrl",

                             // the properties below are optional
                             Payload = new PayloadProperty {
                                 ContentExpression = "contentExpression",
                                 Type = "type"
                             },
                             UseBase64 = false
                         }
                     } },
                     Condition = "condition"
                 } }
             };

Properties

Events

Specifies the actions that are performed when the state is exited and the condition is TRUE .

public object? Events { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-onexit.html#cfn-iotevents-detectormodel-onexit-events

Type union: either IResolvable or (either IResolvable or CfnDetectorModel.IEventProperty)[]

Implements

CfnDetectorModel.IOnExitProperty
Back to top Generated by DocFX