A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.aws.amazon.com/sdkforruby/api/Aws/CloudWatch/Types/PutMetricAlarmInput.html below:

PutMetricAlarmInput — AWS SDK for Ruby V2

When passing PutMetricAlarmInput as input to an Aws::Client method, you can use a vanilla Hash:

{
  alarm_name: "AlarmName",   alarm_description: "AlarmDescription",
  actions_enabled: false,
  ok_actions: ["ResourceName"],
  alarm_actions: ["ResourceName"],
  insufficient_data_actions: ["ResourceName"],
  metric_name: "MetricName",
  namespace: "Namespace",
  statistic: "SampleCount",   extended_statistic: "ExtendedStatistic",
  dimensions: [
    {
      name: "DimensionName",       value: "DimensionValue",     },
  ],
  period: 1,
  unit: "Seconds",   evaluation_periods: 1,   datapoints_to_alarm: 1,
  threshold: 1.0,
  comparison_operator: "GreaterThanOrEqualToThreshold",   treat_missing_data: "TreatMissingData",
  evaluate_low_sample_count_percentile: "EvaluateLowSampleCountPercentile",
  metrics: [
    {
      id: "MetricId",       metric_stat: {
        metric: {           namespace: "Namespace",
          metric_name: "MetricName",
          dimensions: [
            {
              name: "DimensionName",               value: "DimensionValue",             },
          ],
        },
        period: 1,         stat: "Stat",         unit: "Seconds",       },
      expression: "MetricExpression",
      label: "MetricLabel",
      return_data: false,
      period: 1,
    },
  ],
  tags: [
    {
      key: "TagKey",       value: "TagValue",     },
  ],
  threshold_metric_id: "MetricId",
}

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4