The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Paws::CloudWatch::PutMetricAlarm - Arguments for method PutMetricAlarm on Paws::CloudWatch

DESCRIPTION

This class represents the parameters used for calling the method PutMetricAlarm on the Amazon CloudWatch service. Use the attributes of this class as arguments to method PutMetricAlarm.

You shouln't make instances of this class. Each attribute should be used as a named argument in the call to PutMetricAlarm.

As an example:

  $service_obj->PutMetricAlarm(Att1 => $value1, Att2 => $value2, ...);

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object.

ATTRIBUTES

ActionsEnabled => Bool

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

AlarmActions => ArrayRef[Str]

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 Number (ARN). Currently the only action supported is publishing to an Amazon SNS topic or an Amazon Auto Scaling policy.

AlarmDescription => Str

The description for the alarm.

REQUIRED AlarmName => Str

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

REQUIRED ComparisonOperator => Str

The arithmetic operation to use when comparing the specified Statistic and Threshold. The specified Statistic value is used as the first operand.

Dimensions => ArrayRef[Paws::CloudWatch::Dimension]

The dimensions for the alarm's associated metric.

REQUIRED EvaluationPeriods => Int

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

InsufficientDataActions => ArrayRef[Str]

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 Number (ARN). Currently the only action supported is publishing to an Amazon SNS topic or an Amazon Auto Scaling policy.

REQUIRED MetricName => Str

The name for the alarm's associated metric.

REQUIRED Namespace => Str

The namespace for the alarm's associated metric.

OKActions => ArrayRef[Str]

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 Number (ARN). Currently the only action supported is publishing to an Amazon SNS topic or an Amazon Auto Scaling policy.

REQUIRED Period => Int

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

REQUIRED Statistic => Str

The statistic to apply to the alarm's associated metric.

REQUIRED Threshold => Num

The value against which the specified statistic is compared.

Unit => Str

The unit for the alarm's associated metric.

SEE ALSO

This class forms part of Paws, documenting arguments for method PutMetricAlarm in Paws::CloudWatch

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues