Show / Hide Table of Contents

Interface CfnAlarm.IDimensionProperty

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

Namespace: Amazon.CDK.AWS.CloudWatch
Assembly: Amazon.CDK.AWS.CloudWatch.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.

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

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.

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.

string Value { get; }
Property Value

System.String

Remarks

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

Back to top Generated by DocFX