AWS AWSEC2 documentation change
Summary
Added PowerShell examples for registering and removing delegated administrators for Capacity Manager, alongside existing console and CLI instructions.
Security assessment
This change adds PowerShell command examples for administrative tasks related to Capacity Manager delegated administrators. While delegated administration is a security concept, this change only adds alternative implementation methods without addressing security issues or adding new security documentation.
Diff
diff --git a/AWSEC2/latest/UserGuide/enable-capacity-manager-da.md b/AWSEC2/latest/UserGuide/enable-capacity-manager-da.md index f298cc6ee..1e9a08d52 100644 --- a//AWSEC2/latest/UserGuide/enable-capacity-manager-da.md +++ b//AWSEC2/latest/UserGuide/enable-capacity-manager-da.md @@ -32 +32 @@ Your management account must have enabled Capacity Manager with AWS Organization -You can register a delegated administrator using the Amazon EC2 console or the AWS CLI. +You can register a delegated administrator using the Amazon EC2 console, the AWS CLI, or PowerShell. @@ -66,0 +67,12 @@ Run the following command: +PowerShell + + +###### To register a delegated administrator + +Use the [Register-ORGDelegatedAdministrator](https://docs.aws.amazon.com/powershell/latest/reference/items/Register-ORGDelegatedAdministrator.html) cmdlet. + + + Register-ORGDelegatedAdministrator ` + -AccountId "123456789012" ` + -ServicePrincipal "ec2.capacitymanager.amazonaws.com" + @@ -69 +81 @@ Run the following command: -You can remove a delegated administrator using the Amazon EC2 console or the AWS CLI. +You can remove a delegated administrator using the Amazon EC2 console, the AWS CLI, or PowerShell. @@ -101,0 +114,12 @@ Run the following command: +PowerShell + + +###### To remove a delegated administrator + +Use the [Unregister-ORGDelegatedAdministrator](https://docs.aws.amazon.com/powershell/latest/reference/items/Unregister-ORGDelegatedAdministrator.html) cmdlet. + + + Unregister-ORGDelegatedAdministrator ` + -AccountId "123456789012" ` + -ServicePrincipal "ec2.capacitymanager.amazonaws.com" +