AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

The details about a composite alarm.

Inheritance Hierarchy

System.Object
  Amazon.CloudWatch.Model.CompositeAlarm

Namespace: Amazon.CloudWatch.Model
Assembly: AWSSDK.CloudWatch.dll
Version: 3.x.y.z

Syntax

C#
public class CompositeAlarm

The CompositeAlarm type exposes the following members

Constructors

NameDescription
Public Method CompositeAlarm()

Properties

NameTypeDescription
Public Property ActionsEnabled System.Boolean

Gets and sets the property ActionsEnabled.

Indicates whether actions should be executed during any changes to the alarm state.

Public Property ActionsSuppressedBy Amazon.CloudWatch.ActionsSuppressedBy

Gets and sets the property ActionsSuppressedBy.

When the value is ALARM, it means that the actions are suppressed because the suppressor alarm is in ALARM When the value is WaitPeriod, it means that the actions are suppressed because the composite alarm is waiting for the suppressor alarm to go into into the ALARM state. The maximum waiting time is as specified in ActionsSuppressorWaitPeriod. After this time, the composite alarm performs its actions. When the value is ExtensionPeriod, it means that the actions are suppressed because the composite alarm is waiting after the suppressor alarm went out of the ALARM state. The maximum waiting time is as specified in ActionsSuppressorExtensionPeriod. After this time, the composite alarm performs its actions.

Public Property ActionsSuppressedReason System.String

Gets and sets the property ActionsSuppressedReason.

Captures the reason for action suppression.

Public Property ActionsSuppressor System.String

Gets and sets the property ActionsSuppressor.

Actions will be suppressed if the suppressor alarm is in the ALARM state. ActionsSuppressor can be an AlarmName or an Amazon Resource Name (ARN) from an existing alarm.

Public Property ActionsSuppressorExtensionPeriod System.Int32

Gets and sets the property ActionsSuppressorExtensionPeriod.

The maximum time in seconds that the composite alarm waits after suppressor alarm goes out of the ALARM state. After this time, the composite alarm performs its actions.

ExtensionPeriod is required only when ActionsSuppressor is specified.

Public Property ActionsSuppressorWaitPeriod System.Int32

Gets and sets the property ActionsSuppressorWaitPeriod.

The maximum time in seconds that the composite alarm waits for the suppressor alarm to go into the ALARM state. After this time, the composite alarm performs its actions.

WaitPeriod is required only when ActionsSuppressor is specified.

Public Property AlarmActions System.Collections.Generic.List<System.String>

Gets and sets the property AlarmActions.

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

Public Property AlarmArn System.String

Gets and sets the property AlarmArn.

The Amazon Resource Name (ARN) of the alarm.

Public Property AlarmConfigurationUpdatedTimestamp System.DateTime

Gets and sets the property AlarmConfigurationUpdatedTimestamp.

The time stamp of the last update to the alarm configuration.

Public Property AlarmDescription System.String

Gets and sets the property AlarmDescription.

The description of the alarm.

Public Property AlarmName System.String

Gets and sets the property AlarmName.

The name of the alarm.

Public Property AlarmRule System.String

Gets and sets the property AlarmRule.

The rule that this alarm uses to evaluate its alarm state.

Public Property InsufficientDataActions System.Collections.Generic.List<System.String>

Gets and sets the property InsufficientDataActions.

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

Public Property OKActions System.Collections.Generic.List<System.String>

Gets and sets the property OKActions.

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

Public Property StateReason System.String

Gets and sets the property StateReason.

An explanation for the alarm state, in text format.

Public Property StateReasonData System.String

Gets and sets the property StateReasonData.

An explanation for the alarm state, in JSON format.

Public Property StateTransitionedTimestamp System.DateTime

Gets and sets the property StateTransitionedTimestamp.

The timestamp of the last change to the alarm's StateValue.

Public Property StateUpdatedTimestamp System.DateTime

Gets and sets the property StateUpdatedTimestamp.

Tracks the timestamp of any state update, even if StateValue doesn't change.

Public Property StateValue Amazon.CloudWatch.StateValue

Gets and sets the property StateValue.

The state value for the alarm.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5