LogMetricFilterState class
Input properties used for looking up and filtering LogMetricFilter resources.
Constructors
-
LogMetricFilterState({Input<
bool?> ? applyOnTransformedLogs, Input<String?> ? logGroupName, Input<LogMetricFilterMetricTransformation?> ? metricTransformation, Input<String?> ? name, Input<String?> ? pattern, Input<String?> ? region}) -
Creates a new LogMetricFilterState.
applyOnTransformedLogsWhether the metric filter will be applied on the transformed version of the log events instead of the original ingested log events. Defaults tofalse. Valid only for log groups that have an active log transformer.logGroupNameThe name of the log group to associate the metric filter with.metricTransformationA block defining collection of information needed to define how metric data gets emitted. See below.nameA name for the metric filter.patternA valid CloudWatch Logs filter patternregionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.const -
LogMetricFilterState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
applyOnTransformedLogs
→ Input<
bool?> ? -
Whether the metric filter will be applied on the transformed version of the log events instead of the original ingested log events. Defaults to
false. Valid only for log groups that have an active log transformer.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
logGroupName
→ Input<
String?> ? -
The name of the log group to associate the metric filter with.
final
-
metricTransformation
→ Input<
LogMetricFilterMetricTransformation?> ? -
A block defining collection of information needed to define how metric data gets emitted. See below.
final
-
name
→ Input<
String?> ? -
A name for the metric filter.
final
-
pattern
→ Input<
String?> ? -
A valid CloudWatch Logs filter pattern
for extracting metric data out of ingested log events.
final
-
region
→ Input<
String?> ? -
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
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
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited