Registering a delegated administrator
You can register a delegated administrator for Capacity Manager. This allows a member account to manage Capacity Manager for your AWS Organization.
Only the management account can register or remove a delegated administrator within your organization.
You can’t disable Capacity Manager for your organization while there is a registered delegated administrator.
Prerequisites
Your management account must have enabled Capacity Manager with AWS Organizations. For more information, see
Enabling EC2 Capacity Manager with AWS Organizations.
Register a delegated administrator
You can register a delegated administrator using the Amazon EC2 console or the AWS CLI.
- Console
-
To register a delegated administrator
-
Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/.
-
In the navigation pane, choose Capacity Manager.
-
Choose the Settings tab.
-
In the Delegated administrator section, choose Add.
-
In the prompt that appears, enter the account ID of the organization member you want to add as a delegated administrator.
-
Choose Add delegated administrator.
- AWS CLI
-
To register a delegated administrator
Run the following command:
aws organizations register-delegated-administrator \
--account-id 123456789012 \
--service-principal ec2.capacitymanager.amazonaws.com
Remove a delegated administrator
You can remove a delegated administrator using the Amazon EC2 console or the AWS CLI.
- Console
-
To remove a delegated administrator
-
Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/.
-
In the navigation pane, choose Capacity Manager.
-
Choose the Settings tab.
-
In the Delegated administrator section, choose Manage.
-
In the prompt that appears, choose Remove delegated administrator.
- AWS CLI
-
To remove a delegated administrator
Run the following command:
aws organizations deregister-delegated-administrator \
--account-id 123456789012 \
--service-principal ec2.capacitymanager.amazonaws.com