Skip to main content

cost_estimates

Creates, updates, deletes, gets or lists a cost_estimates resource.

Overview

Namecost_estimates
TypeResource
Idaws.lightsail.cost_estimates

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
resources_budget_estimatearrayReturns the estimate's forecasted cost or usage.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_cost_estimateselectregionRetrieves 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.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

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
;