Class AlarmEvents.CloudWatchAlarmStateChange.Metric
(experimental) Type definition for Metric.
Implements
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.CloudWatch.Events
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class AlarmEvents.CloudWatchAlarmStateChange.Metric : AlarmEvents.CloudWatchAlarmStateChange.IMetric
Syntax (vb)
Public Class AlarmEvents.CloudWatchAlarmStateChange.Metric Implements AlarmEvents.CloudWatchAlarmStateChange.IMetric
Remarks
Stability: Experimental
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.Mixins.Preview.AWS.CloudWatch.Events;
var metric = new Metric {
Dimensions = new [] { "dimensions" },
Name = new [] { "name" },
Namespace = new [] { "namespace" }
};
Synopsis
Constructors
| Metric() | (experimental) Type definition for Metric. |
Properties
| Dimensions | (experimental) dimensions property. |
| Name | (experimental) name property. |
| Namespace | (experimental) namespace property. |
Constructors
Metric()
(experimental) Type definition for Metric.
public Metric()
Remarks
Stability: Experimental
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.Mixins.Preview.AWS.CloudWatch.Events;
var metric = new Metric {
Dimensions = new [] { "dimensions" },
Name = new [] { "name" },
Namespace = new [] { "namespace" }
};
Properties
Dimensions
(experimental) dimensions property.
public string[]? Dimensions { get; set; }
Property Value
string[]
Remarks
Specify an array of string values to match this event if the actual value of dimensions is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
Default: - Do not filter on this field
Stability: Experimental
Name
(experimental) name property.
public string[]? Name { get; set; }
Property Value
string[]
Remarks
Specify an array of string values to match this event if the actual value of name is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
Default: - Do not filter on this field
Stability: Experimental
Namespace
(experimental) namespace property.
public string[]? Namespace { get; set; }
Property Value
string[]
Remarks
Specify an array of string values to match this event if the actual value of namespace is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
Default: - Do not filter on this field
Stability: Experimental