Interface CfnLaunchPropsMixin.MetricDefinitionObjectProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLaunchPropsMixin.MetricDefinitionObjectProperty.Jsii$Proxy
- Enclosing class:
CfnLaunchPropsMixin
@Stability(Stable)
public static interface CfnLaunchPropsMixin.MetricDefinitionObjectProperty
extends software.amazon.jsii.JsiiSerializable
This structure defines a metric that you want to use to evaluate the variations during a launch or experiment.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.evidently.*;
MetricDefinitionObjectProperty metricDefinitionObjectProperty = MetricDefinitionObjectProperty.builder()
.entityIdKey("entityIdKey")
.eventPattern("eventPattern")
.metricName("metricName")
.unitLabel("unitLabel")
.valueKey("valueKey")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnLaunchPropsMixin.MetricDefinitionObjectPropertystatic final classAn implementation forCfnLaunchPropsMixin.MetricDefinitionObjectProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe entity, such as a user or session, that does an action that causes a metric value to be recorded.default StringThe EventBridge event pattern that defines how the metric is recorded.default StringA name for the metric.default StringA label for the units that the metric is measuring.default StringThe value that is tracked to produce the metric.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEntityIdKey
The entity, such as a user or session, that does an action that causes a metric value to be recorded.An example is
userDetails.userID.- See Also:
-
getEventPattern
The EventBridge event pattern that defines how the metric is recorded.For more information about EventBridge event patterns, see Amazon EventBridge event patterns .
- See Also:
-
getMetricName
A name for the metric.It can include up to 255 characters.
- See Also:
-
getUnitLabel
A label for the units that the metric is measuring.- See Also:
-
getValueKey
The value that is tracked to produce the metric.- See Also:
-
builder
-