If you want to distribute a tool for downloading DynamoDB local from our websites, you may please proceed as per the requirement. However, if you actually want to distribute DynamoDB local, I am sorry to say but this is not possible as it is prohibited by the DynamoDB local software license.
Instead, a potential workaround would be to use Docker integration to run DynamoDB local for your testing needs.
https://github.com/aws-samples/aws-sam-java-rest/blob/master/pom.xml#L334