Show / Hide Table of Contents

Class MetricAlarmArgs

Inheritance
System.Object
InputArgs
ResourceArgs
MetricAlarmArgs
Inherited Members
ResourceArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aws.CloudWatch
Assembly: Pulumi.Aws.dll
Syntax
public sealed class MetricAlarmArgs : ResourceArgs

Constructors

View Source

MetricAlarmArgs()

Declaration
public MetricAlarmArgs()

Properties

View Source

ActionsEnabled

Indicates whether or not actions should be executed during any changes to the alarm's state. Defaults to true.

Declaration
public Input<bool> ActionsEnabled { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

AlarmActions

The list of actions to execute when this alarm transitions into an ALARM state from any other state. Each action is specified as an Amazon Resource Name (ARN).

Declaration
public InputList<string> AlarmActions { get; set; }
Property Value
Type Description
InputList<System.String>
View Source

AlarmDescription

The description for the alarm.

Declaration
public Input<string> AlarmDescription { get; set; }
Property Value
Type Description
Input<System.String>
View Source

ComparisonOperator

The arithmetic operation to use when comparing the specified Statistic and Threshold. The specified Statistic value is used as the first operand. Either of the following is supported: GreaterThanOrEqualToThreshold, GreaterThanThreshold, LessThanThreshold, LessThanOrEqualToThreshold. Additionally, the values LessThanLowerOrGreaterThanUpperThreshold, LessThanLowerThreshold, and GreaterThanUpperThreshold are used only for alarms based on anomaly detection models.

Declaration
public Input<string> ComparisonOperator { get; set; }
Property Value
Type Description
Input<System.String>
View Source

DatapointsToAlarm

The number of datapoints that must be breaching to trigger the alarm.

Declaration
public Input<int> DatapointsToAlarm { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

Dimensions

The dimensions for this metric. For the list of available dimensions see the AWS documentation here.

Declaration
public InputMap<object> Dimensions { get; set; }
Property Value
Type Description
InputMap<System.Object>
View Source

EvaluateLowSampleCountPercentiles

Used only for alarms based on percentiles. If you specify ignore, the alarm state will not change during periods with too few data points to be statistically significant. If you specify evaluate or omit this parameter, the alarm will always be evaluated and possibly change state no matter how many data points are available. The following values are supported: ignore, and evaluate.

Declaration
public Input<string> EvaluateLowSampleCountPercentiles { get; set; }
Property Value
Type Description
Input<System.String>
View Source

EvaluationPeriods

The number of periods over which data is compared to the specified threshold.

Declaration
public Input<int> EvaluationPeriods { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

ExtendedStatistic

The percentile statistic for the metric associated with the alarm. Specify a value between p0.0 and p100.

Declaration
public Input<string> ExtendedStatistic { get; set; }
Property Value
Type Description
Input<System.String>
View Source

InsufficientDataActions

The list of actions to execute when this alarm transitions into an INSUFFICIENT_DATA state from any other state. Each action is specified as an Amazon Resource Name (ARN).

Declaration
public InputList<string> InsufficientDataActions { get; set; }
Property Value
Type Description
InputList<System.String>
View Source

MetricName

The name for this metric. See docs for supported metrics.

Declaration
public Input<string> MetricName { get; set; }
Property Value
Type Description
Input<System.String>
View Source

MetricQueries

Enables you to create an alarm based on a metric math expression. You may specify at most 20.

Declaration
public InputList<MetricAlarmMetricQueryArgs> MetricQueries { get; set; }
Property Value
Type Description
InputList<MetricAlarmMetricQueryArgs>
View Source

Name

The descriptive name for the alarm. This name must be unique within the user's AWS account

Declaration
public Input<string> Name { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Namespace

The namespace for this metric. See docs for the list of namespaces. See docs for supported metrics.

Declaration
public Input<string> Namespace { get; set; }
Property Value
Type Description
Input<System.String>
View Source

OkActions

The list of actions to execute when this alarm transitions into an OK state from any other state. Each action is specified as an Amazon Resource Name (ARN).

Declaration
public InputList<string> OkActions { get; set; }
Property Value
Type Description
InputList<System.String>
View Source

Period

The period in seconds over which the specified stat is applied.

Declaration
public Input<int> Period { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

Statistic

The statistic to apply to the alarm's associated metric. Either of the following is supported: SampleCount, Average, Sum, Minimum, Maximum

Declaration
public Input<string> Statistic { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Tags

A map of tags to assign to the resource.

Declaration
public InputMap<object> Tags { get; set; }
Property Value
Type Description
InputMap<System.Object>
View Source

Threshold

The value against which the specified statistic is compared. This parameter is required for alarms based on static thresholds, but should not be used for alarms based on anomaly detection models.

Declaration
public Input<double> Threshold { get; set; }
Property Value
Type Description
Input<System.Double>
View Source

ThresholdMetricId

If this is an alarm based on an anomaly detection model, make this value match the ID of the ANOMALY_DETECTION_BAND function.

Declaration
public Input<string> ThresholdMetricId { get; set; }
Property Value
Type Description
Input<System.String>
View Source

TreatMissingData

Sets how this alarm is to handle missing data points. The following values are supported: missing, ignore, breaching and notBreaching. Defaults to missing.

Declaration
public Input<string> TreatMissingData { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Unit

The unit for this metric.

Declaration
public Input<string> Unit { get; set; }
Property Value
Type Description
Input<System.String>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.