Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Last revision Both sides next revision | ||
linux_wiki:lambda_python_function [2019/08/09 22:13] billdozor [Lambda: Pre-Reqs] |
linux_wiki:lambda_python_function [2019/08/09 22:20] billdozor [File Conversion Example: Pre-Reqs] |
||
---|---|---|---|
Line 55: | Line 55: | ||
---- | ---- | ||
+ | |||
+ | ===== Stop/Start EC2 Example: Pre-Reqs ===== | ||
+ | |||
+ | Create an IAM role | ||
+ | * Services > Security > IAM > Roles > Create Role | ||
+ | * Choose a service that will use the role: Lambda | ||
+ | * Click ' | ||
+ | * **Required**: | ||
+ | * Also, Create a new policy to allow basic EC2 list, | ||
+ | " | ||
+ | " | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | ], | ||
+ | " | ||
+ | } | ||
+ | ] | ||
+ | }</ | ||
+ | |||
+ | ---- | ||
+ | |||
====== Lambda: Create Function ====== | ====== Lambda: Create Function ====== |