bill_estimate_commitments
Creates, updates, deletes, gets or lists a bill_estimate_commitments resource.
Overview
| Name | bill_estimate_commitments |
| Type | Resource |
| Id | aws.bcm_pricing_calculator.bill_estimate_commitments |
Fields
The following fields are returned by SELECT queries:
- list_bill_estimate_commitments
| Name | Datatype | Description |
|---|---|---|
id | string | The unique identifier of the commitment. (pattern: <code>[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}</code>) |
monthly_payment | object | The monthly payment amount for this commitment, if applicable. |
offering_id | string | The identifier of the specific offering associated with this commitment. (pattern: <code>[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}</code>) |
payment_option | string | The payment option chosen for this commitment (e.g., All Upfront, Partial Upfront, No Upfront). |
purchase_agreement_type | string | The type of purchase agreement (e.g., Reserved Instance, Savings Plan). (SAVINGS_PLANS, RESERVED_INSTANCE) |
region | string | The Amazon Web Services region associated with this commitment. |
term_length | string | The length of the commitment term. |
upfront_payment | object | The upfront payment amount for this commitment, if applicable. |
usage_account_id | string | The Amazon Web Services account ID associated with this commitment. (pattern: <code>\d{12}</code>) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_bill_estimate_commitments | select | region | Lists the commitments associated with a bill estimate. |
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
- list_bill_estimate_commitments
Lists the commitments associated with a bill estimate.
SELECT
id,
monthly_payment,
offering_id,
payment_option,
purchase_agreement_type,
region,
term_length,
upfront_payment,
usage_account_id
FROM aws.bcm_pricing_calculator.bill_estimate_commitments
WHERE region = '{{ region }}' -- required
;