Skip to main content

cross_account_resources

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

Overview

Namecross_account_resources
TypeResource
Idaws.globalaccelerator.cross_account_resources

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
attachment_arnstringThe Amazon Resource Name (ARN) of the cross-account attachment that specifies the resources (endpoints or CIDR range) that can be added to accelerators and principals that have permission to add them.
cidrstringAn IP address range, in CIDR format, that is specified as an Amazon Web Services resource. The address must be provisioned and advertised in Global Accelerator by following the bring your own IP address (BYOIP) process for Global Accelerator. For more information, see Bring your own IP addresses (BYOIP) in the Global Accelerator Developer Guide.
endpoint_idstringThe endpoint ID for the endpoint that is listed in a cross-account attachment and can be added to an accelerator by specified principals.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_cross_account_resourcesselectregionList the cross-account resources available to work with.

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 cross-account resources available to work with.

SELECT
attachment_arn,
cidr,
endpoint_id
FROM aws.globalaccelerator.cross_account_resources
WHERE region = '{{ region }}' -- required
;