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 log alarm.
Namespace: Amazon.CloudWatch.Model
Assembly: AWSSDK.CloudWatch.dll
Version: 3.x.y.z
public class LogAlarm
The LogAlarm type exposes the following members
| Name | Description | |
|---|---|---|
|
LogAlarm() |
| Name | Type | Description | |
|---|---|---|---|
|
ActionLogLineCount | System.Nullable<System.Int32> |
Gets and sets the property ActionLogLineCount. The number of log lines from the most recent scheduled query execution that are included in alarm action notifications. Valid range is 0 through 50. A value of 0 means no log lines are included. |
|
ActionLogLineRoleArn | System.String |
Gets and sets the property ActionLogLineRoleArn.
The Amazon Resource Name (ARN) of the IAM role that CloudWatch assumes to retrieve
log events for inclusion in alarm action notifications. Set when |
|
ActionsEnabled | System.Nullable<System.Boolean> |
Gets and sets the property ActionsEnabled. Indicates whether actions should be executed during any changes to the alarm state. |
|
AlarmActions | System.Collections.Generic.List<System.String> |
Gets and sets the property AlarmActions.
The actions to execute when this alarm transitions to the |
|
AlarmArn | System.String |
Gets and sets the property AlarmArn. The Amazon Resource Name (ARN) of the alarm. |
|
AlarmConfigurationUpdatedTimestamp | System.Nullable<System.DateTime> |
Gets and sets the property AlarmConfigurationUpdatedTimestamp. The time stamp of the last update to the alarm configuration. |
|
AlarmDescription | System.String |
Gets and sets the property AlarmDescription. The description of the alarm. |
|
AlarmName | System.String |
Gets and sets the property AlarmName. The name of the alarm. |
|
ComparisonOperator | Amazon.CloudWatch.ComparisonOperator |
Gets and sets the property ComparisonOperator. The arithmetic operation to use when comparing the aggregated query result and the threshold. The aggregated query result is used as the first operand. |
|
EvaluationState | Amazon.CloudWatch.EvaluationState |
Gets and sets the property EvaluationState.
If the value of this field is
If the value of this field is
If the value of this field is |
|
InsufficientDataActions | System.Collections.Generic.List<System.String> |
Gets and sets the property InsufficientDataActions.
The actions to execute when this alarm transitions to the |
|
OKActions | System.Collections.Generic.List<System.String> |
Gets and sets the property OKActions.
The actions to execute when this alarm transitions to the |
|
QueryResultsToAlarm | System.Nullable<System.Int32> |
Gets and sets the property QueryResultsToAlarm.
The number of query results, out of the most recent |
|
QueryResultsToEvaluate | System.Nullable<System.Int32> |
Gets and sets the property QueryResultsToEvaluate. The number of most recent scheduled query results that the alarm evaluates against the threshold (the N in M-of-N evaluation). |
|
ScheduledQueryConfiguration | Amazon.CloudWatch.Model.ScheduledQueryConfiguration |
Gets and sets the property ScheduledQueryConfiguration. The configuration of the underlying CloudWatch Logs scheduled query, including the query string, log groups, schedule, aggregation expression, and the ARN of the managed scheduled query. |
|
StateReason | System.String |
Gets and sets the property StateReason. An explanation for the alarm state, in text format. |
|
StateReasonData | System.String |
Gets and sets the property StateReasonData. An explanation for the alarm state, in JSON format. |
|
StateTransitionedTimestamp | System.Nullable<System.DateTime> |
Gets and sets the property StateTransitionedTimestamp.
The date and time that the alarm's |
|
StateUpdatedTimestamp | System.Nullable<System.DateTime> |
Gets and sets the property StateUpdatedTimestamp.
The time stamp of the last update to the value of either the |
|
StateValue | Amazon.CloudWatch.StateValue |
Gets and sets the property StateValue. The state value for the alarm. |
|
Threshold | System.Nullable<System.Double> |
Gets and sets the property Threshold. The value to compare with the aggregated query result. |
|
TreatMissingData | System.String |
Gets and sets the property TreatMissingData.
How this alarm handles missing data points. Valid values are |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.7.2 and newer