Class CfnGroupingConfiguration.GroupingAttributeDefinitionProperty
A structure that defines how services should be grouped based on specific attributes.
Inherited Members
Namespace: Amazon.CDK.AWS.ApplicationSignals
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnGroupingConfiguration.GroupingAttributeDefinitionProperty : CfnGroupingConfiguration.IGroupingAttributeDefinitionProperty
Syntax (vb)
Public Class CfnGroupingConfiguration.GroupingAttributeDefinitionProperty Implements CfnGroupingConfiguration.IGroupingAttributeDefinitionProperty
Remarks
This includes the friendly name for the grouping, the source keys to derive values from, and an optional default value.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ApplicationSignals;
var groupingAttributeDefinitionProperty = new GroupingAttributeDefinitionProperty {
GroupingName = "groupingName",
GroupingSourceKeys = new [] { "groupingSourceKeys" },
// the properties below are optional
DefaultGroupingValue = "defaultGroupingValue"
};
Synopsis
Constructors
| GroupingAttributeDefinitionProperty() | A structure that defines how services should be grouped based on specific attributes. |
Properties
| DefaultGroupingValue | The default value to use for this grouping attribute when no value can be derived from the source keys. |
| GroupingName | The friendly name for this grouping attribute, such as |
| GroupingSourceKeys | An array of source keys used to derive the grouping attribute value from telemetry data, AWS tags, or other sources. |
Constructors
GroupingAttributeDefinitionProperty()
A structure that defines how services should be grouped based on specific attributes.
public GroupingAttributeDefinitionProperty()
Remarks
This includes the friendly name for the grouping, the source keys to derive values from, and an optional default value.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ApplicationSignals;
var groupingAttributeDefinitionProperty = new GroupingAttributeDefinitionProperty {
GroupingName = "groupingName",
GroupingSourceKeys = new [] { "groupingSourceKeys" },
// the properties below are optional
DefaultGroupingValue = "defaultGroupingValue"
};
Properties
DefaultGroupingValue
The default value to use for this grouping attribute when no value can be derived from the source keys.
public string? DefaultGroupingValue { get; set; }
Property Value
Remarks
This ensures all services have a grouping value even if the source data is missing.
GroupingName
The friendly name for this grouping attribute, such as BusinessUnit or Environment .
public string GroupingName { get; set; }
Property Value
Remarks
This name is used to identify the grouping in the console and APIs.
GroupingSourceKeys
An array of source keys used to derive the grouping attribute value from telemetry data, AWS tags, or other sources.
public string[] GroupingSourceKeys { get; set; }
Property Value
string[]
Remarks
For example, ["business_unit", "team"] would look for values in those fields.