Skip to content

Get Instance Uefi Data

ec2_get_instance_uefi_data R Documentation

A binary representation of the UEFI variable store

Description

A binary representation of the UEFI variable store. Only non-volatile variables are stored. This is a base64 encoded and zlib compressed binary value that must be properly encoded.

When you use register-image to create an AMI, you can create an exact copy of your variable store by passing the UEFI data in the UefiData parameter. You can modify the UEFI data by using the python-uefivars tool on GitHub. You can use the tool to convert the UEFI data into a human-readable format (JSON), which you can inspect and modify, and then convert back into the binary format to use with register-image.

For more information, see UEFI Secure Boot in the Amazon EC2 User Guide.

Usage

ec2_get_instance_uefi_data(InstanceId, DryRun)

Arguments

InstanceId

[required] The ID of the instance from which to retrieve the UEFI data.

DryRun

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Value

A list with the following syntax:

list(
  InstanceId = "string",
  UefiData = "string"
)

Request syntax

svc$get_instance_uefi_data(
  InstanceId = "string",
  DryRun = TRUE|FALSE
)