interface MetricAttributeProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Personalize.CfnMetricAttributionPropsMixin.MetricAttributeProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awspersonalize#CfnMetricAttributionPropsMixin_MetricAttributeProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.personalize.CfnMetricAttributionPropsMixin.MetricAttributeProperty |
Python | aws_cdk.cfn_property_mixins.aws_personalize.CfnMetricAttributionPropsMixin.MetricAttributeProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_personalize » CfnMetricAttributionPropsMixin » 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/cfn-property-mixins';
const metricAttributeProperty: personalize.CfnMetricAttributionPropsMixin.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
(optional)
The metric's event type.
expression?
Type:
string
(optional)
The attribute's expression.
metricName?
Type:
string
(optional)
The metric's name.

.NET
Go
Java
Python
TypeScript