interface GroupingAttributeDefinitionProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.ApplicationSignals.CfnGroupingConfigurationPropsMixin.GroupingAttributeDefinitionProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsapplicationsignals#CfnGroupingConfigurationPropsMixin_GroupingAttributeDefinitionProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.applicationsignals.CfnGroupingConfigurationPropsMixin.GroupingAttributeDefinitionProperty |
Python | aws_cdk.cfn_property_mixins.aws_applicationsignals.CfnGroupingConfigurationPropsMixin.GroupingAttributeDefinitionProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_applicationsignals » CfnGroupingConfigurationPropsMixin » GroupingAttributeDefinitionProperty |
A structure that defines how services should be grouped based on specific attributes.
This includes the friendly name for the grouping, the source keys to derive values from, and an optional default value.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_applicationsignals as applicationsignals } from '@aws-cdk/cfn-property-mixins';
const groupingAttributeDefinitionProperty: applicationsignals.CfnGroupingConfigurationPropsMixin.GroupingAttributeDefinitionProperty = {
defaultGroupingValue: 'defaultGroupingValue',
groupingName: 'groupingName',
groupingSourceKeys: ['groupingSourceKeys'],
};
Properties
| Name | Type | Description |
|---|---|---|
| default | string | The default value to use for this grouping attribute when no value can be derived from the source keys. |
| grouping | string | The friendly name for this grouping attribute, such as BusinessUnit or Environment . |
| grouping | string[] | An array of source keys used to derive the grouping attribute value from telemetry data, AWS tags, or other sources. |
defaultGroupingValue?
Type:
string
(optional)
The default value to use for this grouping attribute when no value can be derived from the source keys.
This ensures all services have a grouping value even if the source data is missing.
groupingName?
Type:
string
(optional)
The friendly name for this grouping attribute, such as BusinessUnit or Environment .
This name is used to identify the grouping in the console and APIs.
groupingSourceKeys?
Type:
string[]
(optional)
An array of source keys used to derive the grouping attribute value from telemetry data, AWS tags, or other sources.
For example, ["business_unit", "team"] would look for values in those fields.

.NET
Go
Java
Python
TypeScript