Class: Aws::DevOpsGuru::Types::ServiceResourceCost

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-devopsguru/types.rb

Overview

An object that contains information about the estimated monthly cost to analyze an Amazon Web Services resource. For more information, see

Estimate your Amazon DevOps Guru costs][1

and [Amazon DevOps Guru

pricing].

[1]: docs.aws.amazon.com/devops-guru/latest/userguide/cost-estimate.html [2]: aws.amazon.com/devops-guru/pricing/

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#costFloat

The total estimated monthly cost to analyze the active resources for this resource.

Returns:

  • (Float)


4371
4372
4373
4374
4375
4376
4377
4378
4379
# File 'lib/aws-sdk-devopsguru/types.rb', line 4371

class ServiceResourceCost < Struct.new(
  :type,
  :state,
  :count,
  :unit_cost,
  :cost)
  SENSITIVE = []
  include Aws::Structure
end

#countInteger

The number of active resources analyzed for this service to create a monthly cost estimate.

Returns:

  • (Integer)


4371
4372
4373
4374
4375
4376
4377
4378
4379
# File 'lib/aws-sdk-devopsguru/types.rb', line 4371

class ServiceResourceCost < Struct.new(
  :type,
  :state,
  :count,
  :unit_cost,
  :cost)
  SENSITIVE = []
  include Aws::Structure
end

#stateString

The state of the resource. The resource is ‘ACTIVE` if it produces metrics, events, or logs within an hour, otherwise it is `INACTIVE`. You pay for the number of active Amazon Web Services resource hours analyzed for each resource. Inactive resources are not charged.

Returns:

  • (String)


4371
4372
4373
4374
4375
4376
4377
4378
4379
# File 'lib/aws-sdk-devopsguru/types.rb', line 4371

class ServiceResourceCost < Struct.new(
  :type,
  :state,
  :count,
  :unit_cost,
  :cost)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

The type of the Amazon Web Services resource.

Returns:

  • (String)


4371
4372
4373
4374
4375
4376
4377
4378
4379
# File 'lib/aws-sdk-devopsguru/types.rb', line 4371

class ServiceResourceCost < Struct.new(
  :type,
  :state,
  :count,
  :unit_cost,
  :cost)
  SENSITIVE = []
  include Aws::Structure
end

#unit_costFloat

The price per hour to analyze the resources in the service. For more information, see [Estimate your Amazon DevOps Guru costs] and [Amazon DevOps Guru pricing].

[1]: docs.aws.amazon.com/devops-guru/latest/userguide/cost-estimate.html [2]: aws.amazon.com/devops-guru/pricing/

Returns:

  • (Float)


4371
4372
4373
4374
4375
4376
4377
4378
4379
# File 'lib/aws-sdk-devopsguru/types.rb', line 4371

class ServiceResourceCost < Struct.new(
  :type,
  :state,
  :count,
  :unit_cost,
  :cost)
  SENSITIVE = []
  include Aws::Structure
end