Skip to content

ImageUsageReportEntry

Source code in docs_src/capo_ec2/types/image_usage_report_entry.py
class ImageUsageReportEntry(TypedDict, closed=True):
    resource_type: NotRequired[
        "capo_ec2.types.image_usage_resource_type_name.ImageUsageResourceTypeName"
    ]
    """<p>The type of resource (<code>ec2:Instance</code> or <code>ec2:LaunchTemplate</code>).</p>"""
    report_id: NotRequired["capo_ec2.types.image_usage_report_id.ImageUsageReportId"]
    """<p>The ID of the report.</p>"""
    usage_count: NotRequired["capo_ec2.types.long.Long"]
    """<p>The number of times resources of this type reference this image in the account.</p>"""
    account_id: NotRequired["capo_ec2.types.string.String"]
    """<p>The ID of the account that uses the image.</p>"""
    image_id: NotRequired["capo_ec2.types.image_id.ImageId"]
    """<p>The ID of the image.</p>"""
    report_creation_time: NotRequired[
        "capo_ec2.types.millisecond_date_time.MillisecondDateTime"
    ]
    """<p>The date and time the report creation was initiated.</p>"""

account_id instance-attribute

account_id: NotRequired[String]

The ID of the account that uses the image.

image_id instance-attribute

image_id: NotRequired[ImageId]

The ID of the image.

report_creation_time instance-attribute

report_creation_time: NotRequired[MillisecondDateTime]

The date and time the report creation was initiated.

report_id instance-attribute

report_id: NotRequired[ImageUsageReportId]

The ID of the report.

resource_type instance-attribute

resource_type: NotRequired[ImageUsageResourceTypeName]

The type of resource (ec2:Instance or ec2:LaunchTemplate).

usage_count instance-attribute

usage_count: NotRequired[Long]

The number of times resources of this type reference this image in the account.