AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Indicates how to transform ingested log events in to metric data in a CloudWatch metric.

Inheritance Hierarchy

System.Object
  Amazon.CloudWatchLogs.Model.MetricTransformation

Namespace: Amazon.CloudWatchLogs.Model
Assembly: AWSSDK.CloudWatchLogs.dll
Version: 3.x.y.z

Syntax

C#
public class MetricTransformation

The MetricTransformation type exposes the following members

Constructors

NameDescription
Public Method MetricTransformation()

Properties

NameTypeDescription
Public Property DefaultValue System.Double

Gets and sets the property DefaultValue.

(Optional) The value to emit when a filter pattern does not match a log event. This value can be null.

Public Property MetricName System.String

Gets and sets the property MetricName.

The name of the CloudWatch metric.

Public Property MetricNamespace System.String

Gets and sets the property MetricNamespace.

The namespace of the CloudWatch metric.

Public Property MetricValue System.String

Gets and sets the property MetricValue.

The value to publish to the CloudWatch metric when a filter pattern matches a log event.

Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms