AWS AWSEC2 documentation change
Summary
Removed PowerShell command prompt prefixes (PS C:\>) from code examples
Security assessment
Formatting change to standardize command presentation without impacting security functionality or documentation
Diff
diff --git a/AWSEC2/latest/UserGuide/share-amis-org-ou-manage.md b/AWSEC2/latest/UserGuide/share-amis-org-ou-manage.md index a9407fc6f..1306981c4 100644 --- a//AWSEC2/latest/UserGuide/share-amis-org-ou-manage.md +++ b//AWSEC2/latest/UserGuide/share-amis-org-ou-manage.md @@ -124 +124 @@ The following command grants launch permissions for the specified AMI to the spe - PS C:\> Edit-EC2ImageAttribute -ImageId ami-0abcdef1234567890 -Attribute launchPermission -OperationType add -OrganizationArn "arn:aws:organizations::123456789012:organization/o-123example" + Edit-EC2ImageAttribute -ImageId ami-0abcdef1234567890 -Attribute launchPermission -OperationType add -OrganizationArn "arn:aws:organizations::123456789012:organization/o-123example" @@ -131 +131 @@ The following command removes launch permissions for the specified AMI from the - PS C:\> Edit-EC2ImageAttribute -ImageId ami-0abcdef1234567890 -Attribute launchPermission -OperationType remove -OrganizationArn "arn:aws:organizations::123456789012:organization/o-123example" + Edit-EC2ImageAttribute -ImageId ami-0abcdef1234567890 -Attribute launchPermission -OperationType remove -OrganizationArn "arn:aws:organizations::123456789012:organization/o-123example" @@ -138 +138 @@ The following command removes all public and explicit launch permissions from th - PS C:\> Reset-EC2ImageAttribute -ImageId ami-0abcdef1234567890 -Attribute launchPermission + Reset-EC2ImageAttribute -ImageId ami-0abcdef1234567890 -Attribute launchPermission