You want to define your DynamoDB table resource in a SAM template and deploy it to AWS.
Can you do this in a few steps by using the Cloud9 IDE?
Amazon DynamoDB is a fully managed, serverless, key-value NoSQL database designed to run high-performance applications at any scale.
AWS Cloud9 is a cloud-based integrated development environment (IDE) that lets you write, run, and debug your code with just a browser. It includes a code editor, debugger, and terminal.
P.S. Why did the AWS SAM developer always carry an umbrella? Because they were afraid of getting caught in a "serverless" downpour of events!