Skip to content

/AWS1/CL_CWSGROUPINGATTRDEFN

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.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_groupingname TYPE /AWS1/CWSGROUPINGSTRING /AWS1/CWSGROUPINGSTRING

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.

Optional arguments:

it_groupingsourcekeys TYPE /AWS1/CL_CWSGRINGSRCKEYSTRLS00=>TT_GROUPINGSOURCEKEYSTRINGLIST TT_GROUPINGSOURCEKEYSTRINGLIST

An array of source keys used to derive the grouping attribute value from telemetry data, Amazon Web Services tags, or other sources. For example, ["business_unit", "team"] would look for values in those fields.

iv_defaultgroupingvalue TYPE /AWS1/CWSGROUPINGSTRING /AWS1/CWSGROUPINGSTRING

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.


Queryable Attributes

GroupingName

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.

Accessible with the following methods

Method Description
GET_GROUPINGNAME() Getter for GROUPINGNAME, with configurable default
ASK_GROUPINGNAME() Getter for GROUPINGNAME w/ exceptions if field has no value
HAS_GROUPINGNAME() Determine if GROUPINGNAME has a value

GroupingSourceKeys

An array of source keys used to derive the grouping attribute value from telemetry data, Amazon Web Services tags, or other sources. For example, ["business_unit", "team"] would look for values in those fields.

Accessible with the following methods

Method Description
GET_GROUPINGSOURCEKEYS() Getter for GROUPINGSOURCEKEYS, with configurable default
ASK_GROUPINGSOURCEKEYS() Getter for GROUPINGSOURCEKEYS w/ exceptions if field has no
HAS_GROUPINGSOURCEKEYS() Determine if GROUPINGSOURCEKEYS has a value

DefaultGroupingValue

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.

Accessible with the following methods

Method Description
GET_DEFAULTGROUPINGVALUE() Getter for DEFAULTGROUPINGVALUE, with configurable default
ASK_DEFAULTGROUPINGVALUE() Getter for DEFAULTGROUPINGVALUE w/ exceptions if field has n
HAS_DEFAULTGROUPINGVALUE() Determine if DEFAULTGROUPINGVALUE has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_GROUPINGATTRIBUTEDEFNS

TYPES TT_GROUPINGATTRIBUTEDEFNS TYPE STANDARD TABLE OF REF TO /AWS1/CL_CWSGROUPINGATTRDEFN WITH DEFAULT KEY
.