Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 618 Bytes

README.md

File metadata and controls

24 lines (17 loc) · 618 Bytes

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