LogMetricFilterMetricTransformation class

Constructors

LogMetricFilterMetricTransformation({Input<String?>? defaultValue, Input<Map<String, String>?>? dimensions, required Input<String> name, required Input<String> namespace, Input<String?>? unit, required Input<String> value})
Creates a new LogMetricFilterMetricTransformation. defaultValue The value to emit when a filter pattern does not match a log event. Conflicts with dimensions. dimensions Map of fields to use as dimensions for the metric. Up to 3 dimensions are allowed. Conflicts with defaultValue. name The name of the CloudWatch metric to which the monitored log information should be published (e.g., ErrorCount) namespace The destination namespace of the CloudWatch metric. unit The unit to assign to the metric. If you omit this, the unit is set as None. value What to publish to the metric. For example, if you're counting the occurrences of a particular term like "Error", the value will be "1" for each occurrence. If you're counting the bytes transferred the published value will be the value in the log event.
const
LogMetricFilterMetricTransformation.fromMap(Map<String, dynamic> map)
factory

Properties

defaultValue → Input<String?>?
The value to emit when a filter pattern does not match a log event. Conflicts with dimensions.
final
dimensions → Input<Map<String, String>?>?
Map of fields to use as dimensions for the metric. Up to 3 dimensions are allowed. Conflicts with defaultValue.
final
hashCode → int
The hash code for this object.
no setterinherited
name → Input<String>
The name of the CloudWatch metric to which the monitored log information should be published (e.g., ErrorCount)
final
namespace → Input<String>
The destination namespace of the CloudWatch metric.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
unit → Input<String?>?
The unit to assign to the metric. If you omit this, the unit is set as None.
final
value → Input<String>
What to publish to the metric. For example, if you're counting the occurrences of a particular term like "Error", the value will be "1" for each occurrence. If you're counting the bytes transferred the published value will be the value in the log event.
final

Methods

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

Operators

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