Skip to content

Latest commit

 

History

History

helper

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Helper

Some helper functions that are annoying to always write again.

Deloy Policy Generator

See setup.md. Edit config.py with <account-id>, <region>, <stack-name>. Run below to get a policy JSON you can use for a deploy IAM user/role.

python helper/policy_gen.py

Test endpoint

Edit config.py with <api-deployment-id> and <region> .<api-deployment-id> is shown in the API URL of the SAM output or in AWS API Gateway console. Edit timeit.py with whatever payloads you want to test. Then:

python helper/timeit.py