cost_estimates
Creates, updates, deletes, gets or lists a cost_estimates resource.
Overview
| Name | cost_estimates |
| Type | Resource |
| Id | aws.lightsail.cost_estimates |
Fields
The following fields are returned by SELECT queries:
- get_cost_estimate
| Name | Datatype | Description |
|---|---|---|
resources_budget_estimate | array | Returns the estimate's forecasted cost or usage. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_cost_estimate | select | region | Retrieves information about the cost estimate for a specified resource. A cost estimate will not generate for a resource that has been deleted. |
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) |
SELECT examples
- get_cost_estimate
Retrieves information about the cost estimate for a specified resource. A cost estimate will not generate for a resource that has been deleted.
SELECT
resources_budget_estimate
FROM aws.lightsail.cost_estimates
WHERE region = '{{ region }}' -- required
;