'Is there a way to perform Dynamo Db Transaction on more than 25 items?

As per AWD documentation https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/transaction-apis.html -

These actions can target up to 25 distinct items in one or more   
DynamoDB tables within the same AWS account and in the same Region.   
The aggregate size of the items in the transaction cannot exceed 4 MB.  
The actions are completed atomically so that either all of them succeed or none of them succeeds.

What is the best way if we want to perform transaction for items more than 25 in number ?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source