/AWS1/CL_CWODATASOURCE¶
Information about a data source associated with the telemetry pipeline. For CloudWatch Logs sources, this includes both a name and type extracted from the log event metadata. For third-party sources (such as S3), this includes only a name, with the type field left empty.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_name TYPE /AWS1/CWOSTRING /AWS1/CWOSTRING¶
The name of the data source. For CloudWatch Logs sources, this corresponds to the
data_source_namefrom the log event metadata. For third-party sources, this is either the configureddata_source_nameor defaults to the plugin name if not specified.
iv_type TYPE /AWS1/CWOSTRING /AWS1/CWOSTRING¶
The type of the data source. For CloudWatch Logs sources, this corresponds to the
data_source_typefrom the log event metadata. For third-party sources, this field is empty.
Queryable Attributes¶
Name¶
The name of the data source. For CloudWatch Logs sources, this corresponds to the
data_source_namefrom the log event metadata. For third-party sources, this is either the configureddata_source_nameor defaults to the plugin name if not specified.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_NAME() |
Getter for NAME, with configurable default |
ASK_NAME() |
Getter for NAME w/ exceptions if field has no value |
HAS_NAME() |
Determine if NAME has a value |
Type¶
The type of the data source. For CloudWatch Logs sources, this corresponds to the
data_source_typefrom the log event metadata. For third-party sources, this field is empty.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_TYPE() |
Getter for TYPE, with configurable default |
ASK_TYPE() |
Getter for TYPE w/ exceptions if field has no value |
HAS_TYPE() |
Determine if TYPE 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_DATASOURCES¶
TYPES TT_DATASOURCES TYPE STANDARD TABLE OF REF TO /AWS1/CL_CWODATASOURCE WITH DEFAULT KEY
.