MetricTransformation class

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

Constructors

MetricTransformation({required String metricName, required String metricNamespace, required String metricValue, double? defaultValue})
MetricTransformation.fromJson(Map<String, dynamic> json)
factory

Properties

defaultValue double?
(Optional) The value to emit when a filter pattern does not match a log event. This value can be null.
final
hashCode int
The hash code for this object.
no setterinherited
metricName String
The name of the CloudWatch metric.
final
metricNamespace String
A custom namespace to contain your metric in CloudWatch. Use namespaces to group together metrics that are similar. For more information, see Namespaces.
final
metricValue String
The value to publish to the CloudWatch metric when a filter pattern matches a log event.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited