Interface HttpActionBatchConfig
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
HttpActionBatchConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.125.0 (build fdbe357)",
date="2026-01-23T11:20:10.153Z")
@Stability(Experimental)
public interface HttpActionBatchConfig
extends software.amazon.jsii.JsiiSerializable
(experimental) Configuration for batching HTTP action messages.
Example:
import software.amazon.awscdk.Size;
TopicRule topicRule;
topicRule.addAction(
HttpsAction.Builder.create("https://example.com/endpoint")
.batchConfig(HttpActionBatchConfig.builder()
.maxBatchOpenDuration(Duration.millis(100))
.maxBatchSize(5)
.maxBatchSizeBytes(Size.kibibytes(1))
.build())
.build());
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forHttpActionBatchConfigstatic final classAn implementation forHttpActionBatchConfig -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default Duration(experimental) The maximum amount of time an outgoing message waits for other messages to create the batch.default Number(experimental) The maximum number of messages that are batched together in a single IoT rule action execution.default Size(experimental) Maximum size of a message batch.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMaxBatchOpenDuration
(experimental) The maximum amount of time an outgoing message waits for other messages to create the batch.Must be between 5 ms and 200 ms.
Default: Duration.millis(20)
-
getMaxBatchSize
(experimental) The maximum number of messages that are batched together in a single IoT rule action execution.Must be between 2 and 10.
Default: 10
-
getMaxBatchSizeBytes
(experimental) Maximum size of a message batch.Must be between 100 bytes and 128 KiB.
Default: Size.kibibytes(5)
-
builder
- Returns:
- a
HttpActionBatchConfig.BuilderofHttpActionBatchConfig
-