interface CfnMetricAttributionProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Personalize.CfnMetricAttributionProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awspersonalize#CfnMetricAttributionProps |
Java | software.amazon.awscdk.services.personalize.CfnMetricAttributionProps |
Python | aws_cdk.aws_personalize.CfnMetricAttributionProps |
TypeScript | aws-cdk-lib » aws_personalize » CfnMetricAttributionProps |
Properties for defining a CfnMetricAttribution.
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 cfnMetricAttributionProps: personalize.CfnMetricAttributionProps = {
datasetGroupArn: 'datasetGroupArn',
metrics: [{
eventType: 'eventType',
expression: 'expression',
metricName: 'metricName',
}],
metricsOutputConfig: {
roleArn: 'roleArn',
// the properties below are optional
s3DataDestination: {
path: 'path',
// the properties below are optional
kmsKeyArn: 'kmsKeyArn',
},
},
name: 'name',
};
Properties
| Name | Type | Description |
|---|---|---|
| dataset | string | The ARN of the destination dataset group. |
| metrics | IResolvable | (IResolvable | Metric)[] | A list of metric attributes for the metric attribution. |
| metrics | IResolvable | Metrics | The output configuration details for the metric attribution. |
| name | string | The name of the metric attribution. |
datasetGroupArn
Type:
string
The ARN of the destination dataset group.
metrics
Type:
IResolvable | (IResolvable | Metric)[]
A list of metric attributes for the metric attribution.
metricsOutputConfig
Type:
IResolvable | Metrics
The output configuration details for the metric attribution.
name
Type:
string
The name of the metric attribution.

.NET
Go
Java
Python
TypeScript