Class: Aws::CostExplorer::Types::CurrentInstance

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

Overview

Context about the current instance.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#currency_codeString

The currency code that Amazon Web Services used to calculate the costs for this instance.

Returns:

  • (String)


1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 1179

class CurrentInstance < Struct.new(
  :resource_id,
  :instance_name,
  :tags,
  :resource_details,
  :resource_utilization,
  :reservation_covered_hours_in_lookback_period,
  :savings_plans_covered_hours_in_lookback_period,
  :on_demand_hours_in_lookback_period,
  :total_running_hours_in_lookback_period,
  :monthly_cost,
  :currency_code)
  SENSITIVE = []
  include Aws::Structure
end

#instance_nameString

The name that you given an instance. This field shows as blank if you haven't given the instance a name.

Returns:

  • (String)


1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 1179

class CurrentInstance < Struct.new(
  :resource_id,
  :instance_name,
  :tags,
  :resource_details,
  :resource_utilization,
  :reservation_covered_hours_in_lookback_period,
  :savings_plans_covered_hours_in_lookback_period,
  :on_demand_hours_in_lookback_period,
  :total_running_hours_in_lookback_period,
  :monthly_cost,
  :currency_code)
  SENSITIVE = []
  include Aws::Structure
end

#monthly_costString

The current On-Demand cost of operating this instance on a monthly basis.

Returns:

  • (String)


1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 1179

class CurrentInstance < Struct.new(
  :resource_id,
  :instance_name,
  :tags,
  :resource_details,
  :resource_utilization,
  :reservation_covered_hours_in_lookback_period,
  :savings_plans_covered_hours_in_lookback_period,
  :on_demand_hours_in_lookback_period,
  :total_running_hours_in_lookback_period,
  :monthly_cost,
  :currency_code)
  SENSITIVE = []
  include Aws::Structure
end

#on_demand_hours_in_lookback_periodString

The number of hours during the lookback period that's billed at On-Demand rates.

Returns:

  • (String)


1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 1179

class CurrentInstance < Struct.new(
  :resource_id,
  :instance_name,
  :tags,
  :resource_details,
  :resource_utilization,
  :reservation_covered_hours_in_lookback_period,
  :savings_plans_covered_hours_in_lookback_period,
  :on_demand_hours_in_lookback_period,
  :total_running_hours_in_lookback_period,
  :monthly_cost,
  :currency_code)
  SENSITIVE = []
  include Aws::Structure
end

#reservation_covered_hours_in_lookback_periodString

The number of hours during the lookback period that's covered by reservations.

Returns:

  • (String)


1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 1179

class CurrentInstance < Struct.new(
  :resource_id,
  :instance_name,
  :tags,
  :resource_details,
  :resource_utilization,
  :reservation_covered_hours_in_lookback_period,
  :savings_plans_covered_hours_in_lookback_period,
  :on_demand_hours_in_lookback_period,
  :total_running_hours_in_lookback_period,
  :monthly_cost,
  :currency_code)
  SENSITIVE = []
  include Aws::Structure
end

#resource_detailsTypes::ResourceDetails

Details about the resource and utilization.



1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 1179

class CurrentInstance < Struct.new(
  :resource_id,
  :instance_name,
  :tags,
  :resource_details,
  :resource_utilization,
  :reservation_covered_hours_in_lookback_period,
  :savings_plans_covered_hours_in_lookback_period,
  :on_demand_hours_in_lookback_period,
  :total_running_hours_in_lookback_period,
  :monthly_cost,
  :currency_code)
  SENSITIVE = []
  include Aws::Structure
end

#resource_idString

Resource ID of the current instance.

Returns:

  • (String)


1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 1179

class CurrentInstance < Struct.new(
  :resource_id,
  :instance_name,
  :tags,
  :resource_details,
  :resource_utilization,
  :reservation_covered_hours_in_lookback_period,
  :savings_plans_covered_hours_in_lookback_period,
  :on_demand_hours_in_lookback_period,
  :total_running_hours_in_lookback_period,
  :monthly_cost,
  :currency_code)
  SENSITIVE = []
  include Aws::Structure
end

#resource_utilizationTypes::ResourceUtilization

Utilization information of the current instance during the lookback period.



1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 1179

class CurrentInstance < Struct.new(
  :resource_id,
  :instance_name,
  :tags,
  :resource_details,
  :resource_utilization,
  :reservation_covered_hours_in_lookback_period,
  :savings_plans_covered_hours_in_lookback_period,
  :on_demand_hours_in_lookback_period,
  :total_running_hours_in_lookback_period,
  :monthly_cost,
  :currency_code)
  SENSITIVE = []
  include Aws::Structure
end

#savings_plans_covered_hours_in_lookback_periodString

The number of hours during the lookback period that's covered by Savings Plans.

Returns:

  • (String)


1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 1179

class CurrentInstance < Struct.new(
  :resource_id,
  :instance_name,
  :tags,
  :resource_details,
  :resource_utilization,
  :reservation_covered_hours_in_lookback_period,
  :savings_plans_covered_hours_in_lookback_period,
  :on_demand_hours_in_lookback_period,
  :total_running_hours_in_lookback_period,
  :monthly_cost,
  :currency_code)
  SENSITIVE = []
  include Aws::Structure
end

#tagsArray<Types::TagValues>

Cost allocation resource tags that are applied to the instance.

Returns:



1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 1179

class CurrentInstance < Struct.new(
  :resource_id,
  :instance_name,
  :tags,
  :resource_details,
  :resource_utilization,
  :reservation_covered_hours_in_lookback_period,
  :savings_plans_covered_hours_in_lookback_period,
  :on_demand_hours_in_lookback_period,
  :total_running_hours_in_lookback_period,
  :monthly_cost,
  :currency_code)
  SENSITIVE = []
  include Aws::Structure
end

#total_running_hours_in_lookback_periodString

The total number of hours that the instance ran during the lookback period.

Returns:

  • (String)


1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 1179

class CurrentInstance < Struct.new(
  :resource_id,
  :instance_name,
  :tags,
  :resource_details,
  :resource_utilization,
  :reservation_covered_hours_in_lookback_period,
  :savings_plans_covered_hours_in_lookback_period,
  :on_demand_hours_in_lookback_period,
  :total_running_hours_in_lookback_period,
  :monthly_cost,
  :currency_code)
  SENSITIVE = []
  include Aws::Structure
end