@Stability(value=Stable) public static final class CfnTopicRule.IotEventsActionProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnTopicRule.IotEventsActionProperty>
CfnTopicRule.IotEventsActionProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnTopicRule.IotEventsActionProperty.Builder |
batchMode(Boolean batchMode)
Sets the value of
CfnTopicRule.IotEventsActionProperty.getBatchMode() |
CfnTopicRule.IotEventsActionProperty.Builder |
batchMode(IResolvable batchMode)
Sets the value of
CfnTopicRule.IotEventsActionProperty.getBatchMode() |
CfnTopicRule.IotEventsActionProperty |
build()
Builds the configured instance.
|
CfnTopicRule.IotEventsActionProperty.Builder |
inputName(String inputName)
Sets the value of
CfnTopicRule.IotEventsActionProperty.getInputName() |
CfnTopicRule.IotEventsActionProperty.Builder |
messageId(String messageId)
Sets the value of
CfnTopicRule.IotEventsActionProperty.getMessageId() |
CfnTopicRule.IotEventsActionProperty.Builder |
roleArn(String roleArn)
Sets the value of
CfnTopicRule.IotEventsActionProperty.getRoleArn() |
@Stability(value=Stable) public CfnTopicRule.IotEventsActionProperty.Builder inputName(String inputName)
CfnTopicRule.IotEventsActionProperty.getInputName()inputName - The name of the AWS IoT Events input. This parameter is required.this@Stability(value=Stable) public CfnTopicRule.IotEventsActionProperty.Builder roleArn(String roleArn)
CfnTopicRule.IotEventsActionProperty.getRoleArn()roleArn - The ARN of the role that grants AWS IoT permission to send an input to an AWS IoT Events detector. This parameter is required.
("Action":"iotevents:BatchPutMessage").this@Stability(value=Stable) public CfnTopicRule.IotEventsActionProperty.Builder batchMode(Boolean batchMode)
CfnTopicRule.IotEventsActionProperty.getBatchMode()batchMode - Whether to process the event actions as a batch. The default value is `false` .
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.
this@Stability(value=Stable) public CfnTopicRule.IotEventsActionProperty.Builder batchMode(IResolvable batchMode)
CfnTopicRule.IotEventsActionProperty.getBatchMode()batchMode - Whether to process the event actions as a batch. The default value is `false` .
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.
this@Stability(value=Stable) public CfnTopicRule.IotEventsActionProperty.Builder messageId(String messageId)
CfnTopicRule.IotEventsActionProperty.getMessageId()messageId - The ID of the message. The default `messageId` is a new UUID value.
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.
this@Stability(value=Stable) public CfnTopicRule.IotEventsActionProperty build()
build in interface software.amazon.jsii.Builder<CfnTopicRule.IotEventsActionProperty>CfnTopicRule.IotEventsActionPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.