

This is the new *CloudFormation Template Reference Guide*. Please update your bookmarks and links. For help getting started with CloudFormation, see the [AWS CloudFormation User Guide](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/Welcome.html).

# AWS::CloudWatch::LogAlarm
<a name="aws-resource-cloudwatch-logalarm"></a>

<a name="aws-resource-cloudwatch-logalarm-description"></a>The `AWS::CloudWatch::LogAlarm` resource Property description not available. for CloudWatch.

## Syntax
<a name="aws-resource-cloudwatch-logalarm-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-resource-cloudwatch-logalarm-syntax.json"></a>

```
{
  "Type" : "AWS::CloudWatch::LogAlarm",
  "Properties" : {
      "[ActionLogLineCount](#cfn-cloudwatch-logalarm-actionloglinecount)" : {{Integer}},
      "[ActionLogLineRoleArn](#cfn-cloudwatch-logalarm-actionloglinerolearn)" : {{String}},
      "[ActionsEnabled](#cfn-cloudwatch-logalarm-actionsenabled)" : {{Boolean}},
      "[AlarmActions](#cfn-cloudwatch-logalarm-alarmactions)" : {{[ String, ... ]}},
      "[AlarmDescription](#cfn-cloudwatch-logalarm-alarmdescription)" : {{String}},
      "[AlarmName](#cfn-cloudwatch-logalarm-alarmname)" : {{String}},
      "[ComparisonOperator](#cfn-cloudwatch-logalarm-comparisonoperator)" : {{String}},
      "[InsufficientDataActions](#cfn-cloudwatch-logalarm-insufficientdataactions)" : {{[ String, ... ]}},
      "[OKActions](#cfn-cloudwatch-logalarm-okactions)" : {{[ String, ... ]}},
      "[QueryResultsToAlarm](#cfn-cloudwatch-logalarm-queryresultstoalarm)" : {{Integer}},
      "[QueryResultsToEvaluate](#cfn-cloudwatch-logalarm-queryresultstoevaluate)" : {{Integer}},
      "[ScheduledQueryConfiguration](#cfn-cloudwatch-logalarm-scheduledqueryconfiguration)" : {{ScheduledQueryConfiguration}},
      "[Tags](#cfn-cloudwatch-logalarm-tags)" : {{[ Tag, ... ]}},
      "[Threshold](#cfn-cloudwatch-logalarm-threshold)" : {{Number}},
      "[TreatMissingData](#cfn-cloudwatch-logalarm-treatmissingdata)" : {{String}}
    }
}
```

### YAML
<a name="aws-resource-cloudwatch-logalarm-syntax.yaml"></a>

```
Type: AWS::CloudWatch::LogAlarm
Properties:
  [ActionLogLineCount](#cfn-cloudwatch-logalarm-actionloglinecount): {{Integer}}
  [ActionLogLineRoleArn](#cfn-cloudwatch-logalarm-actionloglinerolearn): {{String}}
  [ActionsEnabled](#cfn-cloudwatch-logalarm-actionsenabled): {{Boolean}}
  [AlarmActions](#cfn-cloudwatch-logalarm-alarmactions): {{
    - String}}
  [AlarmDescription](#cfn-cloudwatch-logalarm-alarmdescription): {{String}}
  [AlarmName](#cfn-cloudwatch-logalarm-alarmname): {{String}}
  [ComparisonOperator](#cfn-cloudwatch-logalarm-comparisonoperator): {{String}}
  [InsufficientDataActions](#cfn-cloudwatch-logalarm-insufficientdataactions): {{
    - String}}
  [OKActions](#cfn-cloudwatch-logalarm-okactions): {{
    - String}}
  [QueryResultsToAlarm](#cfn-cloudwatch-logalarm-queryresultstoalarm): {{Integer}}
  [QueryResultsToEvaluate](#cfn-cloudwatch-logalarm-queryresultstoevaluate): {{Integer}}
  [ScheduledQueryConfiguration](#cfn-cloudwatch-logalarm-scheduledqueryconfiguration): {{
    ScheduledQueryConfiguration}}
  [Tags](#cfn-cloudwatch-logalarm-tags): {{
    - Tag}}
  [Threshold](#cfn-cloudwatch-logalarm-threshold): {{Number}}
  [TreatMissingData](#cfn-cloudwatch-logalarm-treatmissingdata): {{String}}
```

## Properties
<a name="aws-resource-cloudwatch-logalarm-properties"></a>

`ActionLogLineCount`  <a name="cfn-cloudwatch-logalarm-actionloglinecount"></a>
Property description not available.  
*Required*: No  
*Type*: Integer  
*Minimum*: `0`  
*Maximum*: `50`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`ActionLogLineRoleArn`  <a name="cfn-cloudwatch-logalarm-actionloglinerolearn"></a>
Property description not available.  
*Required*: No  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`ActionsEnabled`  <a name="cfn-cloudwatch-logalarm-actionsenabled"></a>
Property description not available.  
*Required*: No  
*Type*: Boolean  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`AlarmActions`  <a name="cfn-cloudwatch-logalarm-alarmactions"></a>
Property description not available.  
*Required*: No  
*Type*: Array of String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`AlarmDescription`  <a name="cfn-cloudwatch-logalarm-alarmdescription"></a>
Property description not available.  
*Required*: No  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`AlarmName`  <a name="cfn-cloudwatch-logalarm-alarmname"></a>
Property description not available.  
*Required*: No  
*Type*: String  
*Minimum*: `1`  
*Maximum*: `255`  
*Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

`ComparisonOperator`  <a name="cfn-cloudwatch-logalarm-comparisonoperator"></a>
Property description not available.  
*Required*: Yes  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`InsufficientDataActions`  <a name="cfn-cloudwatch-logalarm-insufficientdataactions"></a>
Property description not available.  
*Required*: No  
*Type*: Array of String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`OKActions`  <a name="cfn-cloudwatch-logalarm-okactions"></a>
Property description not available.  
*Required*: No  
*Type*: Array of String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`QueryResultsToAlarm`  <a name="cfn-cloudwatch-logalarm-queryresultstoalarm"></a>
Property description not available.  
*Required*: Yes  
*Type*: Integer  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`QueryResultsToEvaluate`  <a name="cfn-cloudwatch-logalarm-queryresultstoevaluate"></a>
Property description not available.  
*Required*: Yes  
*Type*: Integer  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`ScheduledQueryConfiguration`  <a name="cfn-cloudwatch-logalarm-scheduledqueryconfiguration"></a>
Property description not available.  
*Required*: Yes  
*Type*: [ScheduledQueryConfiguration](aws-properties-cloudwatch-logalarm-scheduledqueryconfiguration.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Tags`  <a name="cfn-cloudwatch-logalarm-tags"></a>
Property description not available.  
*Required*: No  
*Type*: Array of [Tag](aws-properties-cloudwatch-logalarm-tag.md)  
*Maximum*: `50`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Threshold`  <a name="cfn-cloudwatch-logalarm-threshold"></a>
Property description not available.  
*Required*: Yes  
*Type*: Number  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`TreatMissingData`  <a name="cfn-cloudwatch-logalarm-treatmissingdata"></a>
Property description not available.  
*Required*: No  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

## Return values
<a name="aws-resource-cloudwatch-logalarm-return-values"></a>

### Ref
<a name="aws-resource-cloudwatch-logalarm-return-values-ref"></a>

### Fn::GetAtt
<a name="aws-resource-cloudwatch-logalarm-return-values-fn--getatt"></a>

#### 
<a name="aws-resource-cloudwatch-logalarm-return-values-fn--getatt-fn--getatt"></a>

`Arn`  <a name="Arn-fn::getatt"></a>
Property description not available.