MetricFilterMetricTransformationArgs

data class MetricFilterMetricTransformationArgs(val defaultValue: Output<Double>? = null, val dimensions: Output<List<MetricFilterDimensionArgs>>? = null, val metricName: Output<String>, val metricNamespace: Output<String>, val metricValue: Output<String>, val unit: Output<MetricFilterMetricTransformationUnit>? = null) : ConvertibleToJava<MetricFilterMetricTransformationArgs>

Constructors

Link copied to clipboard
fun MetricFilterMetricTransformationArgs(defaultValue: Output<Double>? = null, dimensions: Output<List<MetricFilterDimensionArgs>>? = null, metricName: Output<String>, metricNamespace: Output<String>, metricValue: Output<String>, unit: Output<MetricFilterMetricTransformationUnit>? = null)

Functions

Link copied to clipboard
open override fun toJava(): MetricFilterMetricTransformationArgs

Properties

Link copied to clipboard
val defaultValue: Output<Double>? = null

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

Link copied to clipboard

Dimensions are the key-value pairs that further define a metric

Link copied to clipboard
val metricName: Output<String>

The name of the CloudWatch metric. Metric name must be in ASCII format.

Link copied to clipboard
val metricNamespace: Output<String>

The namespace of the CloudWatch metric.

Link copied to clipboard
val metricValue: Output<String>

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

Link copied to clipboard

The unit to assign to the metric. If you omit this, the unit is set as None.