Skip to main content

resources_associated_to_custom_line_items

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

Overview

Nameresources_associated_to_custom_line_items
TypeResource
Idaws.billingconductor.resources_associated_to_custom_line_items

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
arnstringThe 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_periodstringThe end billing period of the associated resource. (pattern: <code>\d{4}-(0?[1-9]|1[012])</code>)
relationshipstringThe type of relationship between the custom line item and the associated resource. (PARENT, CHILD)

Methods

The following methods are available for this resource:

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

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

SELECT examples

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
;