Show / Hide Table of Contents

Class CfnServiceLevelObjective.DimensionProperty

A dimension is a name/value pair that is part of the identity of a metric.

Inheritance
object
CfnServiceLevelObjective.DimensionProperty
Implements
CfnServiceLevelObjective.IDimensionProperty
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.DimensionProperty : CfnServiceLevelObjective.IDimensionProperty
Syntax (vb)
Public Class CfnServiceLevelObjective.DimensionProperty Implements CfnServiceLevelObjective.IDimensionProperty
Remarks

Because dimensions are part of the unique identifier for a metric, whenever you add a unique name/value pair to one of your metrics, you are creating a new variation of that metric. For example, many Amazon EC2 metrics publish InstanceId as a dimension name, and the actual instance ID as the value for that dimension.

You can assign up to 30 dimensions to a metric.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationsignals-servicelevelobjective-dimension.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 dimensionProperty = new DimensionProperty {
                 Name = "name",
                 Value = "value"
             };

Synopsis

Constructors

DimensionProperty()

A dimension is a name/value pair that is part of the identity of a metric.

Properties

Name

The name of the dimension.

Value

The value of the dimension.

Constructors

DimensionProperty()

A dimension is a name/value pair that is part of the identity of a metric.

public DimensionProperty()
Remarks

Because dimensions are part of the unique identifier for a metric, whenever you add a unique name/value pair to one of your metrics, you are creating a new variation of that metric. For example, many Amazon EC2 metrics publish InstanceId as a dimension name, and the actual instance ID as the value for that dimension.

You can assign up to 30 dimensions to a metric.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationsignals-servicelevelobjective-dimension.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 dimensionProperty = new DimensionProperty {
                 Name = "name",
                 Value = "value"
             };

Properties

Name

The name of the dimension.

public string Name { get; set; }
Property Value

string

Remarks

Dimension names must contain only ASCII characters, must include at least one non-whitespace character, and cannot start with a colon ( : ). ASCII control characters are not supported as part of dimension names.

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

Value

The value of the dimension.

public string Value { get; set; }
Property Value

string

Remarks

Dimension values must contain only ASCII characters and must include at least one non-whitespace character. ASCII control characters are not supported as part of dimension values.

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

Implements

CfnServiceLevelObjective.IDimensionProperty
Back to top Generated by DocFX