Interface CfnAlarmModel.IotEventsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAlarmModel.IotEventsProperty.Jsii$Proxy
- Enclosing class:
CfnAlarmModel
@Stability(Stable)
public static interface CfnAlarmModel.IotEventsProperty
extends software.amazon.jsii.JsiiSerializable
Sends an AWS IoT Events input, passing in information about the detector model instance and the event that triggered the action.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.iotevents.*;
IotEventsProperty iotEventsProperty = IotEventsProperty.builder()
.inputName("inputName")
// the properties below are optional
.payload(PayloadProperty.builder()
.contentExpression("contentExpression")
.type("type")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnAlarmModel.IotEventsPropertystatic final classAn implementation forCfnAlarmModel.IotEventsProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getInputName
The name of the AWS IoT Events input where the data is sent.- See Also:
-
getPayload
You can configure the action payload when you send a message to an AWS IoT Events input.Returns union: either
IResolvableorCfnAlarmModel.PayloadProperty- See Also:
-
builder
-