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 CloudWatch 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
Using property variables in CloudWatch dashboards to monitor multiple Lambda functions