group_resources
Creates, updates, deletes, gets or lists a group_resources resource.
Overview
| Name | group_resources |
| Type | Resource |
| Id | aws.synthetics.group_resources |
Fields
The following fields are returned by SELECT queries:
- list_group_resources
| Name | Datatype | Description |
|---|---|---|
resource | string | An array of ARNs. These ARNs are for the canaries that are associated with the group. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_group_resources | select | group_identifier, region | This operation returns a list of the ARNs of the canaries that are associated with the specified group. |
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 |
|---|---|---|
group_identifier | string | Specifies the group to return information for. You can specify the group name, the ARN, or the group ID as the GroupIdentifier. |
region | string | AWS region (default: us-east-1) |
SELECT examples
- list_group_resources
This operation returns a list of the ARNs of the canaries that are associated with the specified group.
SELECT
resource
FROM aws.synthetics.group_resources
WHERE group_identifier = '{{ group_identifier }}' -- required
AND region = '{{ region }}' -- required
;