Module Values_0.CloudwatchAlarmActionSource

Describes an action that updates a CloudWatch alarm.

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

    The IAM role that allows access to the CloudWatch alarm.

    *)
  2. alarmName : AlarmName.t;
    (*

    The CloudWatch alarm name.

    *)
  3. stateReason : StateReason.t;
    (*

    The reason for the alarm change.

    *)
  4. stateValue : StateValue.t;
    (*

    The value of the alarm state. Acceptable values are: OK, ALARM, INSUFFICIENT_DATA.

    *)
}
Sourceval context_ : string
Sourceval make : roleArn:AwsArn.t -> alarmName:AlarmName.t -> stateReason:StateReason.t -> stateValue:StateValue.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