interface MetricAttributeProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Personalize.CfnMetricAttribution.MetricAttributeProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awspersonalize#CfnMetricAttribution_MetricAttributeProperty |
Java | software.amazon.awscdk.services.personalize.CfnMetricAttribution.MetricAttributeProperty |
Python | aws_cdk.aws_personalize.CfnMetricAttribution.MetricAttributeProperty |
TypeScript | aws-cdk-lib » aws_personalize » CfnMetricAttribution » MetricAttributeProperty |
A metric attribute for the metric attribution.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_personalize as personalize } from 'aws-cdk-lib';
const metricAttributeProperty: personalize.CfnMetricAttribution.MetricAttributeProperty = {
eventType: 'eventType',
expression: 'expression',
metricName: 'metricName',
};
Properties
| Name | Type | Description |
|---|---|---|
| event | string | The metric's event type. |
| expression | string | The attribute's expression. |
| metric | string | The metric's name. |
eventType
Type:
string
The metric's event type.
expression
Type:
string
The attribute's expression.
metricName
Type:
string
The metric's name.

.NET
Go
Java
Python
TypeScript