Show / Hide Table of Contents

Class CfnAlarm.DimensionProperty

Dimension is an embedded property of the AWS::CloudWatch::Alarm type.

Inheritance
System.Object
CfnAlarm.DimensionProperty
Implements
CfnAlarm.IDimensionProperty
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;

DimensionProperty 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.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-dimension.html#cfn-cloudwatch-alarm-dimension-name

Value

The value for the dimension, from 1–255 characters in length.

public string Value { get; set; }
Property Value

System.String

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-dimension.html#cfn-cloudwatch-alarm-dimension-value

Implements

CfnAlarm.IDimensionProperty
Back to top Generated by DocFX