cost_estimations
Creates, updates, deletes, gets or lists a cost_estimations resource.
Overview
| Name | cost_estimations |
| Type | Resource |
| Id | aws.devops_guru.cost_estimations |
Fields
The following fields are returned by SELECT queries:
- get_cost_estimation
| Name | Datatype | Description |
|---|---|---|
cost | number (double) | The total estimated monthly cost to analyze the active resources for this resource. |
count | integer | The number of active resources analyzed for this service to create a monthly cost estimate. |
state | string | 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. (ACTIVE, INACTIVE) |
type | string | The type of the Amazon Web Services resource. (pattern: <code>^[a-zA-Z]+[a-zA-Z0-9-_:]*$</code>) |
unit_cost | number (double) | 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. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_cost_estimation | select | region | NextToken | Returns an estimate of the monthly cost for DevOps Guru to analyze your Amazon Web Services resources. For more information, see Estimate your Amazon DevOps Guru costs and Amazon DevOps Guru pricing. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
NextToken | string | The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page. |
SELECT examples
- get_cost_estimation
Returns an estimate of the monthly cost for DevOps Guru to analyze your Amazon Web Services resources. For more information, see Estimate your Amazon DevOps Guru costs and Amazon DevOps Guru pricing.
SELECT
cost,
count,
state,
type,
unit_cost
FROM aws.devops_guru.cost_estimations
WHERE region = '{{ region }}' -- required
AND NextToken = '{{ NextToken }}'
;