Skip to main content

associated_groups

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

Overview

Nameassociated_groups
TypeResource
Idaws.synthetics.associated_groups

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
groupsarrayAn array of structures that contain information about the groups that this canary is associated with.
next_tokenstringA token that indicates that there is more data available. You can use this token in a subsequent ListAssociatedGroups operation to retrieve the next set of results. (pattern: <code>^.+$</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_associated_groupsselectresource_arn, regionReturns a list of the groups that the specified canary is associated with. The canary that you specify must be in the current Region.

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)
resource_arnstringThe ARN of the canary that you want to view groups for.

SELECT examples

Returns a list of the groups that the specified canary is associated with. The canary that you specify must be in the current Region.

SELECT
groups,
next_token
FROM aws.synthetics.associated_groups
WHERE resource_arn = '{{ resource_arn }}' -- required
AND region = '{{ region }}' -- required
;