CmdID

CmdID / aws / aws ec2

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

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

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

2 in the AWS CLI reference
--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.