Class CfnLaunch.MetricDefinitionObjectProperty
This structure defines a metric that you want to use to evaluate the variations during a launch or experiment.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Evidently
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class MetricDefinitionObjectProperty : Object, CfnLaunch.IMetricDefinitionObjectProperty
Syntax (vb)
Public Class MetricDefinitionObjectProperty
Inherits Object
Implements CfnLaunch.IMetricDefinitionObjectProperty
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.AWS.Evidently;
var metricDefinitionObjectProperty = new MetricDefinitionObjectProperty {
EntityIdKey = "entityIdKey",
MetricName = "metricName",
ValueKey = "valueKey",
// the properties below are optional
EventPattern = "eventPattern",
UnitLabel = "unitLabel"
};
Synopsis
Constructors
MetricDefinitionObjectProperty() |
Properties
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 value that is tracked to produce the metric. |
Constructors
MetricDefinitionObjectProperty()
public MetricDefinitionObjectProperty()
Properties
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
System.String
Remarks
EventPattern
The EventBridge event pattern that defines how the metric is recorded.
public string EventPattern { get; set; }
Property Value
System.String
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
System.String
Remarks
UnitLabel
A label for the units that the metric is measuring.
public string UnitLabel { get; set; }
Property Value
System.String
Remarks
ValueKey
The value that is tracked to produce the metric.
public string ValueKey { get; set; }
Property Value
System.String