Class CfnExperimentPropsMixin.MetricGoalObjectProperty
Use this structure to tell Evidently whether higher or lower values are desired for a metric that is used in an experiment.
Implements
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.Evidently.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnExperimentPropsMixin.MetricGoalObjectProperty : CfnExperimentPropsMixin.IMetricGoalObjectProperty
Syntax (vb)
Public Class CfnExperimentPropsMixin.MetricGoalObjectProperty Implements CfnExperimentPropsMixin.IMetricGoalObjectProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.AWS.Evidently.Mixins;
var metricGoalObjectProperty = new MetricGoalObjectProperty {
DesiredChange = "desiredChange",
EntityIdKey = "entityIdKey",
EventPattern = "eventPattern",
MetricName = "metricName",
UnitLabel = "unitLabel",
ValueKey = "valueKey"
};
Synopsis
Constructors
| MetricGoalObjectProperty() | Use this structure to tell Evidently whether higher or lower values are desired for a metric that is used in an experiment. |
Properties
| DesiredChange |
|
| EntityIdKey | The entity, such as a user or session, that does an action that causes a metric value to be recorded. |
| EventPattern | The EventBridge event pattern that defines how the metric is recorded. |
| MetricName | A name for the metric. |
| UnitLabel | A label for the units that the metric is measuring. |
| ValueKey | The JSON path to reference the numerical metric value in the event. |
Constructors
MetricGoalObjectProperty()
Use this structure to tell Evidently whether higher or lower values are desired for a metric that is used in an experiment.
public MetricGoalObjectProperty()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.AWS.Evidently.Mixins;
var metricGoalObjectProperty = new MetricGoalObjectProperty {
DesiredChange = "desiredChange",
EntityIdKey = "entityIdKey",
EventPattern = "eventPattern",
MetricName = "metricName",
UnitLabel = "unitLabel",
ValueKey = "valueKey"
};
Properties
DesiredChange
INCREASE means that a variation with a higher number for this metric is performing better.
public string? DesiredChange { get; set; }
Property Value
Remarks
DECREASE means that a variation with a lower number for this metric is performing better.
EntityIdKey
The entity, such as a user or session, that does an action that causes a metric value to be recorded.
public string? EntityIdKey { get; set; }
Property Value
Remarks
EventPattern
The EventBridge event pattern that defines how the metric is recorded.
public string? EventPattern { get; set; }
Property Value
Remarks
For more information about EventBridge event patterns, see Amazon EventBridge event patterns .
MetricName
A name for the metric.
public string? MetricName { get; set; }
Property Value
Remarks
UnitLabel
A label for the units that the metric is measuring.
public string? UnitLabel { get; set; }
Property Value
Remarks
ValueKey
The JSON path to reference the numerical metric value in the event.
public string? ValueKey { get; set; }