/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 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.
lastLaunchedTime
data 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 haveHttpTokens
automatically set torequired
so that, by default, the instance requires that IMDSv2 is used when requesting instance metadata. In addition,HttpPutResponseHopLimit
is 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 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.
lastLaunchedTime
data 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 haveHttpTokens
automatically set torequired
so that, by default, the instance requires that IMDSv2 is used when requesting instance metadata. In addition,HttpPutResponseHopLimit
is 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 |