Skip to main content

grouping_attribute_definitions

Creates, updates, deletes, gets or lists a grouping_attribute_definitions resource.

Overview

Namegrouping_attribute_definitions
TypeResource
Idaws.application_signals.grouping_attribute_definitions

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
grouping_attribute_definitionsarrayAn array of structures, where each structure contains information about one grouping attribute definition, including the grouping name, source keys, and default values.
next_tokenstringInclude this value in your next use of this API to get the next set of grouping attribute definitions.
updated_atstring (date-time)The timestamp when the grouping configuration was last updated. When used in a raw HTTP Query API, it is formatted as epoch time in seconds.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_grouping_attribute_definitionsselectregionNextToken, AwsAccountId, IncludeLinkedAccountsReturns the current grouping configuration for this account, including all custom grouping attribute definitions that have been configured. These definitions determine how services are logically grouped based on telemetry attributes, Amazon Web Services tags, or predefined mappings.

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)
AwsAccountIdstringThe Amazon Web Services account ID to retrieve grouping attribute definitions for. Use this when accessing grouping configurations from a different account in cross-account monitoring scenarios.
IncludeLinkedAccountsbooleanIf you are using this operation in a monitoring account, specify true to include grouping attributes from source accounts in the returned data.
NextTokenstringInclude this value, if it was returned by the previous operation, to get the next set of grouping attribute definitions.

SELECT examples

Returns the current grouping configuration for this account, including all custom grouping attribute definitions that have been configured. These definitions determine how services are logically grouped based on telemetry attributes, Amazon Web Services tags, or predefined mappings.

SELECT
grouping_attribute_definitions,
next_token,
updated_at
FROM aws.application_signals.grouping_attribute_definitions
WHERE region = '{{ region }}' -- required
AND NextToken = '{{ NextToken }}'
AND AwsAccountId = '{{ AwsAccountId }}'
AND IncludeLinkedAccounts = '{{ IncludeLinkedAccounts }}'
;