@Generated(value="jsii-pacmak/1.78.1 (build 878761e)", date="2023-04-17T22:38:13.259Z") @Stability(value=Experimental) public class IotEventsPutMessageAction extends software.amazon.jsii.JsiiObject implements IAction
Example:
import software.amazon.awscdk.services.iotevents.alpha.*;
import software.amazon.awscdk.services.iam.*;
IRole role;
Input input = Input.Builder.create(this, "MyInput")
.attributeJsonPaths(List.of("payload.temperature", "payload.transactionId"))
.build();
TopicRule topicRule = TopicRule.Builder.create(this, "TopicRule")
.sql(IotSql.fromStringAsVer20160323("SELECT * FROM 'device/+/data'"))
.actions(List.of(
IotEventsPutMessageAction.Builder.create(input)
.batchMode(true) // optional property, default is 'false'
.messageId("${payload.transactionId}") // optional property, default is a new UUID
.role(role)
.build()))
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
IotEventsPutMessageAction.Builder
(experimental) A fluent builder for
IotEventsPutMessageAction. |
software.amazon.jsii.JsiiObject.InitializationModeIAction.Jsii$Default, IAction.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
IotEventsPutMessageAction(IInput input) |
|
IotEventsPutMessageAction(IInput input,
IotEventsPutMessageActionProps props) |
protected |
IotEventsPutMessageAction(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
IotEventsPutMessageAction(software.amazon.jsii.JsiiObjectRef objRef) |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected IotEventsPutMessageAction(software.amazon.jsii.JsiiObjectRef objRef)
protected IotEventsPutMessageAction(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public IotEventsPutMessageAction(@NotNull
IInput input,
@Nullable
IotEventsPutMessageActionProps props)
input - The IoT Events input to put messages. This parameter is required.props - Optional properties to not use default.@Stability(value=Experimental)
public IotEventsPutMessageAction(@NotNull
IInput input)
input - The IoT Events input to put messages. This parameter is required.Copyright © 2023. All rights reserved.