Class CfnMetricAttributionPropsMixin
Creates a metric attribution for reporting on recommendation impact in Amazon Personalize.
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.Personalize
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnMetricAttributionPropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnMetricAttributionPropsMixin Inherits Mixin Implements IMixin
Remarks
CloudformationResource: AWS::Personalize::MetricAttribution
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.Personalize;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnMetricAttributionPropsMixin = new CfnMetricAttributionPropsMixin(new CfnMetricAttributionMixinProps {
DatasetGroupArn = "datasetGroupArn",
Metrics = new [] { new MetricAttributeProperty {
EventType = "eventType",
Expression = "expression",
MetricName = "metricName"
} },
MetricsOutputConfig = new MetricsOutputConfigProperty {
RoleArn = "roleArn",
S3DataDestination = new S3DataDestinationProperty {
KmsKeyArn = "kmsKeyArn",
Path = "path"
}
},
Name = "name"
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Synopsis
Constructors
| CfnMetricAttributionPropsMixin(ICfnMetricAttributionMixinProps, ICfnPropertyMixinOptions?) | Create a mixin to apply properties to |
Properties
| CFN_PROPERTY_KEYS | Creates a metric attribution for reporting on recommendation impact in Amazon Personalize. |
| Props | Creates a metric attribution for reporting on recommendation impact in Amazon Personalize. |
| Strategy | Creates a metric attribution for reporting on recommendation impact in Amazon Personalize. |
Methods
| ApplyTo(IConstruct) | Apply the mixin properties to the construct. |
| Supports(IConstruct) | Check if this mixin supports the given construct. |
Constructors
CfnMetricAttributionPropsMixin(ICfnMetricAttributionMixinProps, ICfnPropertyMixinOptions?)
Create a mixin to apply properties to AWS::Personalize::MetricAttribution.
public CfnMetricAttributionPropsMixin(ICfnMetricAttributionMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
- props ICfnMetricAttributionMixinProps
L1 properties to apply.
- options ICfnPropertyMixinOptions
Mixin options.
Remarks
CloudformationResource: AWS::Personalize::MetricAttribution
Mixin: true
ExampleMetadata: fixture=_generated
Properties
CFN_PROPERTY_KEYS
Creates a metric attribution for reporting on recommendation impact in Amazon Personalize.
protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value
string[]
Remarks
CloudformationResource: AWS::Personalize::MetricAttribution
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.Personalize;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnMetricAttributionPropsMixin = new CfnMetricAttributionPropsMixin(new CfnMetricAttributionMixinProps {
DatasetGroupArn = "datasetGroupArn",
Metrics = new [] { new MetricAttributeProperty {
EventType = "eventType",
Expression = "expression",
MetricName = "metricName"
} },
MetricsOutputConfig = new MetricsOutputConfigProperty {
RoleArn = "roleArn",
S3DataDestination = new S3DataDestinationProperty {
KmsKeyArn = "kmsKeyArn",
Path = "path"
}
},
Name = "name"
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Props
Creates a metric attribution for reporting on recommendation impact in Amazon Personalize.
protected virtual ICfnMetricAttributionMixinProps Props { get; }
Property Value
ICfnMetricAttributionMixinProps
Remarks
CloudformationResource: AWS::Personalize::MetricAttribution
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.Personalize;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnMetricAttributionPropsMixin = new CfnMetricAttributionPropsMixin(new CfnMetricAttributionMixinProps {
DatasetGroupArn = "datasetGroupArn",
Metrics = new [] { new MetricAttributeProperty {
EventType = "eventType",
Expression = "expression",
MetricName = "metricName"
} },
MetricsOutputConfig = new MetricsOutputConfigProperty {
RoleArn = "roleArn",
S3DataDestination = new S3DataDestinationProperty {
KmsKeyArn = "kmsKeyArn",
Path = "path"
}
},
Name = "name"
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Strategy
Creates a metric attribution for reporting on recommendation impact in Amazon Personalize.
protected virtual IMergeStrategy Strategy { get; }
Property Value
Remarks
CloudformationResource: AWS::Personalize::MetricAttribution
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.Personalize;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnMetricAttributionPropsMixin = new CfnMetricAttributionPropsMixin(new CfnMetricAttributionMixinProps {
DatasetGroupArn = "datasetGroupArn",
Metrics = new [] { new MetricAttributeProperty {
EventType = "eventType",
Expression = "expression",
MetricName = "metricName"
} },
MetricsOutputConfig = new MetricsOutputConfigProperty {
RoleArn = "roleArn",
S3DataDestination = new S3DataDestinationProperty {
KmsKeyArn = "kmsKeyArn",
Path = "path"
}
},
Name = "name"
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Methods
ApplyTo(IConstruct)
Apply the mixin properties to the construct.
public override void ApplyTo(IConstruct construct)
Parameters
- construct IConstruct
Overrides
Remarks
CloudformationResource: AWS::Personalize::MetricAttribution
Mixin: true
ExampleMetadata: fixture=_generated
Supports(IConstruct)
Check if this mixin supports the given construct.
public override bool Supports(IConstruct construct)
Parameters
- construct IConstruct
Returns
Overrides
Remarks
CloudformationResource: AWS::Personalize::MetricAttribution
Mixin: true
ExampleMetadata: fixture=_generated