class Aws::CloudWatchEvidently::Types::MetricGoalConfig

Use this structure to tell Evidently whether higher or lower values are desired for a metric that is used in an experiment.

@note When making an API call, you may pass MetricGoalConfig

data as a hash:

    {
      desired_change: "INCREASE", # accepts INCREASE, DECREASE
      metric_definition: { # required
        entity_id_key: "JsonPath", # required
        event_pattern: "MetricDefinitionConfigEventPatternString",
        name: "CwDimensionSafeName", # required
        unit_label: "MetricUnitLabel",
        value_key: "JsonPath", # required
      },
    }

@!attribute [rw] desired_change

`INCREASE` means that a variation with a higher number for this
metric is performing better.

`DECREASE` means that a variation with a lower number for this
metric is performing better.
@return [String]

@!attribute [rw] metric_definition

A structure that contains details about the metric.
@return [Types::MetricDefinitionConfig]

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

Constants

SENSITIVE