cross_account_resources
Creates, updates, deletes, gets or lists a cross_account_resources resource.
Overview
| Name | cross_account_resources |
| Type | Resource |
| Id | aws.globalaccelerator.cross_account_resources |
Fields
The following fields are returned by SELECT queries:
- list_cross_account_resources
| Name | Datatype | Description |
|---|---|---|
attachment_arn | string | The 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. |
cidr | string | An 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_id | string | The 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:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_cross_account_resources | select | region | List 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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- list_cross_account_resources
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
;