MetricTransformation

public struct MetricTransformation : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • (Optional) The value to emit when a filter pattern does not match a log event. This value can be null.

    Declaration

    Swift

    public let defaultValue: Double?
  • The name of the CloudWatch metric.

    Declaration

    Swift

    public let metricName: String
  • A custom namespace to contain your metric in CloudWatch. Use namespaces to group together metrics that are similar. For more information, see Namespaces.

    Declaration

    Swift

    public let metricNamespace: String
  • The value to publish to the CloudWatch metric when a filter pattern matches a log event.

    Declaration

    Swift

    public let metricValue: String
  • Undocumented

    Declaration

    Swift

    public init(defaultValue: Double? = nil, metricName: String, metricNamespace: String, metricValue: String)
  • Declaration

    Swift

    public func validate(name: String) throws