Show / Hide Table of Contents

Class CfnServiceLevelObjective.MetricProperty

This structure defines the metric used for a service level indicator, including the metric name, namespace, and dimensions.

Inheritance
object
CfnServiceLevelObjective.MetricProperty
Implements
CfnServiceLevelObjective.IMetricProperty
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.ApplicationSignals
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnServiceLevelObjective.MetricProperty : CfnServiceLevelObjective.IMetricProperty
Syntax (vb)
Public Class CfnServiceLevelObjective.MetricProperty Implements CfnServiceLevelObjective.IMetricProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationsignals-servicelevelobjective-metric.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.ApplicationSignals;

             var metricProperty = new MetricProperty {
                 Dimensions = new [] { new DimensionProperty {
                     Name = "name",
                     Value = "value"
                 } },
                 MetricName = "metricName",
                 Namespace = "namespace"
             };

Synopsis

Constructors

MetricProperty()

This structure defines the metric used for a service level indicator, including the metric name, namespace, and dimensions.

Properties

Dimensions

An array of one or more dimensions to use to define the metric that you want to use.

MetricName

The name of the metric to use.

Namespace

The namespace of the metric.

Constructors

MetricProperty()

This structure defines the metric used for a service level indicator, including the metric name, namespace, and dimensions.

public MetricProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationsignals-servicelevelobjective-metric.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.ApplicationSignals;

             var metricProperty = new MetricProperty {
                 Dimensions = new [] { new DimensionProperty {
                     Name = "name",
                     Value = "value"
                 } },
                 MetricName = "metricName",
                 Namespace = "namespace"
             };

Properties

Dimensions

An array of one or more dimensions to use to define the metric that you want to use.

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

object

Remarks

For more information, see Dimensions .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationsignals-servicelevelobjective-metric.html#cfn-applicationsignals-servicelevelobjective-metric-dimensions

Type union: either IResolvable or (either IResolvable or CfnServiceLevelObjective.IDimensionProperty)[]

MetricName

The name of the metric to use.

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

string

Remarks

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

Namespace

The namespace of the metric.

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

string

Remarks

For more information, see Namespaces .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationsignals-servicelevelobjective-metric.html#cfn-applicationsignals-servicelevelobjective-metric-namespace

Implements

CfnServiceLevelObjective.IMetricProperty
Back to top Generated by DocFX