Table of Contents

Module Members



new MetricTransformation

Call this constructor to create a new Fugue.Core.AWS.CloudWatch.Logs.MetricTransformation value

Example usage:

metricTransformation: Logs.MetricTransformation.new {
  metricName: "metricName0",
  namespace: "namespace0",
  value: "value0",
  default: 0.0

Type Signature

 fun { metricName: String,
       namespace: String,
       value: String,
       default: Optional<Float> } -> MetricTransformation
Argument: metricName

The name of the CloudWatch Metric being transformed.

Type: String

Argument: namespace

The namespace of the CloudWatch Metric.

Type: String

Argument: value

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

Type: String

Argument: default

The value to emit when a filter pattern does not match a log event. Mutable.

Type: Optional<Float>

Type: MetricTransformation