Class CfnAlarm.DimensionProperty
Dimension is an embedded property of the AWS::CloudWatch::Alarm
type.
Inheritance
System.Object
CfnAlarm.DimensionProperty
Implements
Namespace: Amazon.CDK.AWS.CloudWatch
Assembly: Amazon.CDK.AWS.CloudWatch.dll
Syntax (csharp)
public class DimensionProperty : Object, CfnAlarm.IDimensionProperty
Syntax (vb)
Public Class DimensionProperty
Inherits Object
Implements CfnAlarm.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.
Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-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.CloudWatch;
var dimensionProperty = new DimensionProperty {
Name = "name",
Value = "value"
};
Synopsis
Constructors
DimensionProperty() |
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. |
Constructors
DimensionProperty()
public DimensionProperty()
Properties
Name
The name of the dimension, from 1–255 characters in length.
public string Name { get; set; }
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.
public string Value { get; set; }
Property Value
System.String