Skip to content

/AWS1/CL_EC2IMAGEUSAGERPTENTRY

A single entry in an image usage report, detailing how an image is being used by a specific Amazon Web Services account and resource type.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_resourcetype TYPE /AWS1/EC2IMAGEUSAGERESTYPENAME /AWS1/EC2IMAGEUSAGERESTYPENAME

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

iv_reportid TYPE /AWS1/EC2IMAGEUSAGEREPORTID /AWS1/EC2IMAGEUSAGEREPORTID

The ID of the report.

iv_usagecount TYPE /AWS1/EC2LONG /AWS1/EC2LONG

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

iv_accountid TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The ID of the account that uses the image.

iv_imageid TYPE /AWS1/EC2IMAGEID /AWS1/EC2IMAGEID

The ID of the image.

iv_reportcreationtime TYPE /AWS1/EC2MILLISECONDDATETIME /AWS1/EC2MILLISECONDDATETIME

The date and time the report creation was initiated.


Queryable Attributes

ResourceType

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

Accessible with the following methods

Method Description
GET_RESOURCETYPE() Getter for RESOURCETYPE, with configurable default
ASK_RESOURCETYPE() Getter for RESOURCETYPE w/ exceptions if field has no value
HAS_RESOURCETYPE() Determine if RESOURCETYPE has a value

ReportId

The ID of the report.

Accessible with the following methods

Method Description
GET_REPORTID() Getter for REPORTID, with configurable default
ASK_REPORTID() Getter for REPORTID w/ exceptions if field has no value
HAS_REPORTID() Determine if REPORTID has a value

UsageCount

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

Accessible with the following methods

Method Description
GET_USAGECOUNT() Getter for USAGECOUNT, with configurable default
ASK_USAGECOUNT() Getter for USAGECOUNT w/ exceptions if field has no value
HAS_USAGECOUNT() Determine if USAGECOUNT has a value

AccountId

The ID of the account that uses the image.

Accessible with the following methods

Method Description
GET_ACCOUNTID() Getter for ACCOUNTID, with configurable default
ASK_ACCOUNTID() Getter for ACCOUNTID w/ exceptions if field has no value
HAS_ACCOUNTID() Determine if ACCOUNTID has a value

ImageId

The ID of the image.

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

ReportCreationTime

The date and time the report creation was initiated.

Accessible with the following methods

Method Description
GET_REPORTCREATIONTIME() Getter for REPORTCREATIONTIME, with configurable default
ASK_REPORTCREATIONTIME() Getter for REPORTCREATIONTIME w/ exceptions if field has no
HAS_REPORTCREATIONTIME() Determine if REPORTCREATIONTIME has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_IMAGEUSAGEREPORTENTRYLIST

TYPES TT_IMAGEUSAGEREPORTENTRYLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_EC2IMAGEUSAGERPTENTRY WITH DEFAULT KEY
.