Skip to content

/AWS1/CL_CWOTELEMETRYRULE

Defines how telemetry should be configured for specific Amazon Web Services resources.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_telemetrytype TYPE /AWS1/CWOTELEMETRYTYPE /AWS1/CWOTELEMETRYTYPE

The type of telemetry to collect (Logs, Metrics, or Traces).

Optional arguments:

iv_resourcetype TYPE /AWS1/CWORESOURCETYPE /AWS1/CWORESOURCETYPE

The type of Amazon Web Services resource to configure telemetry for (e.g., "AWS::EC2::VPC").

io_destinationconfiguration TYPE REF TO /AWS1/CL_CWOTELEMETRYDSTCONF /AWS1/CL_CWOTELEMETRYDSTCONF

Configuration specifying where and how the telemetry data should be delivered.

iv_scope TYPE /AWS1/CWOSTRING /AWS1/CWOSTRING

The organizational scope to which the rule applies, specified using accounts or organizational units.

iv_selectioncriteria TYPE /AWS1/CWOSTRING /AWS1/CWOSTRING

Criteria for selecting which resources the rule applies to, such as resource tags.


Queryable Attributes

ResourceType

The type of Amazon Web Services resource to configure telemetry for (e.g., "AWS::EC2::VPC").

Accessible with the following methods

Method Description
GET_RESOURCETYPE() Getter for RESOURCETYPE, with configurable default
ASK_RESOURCETYPE() Getter for RESOURCETYPE w/ exceptions if field has no value
HAS_RESOURCETYPE() Determine if RESOURCETYPE has a value

TelemetryType

The type of telemetry to collect (Logs, Metrics, or Traces).

Accessible with the following methods

Method Description
GET_TELEMETRYTYPE() Getter for TELEMETRYTYPE, with configurable default
ASK_TELEMETRYTYPE() Getter for TELEMETRYTYPE w/ exceptions if field has no value
HAS_TELEMETRYTYPE() Determine if TELEMETRYTYPE has a value

DestinationConfiguration

Configuration specifying where and how the telemetry data should be delivered.

Accessible with the following methods

Method Description
GET_DESTINATIONCONFIGURATION() Getter for DESTINATIONCONFIGURATION

Scope

The organizational scope to which the rule applies, specified using accounts or organizational units.

Accessible with the following methods

Method Description
GET_SCOPE() Getter for SCOPE, with configurable default
ASK_SCOPE() Getter for SCOPE w/ exceptions if field has no value
HAS_SCOPE() Determine if SCOPE has a value

SelectionCriteria

Criteria for selecting which resources the rule applies to, such as resource tags.

Accessible with the following methods

Method Description
GET_SELECTIONCRITERIA() Getter for SELECTIONCRITERIA, with configurable default
ASK_SELECTIONCRITERIA() Getter for SELECTIONCRITERIA w/ exceptions if field has no v
HAS_SELECTIONCRITERIA() Determine if SELECTIONCRITERIA has a value