Some helper functions that are annoying to always write again.
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
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