Skip to content

/AWS1/CL_IMGREGIMAGEOPTIONS

Controls Secure Boot and UEFI data settings for the resulting image during ISO imports. For more information, see UEFI Secure Boot for Amazon EC2 instances in the Amazon EC2 User Guide .

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_securebootenabled TYPE /AWS1/IMGNULLABLEBOOLEAN /AWS1/IMGNULLABLEBOOLEAN

Specifies whether Secure Boot is enabled for the output AMI. The default value is true. To disable Secure Boot for custom unsigned drivers, set this value to false.

iv_uefidata TYPE /AWS1/IMGUEFIDATA /AWS1/IMGUEFIDATA

A Base64-encoded representation of the non-volatile UEFI variable store. You can specify this parameter only when secureBootEnabled is true or unspecified. You can inspect and modify the UEFI data by using the python-uefivars tool on GitHub.

For more information, see UEFI variables for Amazon EC2 instances.


Queryable Attributes

secureBootEnabled

Specifies whether Secure Boot is enabled for the output AMI. The default value is true. To disable Secure Boot for custom unsigned drivers, set this value to false.

Accessible with the following methods

Method Description
GET_SECUREBOOTENABLED() Getter for SECUREBOOTENABLED, with configurable default
ASK_SECUREBOOTENABLED() Getter for SECUREBOOTENABLED w/ exceptions if field has no v
HAS_SECUREBOOTENABLED() Determine if SECUREBOOTENABLED has a value

uefiData

A Base64-encoded representation of the non-volatile UEFI variable store. You can specify this parameter only when secureBootEnabled is true or unspecified. You can inspect and modify the UEFI data by using the python-uefivars tool on GitHub.

For more information, see UEFI variables for Amazon EC2 instances.

Accessible with the following methods

Method Description
GET_UEFIDATA() Getter for UEFIDATA, with configurable default
ASK_UEFIDATA() Getter for UEFIDATA w/ exceptions if field has no value
HAS_UEFIDATA() Determine if UEFIDATA has a value