Skip to main content

account_associations

Creates, updates, deletes, gets or lists an account_associations resource.

Overview

Nameaccount_associations
TypeResource
Idaws.billingconductor.account_associations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
account_emailstringThe Amazon Web Services account email.
account_idstringThe associating array of account IDs. (pattern: <code>[0-9]{12}</code>)
account_namestringThe Amazon Web Services account name.
billing_group_arnstringThe Billing Group Arn that the linked account is associated to. (pattern: <code>(arn:aws(-cn)?:billingconductor::[0-9]{12}:billinggroup/)?[a-zA-Z0-9]{10,12}</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_account_associationsselectregionThis is a paginated call to list linked accounts that are linked to the payer account for the specified time period. If no information is provided, the current billing period is used. The response will optionally include the billing group that's associated with the linked account.

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

This is a paginated call to list linked accounts that are linked to the payer account for the specified time period. If no information is provided, the current billing period is used. The response will optionally include the billing group that's associated with the linked account.

SELECT
account_email,
account_id,
account_name,
billing_group_arn
FROM aws.billingconductor.account_associations
WHERE region = '{{ region }}' -- required
;