View a markdown version of this page

AWS::CloudWatch::OTelEnrichment OTelEnrichmentMetricSelector - AWS CloudFormation

This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS 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 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