attached_links
Creates, updates, deletes, gets or lists an attached_links resource.
Overview
| Name | attached_links |
| Type | Resource |
| Id | aws.oam.attached_links |
Fields
The following fields are returned by SELECT queries:
- list_attached_links
| Name | Datatype | Description |
|---|---|---|
label | string | The label that was assigned to this link at creation, with the variables resolved to their actual values. |
link_arn | string | The ARN of the link. |
resource_types | array | The resource types supported by this link. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_attached_links | select | region | 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. |
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_attached_links
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
;