@Stability(value=Stable)
public static interface CfnTopicRule.IotEventsActionProperty
extends software.amazon.jsii.JsiiSerializable
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.iot.*;
IotEventsActionProperty iotEventsActionProperty = IotEventsActionProperty.builder()
.inputName("inputName")
.roleArn("roleArn")
// the properties below are optional
.batchMode(false)
.messageId("messageId")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnTopicRule.IotEventsActionProperty.Builder
A builder for
CfnTopicRule.IotEventsActionProperty |
static class |
CfnTopicRule.IotEventsActionProperty.Jsii$Proxy
An implementation for
CfnTopicRule.IotEventsActionProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnTopicRule.IotEventsActionProperty.Builder |
builder() |
default Object |
getBatchMode()
Whether to process the event actions as a batch.
|
String |
getInputName()
The name of the AWS IoT Events input.
|
default String |
getMessageId()
The ID of the message.
|
String |
getRoleArn()
The ARN of the role that grants AWS IoT permission to send an input to an AWS IoT Events detector.
|
@Stability(value=Stable) @NotNull String getInputName()
@Stability(value=Stable) @NotNull String getRoleArn()
("Action":"iotevents:BatchPutMessage").
@Stability(value=Stable) @Nullable default Object getBatchMode()
When batchMode is true , you can't specify a messageId .
When batchMode is true and the rule SQL statement evaluates to an Array, each Array element is treated as a separate message when Events by calling BatchPutMessage . The resulting array can't have more than 10 messages.
@Stability(value=Stable) @Nullable default String getMessageId()
When batchMode is true , you can't specify a messageId --a new UUID value will be assigned.
Assign a value to this property to ensure that only one input (message) with a given messageId will be processed by an AWS IoT Events detector.
@Stability(value=Stable) static CfnTopicRule.IotEventsActionProperty.Builder builder()
Copyright © 2022. All rights reserved.