interface MetricDimensionProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Pinpoint.CfnCampaign.MetricDimensionProperty |
Java | software.amazon.awscdk.services.pinpoint.CfnCampaign.MetricDimensionProperty |
Python | aws_cdk.aws_pinpoint.CfnCampaign.MetricDimensionProperty |
TypeScript | @aws-cdk/aws-pinpoint » CfnCampaign » MetricDimensionProperty |
Specifies metric-based criteria for including or excluding endpoints from a segment.
These criteria derive from custom metrics that you define for endpoints.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as pinpoint from '@aws-cdk/aws-pinpoint';
const metricDimensionProperty: pinpoint.CfnCampaign.MetricDimensionProperty = {
comparisonOperator: 'comparisonOperator',
value: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| comparison | string | The operator to use when comparing metric values. |
| value? | number | The value to compare. |
comparisonOperator?
Type:
string
(optional)
The operator to use when comparing metric values.
Valid values are: GREATER_THAN , LESS_THAN , GREATER_THAN_OR_EQUAL , LESS_THAN_OR_EQUAL , and EQUAL .
value?
Type:
number
(optional)
The value to compare.

.NET
Java
Python
TypeScript