There are more AWS SDK examples available in the AWS Doc SDK Examples
Code examples for Organizations using AWS SDKs
The following code examples show you how to use AWS Organizations with an AWS software development kit (SDK).
Actions are code excerpts from larger programs and must be run in context. While actions show you how to call individual service functions, you can see actions in context in their related scenarios.
Scenarios are code examples that show you how to accomplish specific tasks by calling multiple functions within a service or combined with other AWS services.
More resources
Organizations User Guide – More information about Organizations.
Organizations API Reference – Details about all available Organizations actions.
AWS Developer Center
– Code examples that you can filter by category or full-text search. AWS SDK Examples
– GitHub repo with complete code in preferred languages. Includes instructions for setting up and running the code.
Code examples
Permission policy allows AWS Compute Optimizer Automation to apply recommended actions
Permission policy to enable Automation across your organization
Permission policy to grant full access to Compute Optimizer Automation for standalone AWS accounts
Permission policy to grant service-linked role permissions for Compute Optimization Automation