aws / aws/aws-cdk

iot-actions-alpha: support batchAcrossTopics in HTTPS action batchConfig

Open Beginner friendly
#37,980 1 comment 0 reactions 0 assignees View on GitHub
@aws-cdk/aws-iot-actions feature-request p2
Dominant language
TypeScript
Stars
12.9k
Forks
4.6k
Avg merge
2d 3h
Merged PRs (30d)
83

Description

### Describe the feature

Expose `batchAcrossTopics` on `HttpActionBatchConfig` in `@aws-cdk/aws-iot-actions-alpha`. The property is available in L1 (`CfnTopicRule.BatchConfigProperty`) but is not surfaced in L2.

### Use Case

Route messages from many MQTT topics to a single HTTP endpoint with one batched request, reducing per-request overhead and cost. See https://docs.aws.amazon.com/iot/latest/developerguide/http_batching.html

### Proposed Solution

Add `batchAcrossTopics?: boolean` (default `false`) to `HttpActionBatchConfig` and pass it through in `_bind()`.

### Other Information

_No response_

### Acknowledgements

- [X] I may be able to implement this feature request
- [ ] This feature might incur a breaking change

### AWS CDK Library version (aws-cdk-lib)

2.224.0

### AWS CDK CLI version

2.1041.0

### Environment details (OS name and version, etc.)

macOS 14.6.0 (Darwin 23.6.0)

Contributor guide

Open the contributing guide

Research direction

Locate HttpActionBatchConfig and its _bind() implementation in @aws-cdk/aws-iot-actions-alpha. Compare its output with the L1 CfnTopicRule.BatchConfigProperty, then verify that batchAcrossTopics defaults to false and is passed through; done means the L2 property is available and represented in the bound configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, typescript
Domain
cloud
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
75/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.