| Server IP : 189.126.111.107 / Your IP : 216.73.217.69 Web Server : Apache System : Linux www.gadotticar.com.br 5.4.0-135-generic #152-Ubuntu SMP Wed Nov 23 20:19:22 UTC 2022 x86_64 User : gadotticar ( 1000) PHP Version : 8.2.27 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/doc/awscli/examples/ec2/ |
Upload File : |
**To describe the launch permissions for an AMI**
This example describes the launch permissions for the specified AMI.
Command::
aws ec2 describe-image-attribute --image-id ami-5731123e --attribute launchPermission
Output::
{
"LaunchPermissions": [
{
"UserId": "123456789012"
}
],
"ImageId": "ami-5731123e",
}
**To describe the product codes for an AMI**
This example describes the product codes for the specified AMI. Note that this AMI has no product codes.
Command::
aws ec2 describe-image-attribute --image-id ami-5731123e --attribute productCodes
Output::
{
"ProductCodes": [],
"ImageId": "ami-5731123e",
}