Skip to main content

attached_links

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

Overview

Nameattached_links
TypeResource
Idaws.oam.attached_links

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
labelstringThe label that was assigned to this link at creation, with the variables resolved to their actual values.
link_arnstringThe ARN of the link.
resource_typesarrayThe resource types supported by this link.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_attached_linksselectregionReturns a list of source account links that are linked to this monitoring account sink. To use this operation, provide the sink ARN. To retrieve a list of sink ARNs, use ListSinks. To find a list of links for one source account, use ListLinks.

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

Returns a list of source account links that are linked to this monitoring account sink. To use this operation, provide the sink ARN. To retrieve a list of sink ARNs, use ListSinks. To find a list of links for one source account, use ListLinks.

SELECT
label,
link_arn,
resource_types
FROM aws.oam.attached_links
WHERE region = '{{ region }}' -- required
;