CfnMetricAttributionProps Struct
Properties for defining a CfnMetricAttribution.
Example
ts
// 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
datasetGroupArnstringdataset_group_arnstrdatasetGroupArnStringDatasetGroupArnstringDatasetGroupArn*stringrequired#The ARN of the destination dataset group.
metricsIResolvable | IResolvable | CfnMetricAttribution.MetricAttributeProperty[]metricstyping.Union[IResolvable, typing.List[typing.Union[IResolvable, MetricAttributeProperty]]]metricsIResolvableMetricsIResolvableMetricsinterface{}required#A list of metric attributes for the metric attribution.
metricsOutputConfigIResolvable | CfnMetricAttribution.MetricsOutputConfigPropertymetrics_output_configtyping.Union[IResolvable, MetricsOutputConfigProperty]metricsOutputConfigIResolvableMetricsOutputConfigIResolvableMetricsOutputConfiginterface{}required#The output configuration details for the metric attribution.
The name of the metric attribution.