class Aws::CloudWatchEvidently::Types::MetricDefinition

This structure defines a metric that is being used to evaluate the variations during a launch or experiment.

@!attribute [rw] entity_id_key

The entity, such as a user or session, that does an action that
causes a metric value to be recorded.
@return [String]

@!attribute [rw] event_pattern

The EventBridge event pattern that defines how the metric is
recorded.

For more information about EventBridge event patterns, see [Amazon
EventBridge event patterns][1].

[1]: https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-event-patterns.html
@return [String]

@!attribute [rw] name

The name of the metric.
@return [String]

@!attribute [rw] unit_label

The label for the units that the metric is measuring.
@return [String]

@!attribute [rw] value_key

The value that is tracked to produce the metric.
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/MetricDefinition AWS API Documentation

Constants

SENSITIVE