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.Lib.dll
Syntax (csharp)
public interface CfnAlarm.IDimensionProperty
Syntax (vb)
Public Interface CfnAlarm.IDimensionProperty
Remarks

Dimensions are name/value pairs that can be associated with a CloudWatch metric. You can specify a maximum of 30 dimensions for a given metric.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-alarm-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

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

string

Remarks

This dimension name must have been included when the metric was published.

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

Value

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

string Value { get; }
Property Value

string

Remarks

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

Back to top Generated by DocFX