Scenarios for IAM using Amazon SDKs
The following code examples show you how to implement common scenarios in IAM with Amazon SDKs. These scenarios show you how to accomplish specific tasks by calling multiple functions within IAM or combined with other Amazon Web Services services. Each scenario includes a link to the complete source code, where you can find instructions on how to set up and run the code.
Scenarios target an intermediate level of experience to help you understand service actions in context.
Examples
Creating a monitoring dashboard with function name as a variable
Permission policy allows Amazon Compute Optimizer Automation to apply recommended actions
Permission policy to enable Automation across your organization
Permission policy to grant service-linked role permissions for Compute Optimization Automation
Run CPU stress tests on virtual machine instances using fault injection
Using property variables in monitoring dashboards to monitor multiple serverless functions