Class: Aws::EC2::Types::ImageUsageReportEntry

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb

Overview

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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#account_id ⇒ String

The ID of the account that uses the image.

Returns:

  • (String)


52228
52229
52230
52231
52232
52233
52234
52235
52236
52237
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 52228

class ImageUsageReportEntry < Struct.new(
  :resource_type,
  :report_id,
  :usage_count,
  :account_id,
  :image_id,
  :report_creation_time)
  SENSITIVE = []
  include Aws::Structure
end

#image_id ⇒ String

The ID of the image.

Returns:

  • (String)


52228
52229
52230
52231
52232
52233
52234
52235
52236
52237
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 52228

class ImageUsageReportEntry < Struct.new(
  :resource_type,
  :report_id,
  :usage_count,
  :account_id,
  :image_id,
  :report_creation_time)
  SENSITIVE = []
  include Aws::Structure
end

#report_creation_time ⇒ Time

The date and time the report creation was initiated.

Returns:

  • (Time)


52228
52229
52230
52231
52232
52233
52234
52235
52236
52237
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 52228

class ImageUsageReportEntry < Struct.new(
  :resource_type,
  :report_id,
  :usage_count,
  :account_id,
  :image_id,
  :report_creation_time)
  SENSITIVE = []
  include Aws::Structure
end

#report_id ⇒ String

The ID of the report.

Returns:

  • (String)


52228
52229
52230
52231
52232
52233
52234
52235
52236
52237
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 52228

class ImageUsageReportEntry < Struct.new(
  :resource_type,
  :report_id,
  :usage_count,
  :account_id,
  :image_id,
  :report_creation_time)
  SENSITIVE = []
  include Aws::Structure
end

#resource_type ⇒ String

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

Returns:

  • (String)


52228
52229
52230
52231
52232
52233
52234
52235
52236
52237
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 52228

class ImageUsageReportEntry < Struct.new(
  :resource_type,
  :report_id,
  :usage_count,
  :account_id,
  :image_id,
  :report_creation_time)
  SENSITIVE = []
  include Aws::Structure
end

#usage_count ⇒ Integer

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

Returns:

  • (Integer)


52228
52229
52230
52231
52232
52233
52234
52235
52236
52237
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 52228

class ImageUsageReportEntry < Struct.new(
  :resource_type,
  :report_id,
  :usage_count,
  :account_id,
  :image_id,
  :report_creation_time)
  SENSITIVE = []
  include Aws::Structure
end