Interface CfnDetectorModelPropsMixin.OnExitProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDetectorModelPropsMixin.OnExitProperty.Jsii$Proxy
- Enclosing class:
CfnDetectorModelPropsMixin
@Stability(Stable)
public static interface CfnDetectorModelPropsMixin.OnExitProperty
extends software.amazon.jsii.JsiiSerializable
When exiting this state, perform these
actions if the specified condition is TRUE .
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.mixins.preview.services.iotevents.mixins.*;
OnExitProperty onExitProperty = OnExitProperty.builder()
.events(List.of(EventProperty.builder()
.actions(List.of(ActionProperty.builder()
.clearTimer(ClearTimerProperty.builder()
.timerName("timerName")
.build())
.dynamoDb(DynamoDBProperty.builder()
.hashKeyField("hashKeyField")
.hashKeyType("hashKeyType")
.hashKeyValue("hashKeyValue")
.operation("operation")
.payload(PayloadProperty.builder()
.contentExpression("contentExpression")
.type("type")
.build())
.payloadField("payloadField")
.rangeKeyField("rangeKeyField")
.rangeKeyType("rangeKeyType")
.rangeKeyValue("rangeKeyValue")
.tableName("tableName")
.build())
.dynamoDBv2(DynamoDBv2Property.builder()
.payload(PayloadProperty.builder()
.contentExpression("contentExpression")
.type("type")
.build())
.tableName("tableName")
.build())
.firehose(FirehoseProperty.builder()
.deliveryStreamName("deliveryStreamName")
.payload(PayloadProperty.builder()
.contentExpression("contentExpression")
.type("type")
.build())
.separator("separator")
.build())
.iotEvents(IotEventsProperty.builder()
.inputName("inputName")
.payload(PayloadProperty.builder()
.contentExpression("contentExpression")
.type("type")
.build())
.build())
.iotSiteWise(IotSiteWiseProperty.builder()
.assetId("assetId")
.entryId("entryId")
.propertyAlias("propertyAlias")
.propertyId("propertyId")
.propertyValue(AssetPropertyValueProperty.builder()
.quality("quality")
.timestamp(AssetPropertyTimestampProperty.builder()
.offsetInNanos("offsetInNanos")
.timeInSeconds("timeInSeconds")
.build())
.value(AssetPropertyVariantProperty.builder()
.booleanValue("booleanValue")
.doubleValue("doubleValue")
.integerValue("integerValue")
.stringValue("stringValue")
.build())
.build())
.build())
.iotTopicPublish(IotTopicPublishProperty.builder()
.mqttTopic("mqttTopic")
.payload(PayloadProperty.builder()
.contentExpression("contentExpression")
.type("type")
.build())
.build())
.lambda(LambdaProperty.builder()
.functionArn("functionArn")
.payload(PayloadProperty.builder()
.contentExpression("contentExpression")
.type("type")
.build())
.build())
.resetTimer(ResetTimerProperty.builder()
.timerName("timerName")
.build())
.setTimer(SetTimerProperty.builder()
.durationExpression("durationExpression")
.seconds(123)
.timerName("timerName")
.build())
.setVariable(SetVariableProperty.builder()
.value("value")
.variableName("variableName")
.build())
.sns(SnsProperty.builder()
.payload(PayloadProperty.builder()
.contentExpression("contentExpression")
.type("type")
.build())
.targetArn("targetArn")
.build())
.sqs(SqsProperty.builder()
.payload(PayloadProperty.builder()
.contentExpression("contentExpression")
.type("type")
.build())
.queueUrl("queueUrl")
.useBase64(false)
.build())
.build()))
.condition("condition")
.eventName("eventName")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDetectorModelPropsMixin.OnExitPropertystatic final classAn implementation forCfnDetectorModelPropsMixin.OnExitProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEvents
Specifies theactionsthat are performed when the state is exited and theconditionisTRUE.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnDetectorModelPropsMixin.EventProperty>- See Also:
-
builder
-