/AWS1/CL_EC2IMAGEATTRIBUTE¶
Describes an image attribute.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
io_description TYPE REF TO /AWS1/CL_EC2ATTRIBUTEVALUE /AWS1/CL_EC2ATTRIBUTEVALUE¶
A description for the AMI.
io_kernelid TYPE REF TO /AWS1/CL_EC2ATTRIBUTEVALUE /AWS1/CL_EC2ATTRIBUTEVALUE¶
The kernel ID.
io_ramdiskid TYPE REF TO /AWS1/CL_EC2ATTRIBUTEVALUE /AWS1/CL_EC2ATTRIBUTEVALUE¶
The RAM disk ID.
io_sriovnetsupport TYPE REF TO /AWS1/CL_EC2ATTRIBUTEVALUE /AWS1/CL_EC2ATTRIBUTEVALUE¶
Indicates whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.
io_bootmode TYPE REF TO /AWS1/CL_EC2ATTRIBUTEVALUE /AWS1/CL_EC2ATTRIBUTEVALUE¶
The boot mode.
io_tpmsupport TYPE REF TO /AWS1/CL_EC2ATTRIBUTEVALUE /AWS1/CL_EC2ATTRIBUTEVALUE¶
If the image is configured for NitroTPM support, the value is
v2.0.
io_uefidata TYPE REF TO /AWS1/CL_EC2ATTRIBUTEVALUE /AWS1/CL_EC2ATTRIBUTEVALUE¶
Base64 representation of the non-volatile UEFI variable store. To retrieve the UEFI data, use the GetInstanceUefiData command. You can inspect and modify the UEFI data by using the python-uefivars tool on GitHub. For more information, see UEFI Secure Boot for Amazon EC2 instances in the Amazon EC2 User Guide.
io_lastlaunchedtime TYPE REF TO /AWS1/CL_EC2ATTRIBUTEVALUE /AWS1/CL_EC2ATTRIBUTEVALUE¶
The date and time, in ISO 8601 date-time format, when the AMI was last used to launch an EC2 instance. When the AMI is used to launch an instance, there is a 24-hour delay before that usage is reported.
lastLaunchedTimedata is available starting April 2017.
io_imdssupport TYPE REF TO /AWS1/CL_EC2ATTRIBUTEVALUE /AWS1/CL_EC2ATTRIBUTEVALUE¶
If
v2.0, it indicates that IMDSv2 is specified in the AMI. Instances launched from this AMI will haveHttpTokensautomatically set torequiredso that, by default, the instance requires that IMDSv2 is used when requesting instance metadata. In addition,HttpPutResponseHopLimitis set to2. For more information, see Configure the AMI in the Amazon EC2 User Guide.
io_deregistrationprotection TYPE REF TO /AWS1/CL_EC2ATTRIBUTEVALUE /AWS1/CL_EC2ATTRIBUTEVALUE¶
Indicates whether deregistration protection is enabled for the AMI.
iv_imageid TYPE /AWS1/EC2STRING /AWS1/EC2STRING¶
The ID of the AMI.
it_launchpermissions TYPE /AWS1/CL_EC2LAUNCHPERMISSION=>TT_LAUNCHPERMISSIONLIST TT_LAUNCHPERMISSIONLIST¶
The launch permissions.
it_productcodes TYPE /AWS1/CL_EC2PRODUCTCODE=>TT_PRODUCTCODELIST TT_PRODUCTCODELIST¶
The product codes.
it_blockdevicemappings TYPE /AWS1/CL_EC2BLOCKDEVICEMAPPING=>TT_BLOCKDEVICEMAPPINGLIST TT_BLOCKDEVICEMAPPINGLIST¶
The block device mapping entries.
Queryable Attributes¶
Description¶
A description for the AMI.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_DESCRIPTION() |
Getter for DESCRIPTION |
KernelId¶
The kernel ID.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_KERNELID() |
Getter for KERNELID |
RamdiskId¶
The RAM disk ID.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_RAMDISKID() |
Getter for RAMDISKID |
SriovNetSupport¶
Indicates whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SRIOVNETSUPPORT() |
Getter for SRIOVNETSUPPORT |
BootMode¶
The boot mode.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_BOOTMODE() |
Getter for BOOTMODE |
TpmSupport¶
If the image is configured for NitroTPM support, the value is
v2.0.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_TPMSUPPORT() |
Getter for TPMSUPPORT |
UefiData¶
Base64 representation of the non-volatile UEFI variable store. To retrieve the UEFI data, use the GetInstanceUefiData command. You can inspect and modify the UEFI data by using the python-uefivars tool on GitHub. For more information, see UEFI Secure Boot for Amazon EC2 instances in the Amazon EC2 User Guide.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_UEFIDATA() |
Getter for UEFIDATA |
LastLaunchedTime¶
The date and time, in ISO 8601 date-time format, when the AMI was last used to launch an EC2 instance. When the AMI is used to launch an instance, there is a 24-hour delay before that usage is reported.
lastLaunchedTimedata is available starting April 2017.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_LASTLAUNCHEDTIME() |
Getter for LASTLAUNCHEDTIME |
ImdsSupport¶
If
v2.0, it indicates that IMDSv2 is specified in the AMI. Instances launched from this AMI will haveHttpTokensautomatically set torequiredso that, by default, the instance requires that IMDSv2 is used when requesting instance metadata. In addition,HttpPutResponseHopLimitis set to2. For more information, see Configure the AMI in the Amazon EC2 User Guide.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_IMDSSUPPORT() |
Getter for IMDSSUPPORT |
DeregistrationProtection¶
Indicates whether deregistration protection is enabled for the AMI.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_DEREGISTRATIONPROTECTION() |
Getter for DEREGISTRATIONPROTECTION |
ImageId¶
The ID of the AMI.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_IMAGEID() |
Getter for IMAGEID, with configurable default |
ASK_IMAGEID() |
Getter for IMAGEID w/ exceptions if field has no value |
HAS_IMAGEID() |
Determine if IMAGEID has a value |
LaunchPermissions¶
The launch permissions.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_LAUNCHPERMISSIONS() |
Getter for LAUNCHPERMISSIONS, with configurable default |
ASK_LAUNCHPERMISSIONS() |
Getter for LAUNCHPERMISSIONS w/ exceptions if field has no v |
HAS_LAUNCHPERMISSIONS() |
Determine if LAUNCHPERMISSIONS has a value |
ProductCodes¶
The product codes.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_PRODUCTCODES() |
Getter for PRODUCTCODES, with configurable default |
ASK_PRODUCTCODES() |
Getter for PRODUCTCODES w/ exceptions if field has no value |
HAS_PRODUCTCODES() |
Determine if PRODUCTCODES has a value |
BlockDeviceMappings¶
The block device mapping entries.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_BLOCKDEVICEMAPPINGS() |
Getter for BLOCKDEVICEMAPPINGS, with configurable default |
ASK_BLOCKDEVICEMAPPINGS() |
Getter for BLOCKDEVICEMAPPINGS w/ exceptions if field has no |
HAS_BLOCKDEVICEMAPPINGS() |
Determine if BLOCKDEVICEMAPPINGS has a value |