aws ec2 get-instance-uefi-data
A binary representation of the UEFI variable store. AWS CLI reference
1 example 2 options Its page in the AWS CLI reference
Examples
To retrieve UEFI data from an instance
The following get-instance-uefi-data example retrieves UEFI data from an instance. If the output is empty, the instance does not contain UEFI data.
aws ec2 get-instance-uefi-data --instance-id i-0123456789exampleIdentify--instance-idThe ID of the instance from which to retrieve the UEFI data.Its output
{
"InstanceId": "i-0123456789example",
"UefiData": "QU1aTlVFRkkf+uLXAAAAAHj5a7fZ9+3dBzxXb/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD4L/J/AODshho="
}For more information, see UEFI Secure Boot in the Amazon EC2 User Guide.
Options
--dry-runChecks whether you have the required permissions for the operation, without actually making the request, and provides an error response.--instance-idThe ID of the instance from which to retrieve the UEFI data.