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", "AWS::EKS::Cluster", "AWS::WAFv2::WebACL").

it_telemetrysourcetypes TYPE /AWS1/CL_CWOTELSOURCETYPES_W=>TT_TELEMETRYSOURCETYPES TT_TELEMETRYSOURCETYPES

The specific telemetry source types to configure for the resource, such as VPC_FLOW_LOGS or EKS_AUDIT_LOGS. TelemetrySourceTypes must be correlated with the specific resource type.

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.

it_regions TYPE /AWS1/CL_CWOREGIONS_W=>TT_REGIONS TT_REGIONS

An optional list of Amazon Web Services Regions where this telemetry rule should be replicated. When specified, the rule is created in the home region and automatically replicated to all listed regions. Mutually exclusive with AllRegions.

iv_allregions TYPE /AWS1/CWOALLREGIONS /AWS1/CWOALLREGIONS

If set to true, the telemetry rule is replicated to all Amazon Web Services Regions where Amazon CloudWatch Observability Admin is available in the current partition. When new regions become available, the rule automatically replicates to them. Mutually exclusive with Regions.


Queryable Attributes

ResourceType

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

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

TelemetrySourceTypes

The specific telemetry source types to configure for the resource, such as VPC_FLOW_LOGS or EKS_AUDIT_LOGS. TelemetrySourceTypes must be correlated with the specific resource type.

Accessible with the following methods

Method Description
GET_TELEMETRYSOURCETYPES() Getter for TELEMETRYSOURCETYPES, with configurable default
ASK_TELEMETRYSOURCETYPES() Getter for TELEMETRYSOURCETYPES w/ exceptions if field has n
HAS_TELEMETRYSOURCETYPES() Determine if TELEMETRYSOURCETYPES 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

Regions

An optional list of Amazon Web Services Regions where this telemetry rule should be replicated. When specified, the rule is created in the home region and automatically replicated to all listed regions. Mutually exclusive with AllRegions.

Accessible with the following methods

Method Description
GET_REGIONS() Getter for REGIONS, with configurable default
ASK_REGIONS() Getter for REGIONS w/ exceptions if field has no value
HAS_REGIONS() Determine if REGIONS has a value

AllRegions

If set to true, the telemetry rule is replicated to all Amazon Web Services Regions where Amazon CloudWatch Observability Admin is available in the current partition. When new regions become available, the rule automatically replicates to them. Mutually exclusive with Regions.

Accessible with the following methods

Method Description
GET_ALLREGIONS() Getter for ALLREGIONS, with configurable default
ASK_ALLREGIONS() Getter for ALLREGIONS w/ exceptions if field has no value
HAS_ALLREGIONS() Determine if ALLREGIONS has a value