Show / Hide Table of Contents

Class CfnMetric.CalculationComponentProperty

Inheritance
object
CfnMetric.CalculationComponentProperty
Implements
CfnMetric.ICalculationComponentProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-metric-calculationcomponent.html

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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-metric-calculationcomponent.html

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

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-metric-calculationcomponent.html#cfn-connect-metric-calculationcomponent-alias

MetricFilters

public object? MetricFilters { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-metric-calculationcomponent.html#cfn-connect-metric-calculationcomponent-metricfilters

Type union: either IResolvable or (either IResolvable or CfnMetric.IMetricFilterProperty)[]

MetricId

public string? MetricId { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-metric-calculationcomponent.html#cfn-connect-metric-calculationcomponent-metricid

MetricName

public string? MetricName { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-metric-calculationcomponent.html#cfn-connect-metric-calculationcomponent-metricname

Implements

CfnMetric.ICalculationComponentProperty
Back to top Generated by DocFX