Skip to content

ImageAttribute

Source code in docs_src/capo_ec2/types/image_attribute.py
class ImageAttribute(TypedDict, closed=True):
    description: NotRequired["capo_ec2.types.attribute_value.AttributeValue"]
    """<p>A description for the AMI.</p>"""
    kernel_id: NotRequired["capo_ec2.types.attribute_value.AttributeValue"]
    """<p>The kernel ID.</p>"""
    ramdisk_id: NotRequired["capo_ec2.types.attribute_value.AttributeValue"]
    """<p>The RAM disk ID.</p>"""
    sriov_net_support: NotRequired["capo_ec2.types.attribute_value.AttributeValue"]
    """<p>Indicates whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.</p>"""
    boot_mode: NotRequired["capo_ec2.types.attribute_value.AttributeValue"]
    """<p>The boot mode.</p>"""
    tpm_support: NotRequired["capo_ec2.types.attribute_value.AttributeValue"]
    """<p>If the image is configured for NitroTPM support, the value is <code>v2.0</code>.</p>"""
    uefi_data: NotRequired["capo_ec2.types.attribute_value.AttributeValue"]
    """<p>Base64 representation of the non-volatile UEFI variable store. To retrieve the UEFI data, use the <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetInstanceUefiData">GetInstanceUefiData</a> command. You can inspect and modify the UEFI data by using the <a href="https://github.com/awslabs/python-uefivars">python-uefivars tool</a> on GitHub. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/uefi-secure-boot.html">UEFI Secure Boot for Amazon EC2 instances</a> in the <i>Amazon EC2 User Guide</i>.</p>"""
    last_launched_time: NotRequired["capo_ec2.types.attribute_value.AttributeValue"]
    """<p>The date and time, in <a href="http://www.iso.org/iso/iso8601">ISO 8601 date-time format</a>, 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.</p> <note> <p> <code>lastLaunchedTime</code> data is available starting April 2017.</p> </note>"""
    imds_support: NotRequired["capo_ec2.types.attribute_value.AttributeValue"]
    """<p>If <code>v2.0</code>, it indicates that IMDSv2 is specified in the AMI. Instances launched from this AMI will have <code>HttpTokens</code> automatically set to <code>required</code> so that, by default, the instance requires that IMDSv2 is used when requesting instance metadata. In addition, <code>HttpPutResponseHopLimit</code> is set to <code>2</code>. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-IMDS-new-instances.html#configure-IMDS-new-instances-ami-configuration">Configure the AMI</a> in the <i>Amazon EC2 User Guide</i>.</p>"""
    deregistration_protection: NotRequired[
        "capo_ec2.types.attribute_value.AttributeValue"
    ]
    """<p>Indicates whether deregistration protection is enabled for the AMI.</p>"""
    image_id: NotRequired["capo_ec2.types.string.String"]
    """<p>The ID of the AMI.</p>"""
    launch_permissions: NotRequired[
        "capo_ec2.types.launch_permission_list.LaunchPermissionList"
    ]
    """<p>The launch permissions.</p>"""
    product_codes: NotRequired["capo_ec2.types.product_code_list.ProductCodeList"]
    """<p>The product codes.</p>"""
    block_device_mappings: NotRequired[
        "capo_ec2.types.block_device_mapping_list.BlockDeviceMappingList"
    ]
    """<p>The block device mapping entries.</p>"""

block_device_mappings instance-attribute

block_device_mappings: NotRequired[BlockDeviceMappingList]

The block device mapping entries.

boot_mode instance-attribute

boot_mode: NotRequired[AttributeValue]

The boot mode.

deregistration_protection instance-attribute

deregistration_protection: NotRequired[AttributeValue]

Indicates whether deregistration protection is enabled for the AMI.

description instance-attribute

description: NotRequired[AttributeValue]

A description for the AMI.

image_id instance-attribute

image_id: NotRequired[String]

The ID of the AMI.

imds_support instance-attribute

imds_support: NotRequired[AttributeValue]

If v2.0, it indicates that IMDSv2 is specified in the AMI. Instances launched from this AMI will have HttpTokens automatically set to required so that, by default, the instance requires that IMDSv2 is used when requesting instance metadata. In addition, HttpPutResponseHopLimit is set to 2. For more information, see Configure the AMI in the Amazon EC2 User Guide.

kernel_id instance-attribute

kernel_id: NotRequired[AttributeValue]

The kernel ID.

last_launched_time instance-attribute

last_launched_time: NotRequired[AttributeValue]

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.

launch_permissions instance-attribute

launch_permissions: NotRequired[LaunchPermissionList]

The launch permissions.

product_codes instance-attribute

product_codes: NotRequired[ProductCodeList]

The product codes.

ramdisk_id instance-attribute

ramdisk_id: NotRequired[AttributeValue]

The RAM disk ID.

sriov_net_support instance-attribute

sriov_net_support: NotRequired[AttributeValue]

Indicates whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.

tpm_support instance-attribute

tpm_support: NotRequired[AttributeValue]

If the image is configured for NitroTPM support, the value is v2.0.

uefi_data instance-attribute

uefi_data: NotRequired[AttributeValue]

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.