Module Values_0.CloudwatchMetricActionSource

Describes an action that captures a CloudWatch metric.

Sourcetype nonrec t = {
  1. roleArn : AwsArn.t;
    (*

    The IAM role that allows access to the CloudWatch metric.

    *)
  2. metricNamespace : String_.t;
    (*

    The CloudWatch metric namespace name.

    *)
  3. metricName : String_.t;
    (*

    The CloudWatch metric name.

    *)
  4. metricValue : String_.t;
    (*

    The CloudWatch metric value.

    *)
  5. metricUnit : String_.t;
    (*

    The metric unit supported by CloudWatch.

    *)
  6. metricTimestamp : String_.t option;
    (*

    An optional Unix timestamp.

    *)
}
Sourceval context_ : string
Sourceval make : ?metricTimestamp:??? -> roleArn:AwsArn.t -> metricNamespace:String_.t -> metricName:String_.t -> metricValue:String_.t -> metricUnit:String_.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of AwsArn.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t