resources_associated_to_custom_line_items
Creates, updates, deletes, gets or lists a resources_associated_to_custom_line_items resource.
Overview
| Name | resources_associated_to_custom_line_items |
| Type | Resource |
| Id | aws.billingconductor.resources_associated_to_custom_line_items |
Fields
The following fields are returned by SELECT queries:
- list_resources_associated_to_custom_line_item
| Name | Datatype | Description |
|---|---|---|
arn | string | The ARN of the associated resource. (pattern: <code>(arn:aws(-cn)?:billingconductor::[0-9]{12}:(customlineitem|billinggroup)/)?[a-zA-Z0-9]{10,12}</code>) |
end_billing_period | string | The end billing period of the associated resource. (pattern: <code>\d{4}-(0?[1-9]|1[012])</code>) |
relationship | string | The type of relationship between the custom line item and the associated resource. (PARENT, CHILD) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_resources_associated_to_custom_line_item | select | region | List the resources that are associated to a custom line item. |
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_resources_associated_to_custom_line_item
List the resources that are associated to a custom line item.
SELECT
arn,
end_billing_period,
relationship
FROM aws.billingconductor.resources_associated_to_custom_line_items
WHERE region = '{{ region }}' -- required
;