@Stability(value=Experimental) public static final class IotEventsPutMessageAction.Builder extends Object implements software.amazon.jsii.Builder<IotEventsPutMessageAction>
IotEventsPutMessageAction.| Modifier and Type | Method and Description |
|---|---|
IotEventsPutMessageAction.Builder |
batchMode(Boolean batchMode)
(experimental) Whether to process the event actions as a batch.
|
IotEventsPutMessageAction |
build() |
static IotEventsPutMessageAction.Builder |
create(IInput input) |
IotEventsPutMessageAction.Builder |
messageId(String messageId)
(experimental) The ID of the message.
|
IotEventsPutMessageAction.Builder |
role(IRole role)
(experimental) The IAM role that allows access to AWS service.
|
@Stability(value=Experimental) public static IotEventsPutMessageAction.Builder create(IInput input)
input - The IoT Events input to put messages. This parameter is required.IotEventsPutMessageAction.Builder.@Stability(value=Experimental) public IotEventsPutMessageAction.Builder role(IRole role)
Default: a new role will be created
role - The IAM role that allows access to AWS service. This parameter is required.this@Stability(value=Experimental) public IotEventsPutMessageAction.Builder batchMode(Boolean batchMode)
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.
Default: false
batchMode - Whether to process the event actions as a batch. This parameter is required.this@Stability(value=Experimental) public IotEventsPutMessageAction.Builder messageId(String messageId)
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.
Default: - none -- a new UUID value will be assigned
messageId - The ID of the message. This parameter is required.this@Stability(value=Experimental) public IotEventsPutMessageAction build()
build in interface software.amazon.jsii.Builder<IotEventsPutMessageAction>Copyright © 2023. All rights reserved.