Class CfnMetric.CalculationComponentProperty
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.Connect
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnMetric.CalculationComponentProperty : CfnMetric.ICalculationComponentProperty
Syntax (vb)
Public Class CfnMetric.CalculationComponentProperty Implements CfnMetric.ICalculationComponentProperty
Remarks
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.AWS.Connect;
var calculationComponentProperty = new CalculationComponentProperty {
Alias = "alias",
// the properties below are optional
MetricFilters = new [] { new MetricFilterProperty {
MetricFilterKey = "metricFilterKey",
// the properties below are optional
BooleanCondition = new MetricFilterBooleanConditionProperty {
Comparison = "comparison"
},
Negate = false,
NumberCondition = new MetricFilterNumberConditionProperty {
Comparison = "comparison",
Values = new [] { 123 }
},
StringCondition = new MetricFilterStringConditionProperty {
Comparison = "comparison",
Values = new [] { "values" }
}
} },
MetricId = "metricId",
MetricName = "metricName"
};
Synopsis
Constructors
| CalculationComponentProperty() |
Properties
| Alias | Metric calculation component alias for use within a calculation. |
| MetricFilters | |
| MetricId | |
| MetricName |
Constructors
CalculationComponentProperty()
public CalculationComponentProperty()
Remarks
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.AWS.Connect;
var calculationComponentProperty = new CalculationComponentProperty {
Alias = "alias",
// the properties below are optional
MetricFilters = new [] { new MetricFilterProperty {
MetricFilterKey = "metricFilterKey",
// the properties below are optional
BooleanCondition = new MetricFilterBooleanConditionProperty {
Comparison = "comparison"
},
Negate = false,
NumberCondition = new MetricFilterNumberConditionProperty {
Comparison = "comparison",
Values = new [] { 123 }
},
StringCondition = new MetricFilterStringConditionProperty {
Comparison = "comparison",
Values = new [] { "values" }
}
} },
MetricId = "metricId",
MetricName = "metricName"
};
Properties
Alias
Metric calculation component alias for use within a calculation.
public string Alias { get; set; }
Property Value
Remarks
MetricFilters
public object? MetricFilters { get; set; }
Property Value
Remarks
MetricId
public string? MetricId { get; set; }
Property Value
Remarks
MetricName
public string? MetricName { get; set; }