Interface CfnMetricAttributionProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnMetricAttributionProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)", date="2026-09-02T11:03:14.941Z") @Stability(Stable) public interface CfnMetricAttributionProps extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.personalize.*;
 CfnMetricAttributionProps cfnMetricAttributionProps = CfnMetricAttributionProps.builder()
         .datasetGroupArn("datasetGroupArn")
         .metrics(List.of(MetricAttributeProperty.builder()
                 .eventType("eventType")
                 .expression("expression")
                 .metricName("metricName")
                 .build()))
         .metricsOutputConfig(MetricsOutputConfigProperty.builder()
                 .roleArn("roleArn")
                 // the properties below are optional
                 .s3DataDestination(S3DataDestinationProperty.builder()
                         .path("path")
                         // the properties below are optional
                         .kmsKeyArn("kmsKeyArn")
                         .build())
                 .build())
         .name("name")
         .build();
 

See Also: