Skip to main content

cross_account_resource_accounts

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

Overview

Namecross_account_resource_accounts
TypeResource
Idaws.globalaccelerator.cross_account_resource_accounts

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
resource_owner_aws_account_idstringThe account IDs of principals (resource owners) in a cross-account attachment who can work with resources listed in the same attachment.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_cross_account_resource_accountsselectregionList the accounts that have cross-account resources. For more information, see Working with cross-account attachments and resources in Global Accelerator in the Global Accelerator Developer Guide.

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 accounts that have cross-account resources. For more information, see Working with cross-account attachments and resources in Global Accelerator in the Global Accelerator Developer Guide.

SELECT
resource_owner_aws_account_id
FROM aws.globalaccelerator.cross_account_resource_accounts
WHERE region = '{{ region }}' -- required
;