Interface CfnGroupingConfiguration.GroupingAttributeDefinitionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnGroupingConfiguration.GroupingAttributeDefinitionProperty.Jsii$Proxy
- Enclosing class:
CfnGroupingConfiguration
@Stability(Stable)
public static interface CfnGroupingConfiguration.GroupingAttributeDefinitionProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.applicationsignals.*; GroupingAttributeDefinitionProperty groupingAttributeDefinitionProperty = GroupingAttributeDefinitionProperty.builder() .groupingName("groupingName") .groupingSourceKeys(List.of("groupingSourceKeys")) // the properties below are optional .defaultGroupingValue("defaultGroupingValue") .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
static final class
An implementation forCfnGroupingConfiguration.GroupingAttributeDefinitionProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default String
The default value to use for this grouping attribute when no value can be derived from the source keys.The friendly name for this grouping attribute, such asBusinessUnit
orEnvironment
.An array of source keys used to derive the grouping attribute value from telemetry data, AWS tags, or other sources.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getGroupingName
The friendly name for this grouping attribute, such asBusinessUnit
orEnvironment
.This name is used to identify the grouping in the console and APIs.
- See Also:
-
getGroupingSourceKeys
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.
- See Also:
-
getDefaultGroupingValue
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.
- See Also:
-
builder
@Stability(Stable) static CfnGroupingConfiguration.GroupingAttributeDefinitionProperty.Builder builder()
-