View a markdown version of this page

AWS::CloudWatch::OTelEnrichment OTelEnrichmentMetricSelector - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.

AWS::CloudWatch::OTelEnrichment OTelEnrichmentMetricSelector

Selects the metrics in one namespace, for use in the IncludeFilters or ExcludeFilters parameter of StartOTelEnrichment or UpdateOTelEnrichment.

A maximum of 100 selectors is allowed across IncludeFilters and ExcludeFilters combined.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "MetricNames" : [ String, ... ], "Namespace" : String }

YAML

MetricNames: - String Namespace: String

Properties

MetricNames

The names of the metrics to select within the namespace. Metric names are matched exactly and are case-sensitive. If this parameter is omitted, every metric in the namespace is selected.

A maximum of 100 metric names is allowed for each selector.

Required: No

Type: Array of String

Minimum: 1

Maximum: 255 | 100

Update requires: No interruption

Namespace

The namespace of the metrics to select. Namespaces are matched exactly and are case-sensitive.

Required: Yes

Type: String

Pattern: ^[^:].*$

Minimum: 1

Maximum: 255

Update requires: No interruption