Show / Hide Table of Contents

Interface CfnServiceLevelObjective.IMetricProperty

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

Namespace: Amazon.CDK.AWS.ApplicationSignals
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnServiceLevelObjective.IMetricProperty
Syntax (vb)
Public Interface 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

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.

Properties

Dimensions

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

object? Dimensions { get; }
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.

string? MetricName { get; }
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.

string? Namespace { get; }
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

Back to top Generated by DocFX