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:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnMetricAttributionPropsstatic final classAn implementation forCfnMetricAttributionProps -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDatasetGroupArn
The ARN of the destination dataset group.- See Also:
-
getMetrics
A list of metric attributes for the metric attribution.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnMetricAttribution.MetricAttributeProperty>- See Also:
-
getMetricsOutputConfig
The output configuration details for the metric attribution.Returns union: either
IResolvableorCfnMetricAttribution.MetricsOutputConfigProperty- See Also:
-
getName
The name of the metric attribution.- See Also:
-
builder
- Returns:
- a
CfnMetricAttributionProps.BuilderofCfnMetricAttributionProps
-