Interface CfnAlarm.IDimensionProperty
Dimension is an embedded property of the AWS::CloudWatch::Alarm
type.
Namespace: Amazon.CDK.AWS.CloudWatch
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IDimensionProperty
Syntax (vb)
Public Interface IDimensionProperty
Remarks
Dimensions are name/value pairs that can be associated with a CloudWatch metric. You can specify a maximum of 10 dimensions for a given metric.
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.CloudWatch;
var dimensionProperty = new DimensionProperty {
Name = "name",
Value = "value"
};
Synopsis
Properties
Name | The name of the dimension, from 1–255 characters in length. |
Value | The value for the dimension, from 1–255 characters in length. |
Properties
Name
The name of the dimension, from 1–255 characters in length.
string Name { get; }
Property Value
System.String
Remarks
This dimension name must have been included when the metric was published.
Value
The value for the dimension, from 1–255 characters in length.
string Value { get; }
Property Value
System.String