

# cloudwatch-alarm-action-check
<a name="cloudwatch-alarm-action-check"></a>

Checks if CloudWatch alarms have an action configured for the ALARM, INSUFFICIENT\$1DATA, or OK state. Optionally checks if any actions match a named ARN. The rule is NON\$1COMPLIANT if there is no action specified for the alarm or optional parameter. 



**Identifier:** CLOUDWATCH\$1ALARM\$1ACTION\$1CHECK

**Resource Types:** AWS::CloudWatch::Alarm

**Trigger type:** Configuration changes

**AWS Region:** All supported AWS regions

**Parameters:**

okActionRequiredType: StringDefault: false  
Alarms have at least one action when the alarm transitions to an OK state from any other state.

insufficientDataActionRequiredType: StringDefault: true  
Alarms have at least one action when the alarm transitions to the INSUFFICIENT\$1DATA state from any other state.

alarmActionRequiredType: StringDefault: true  
Alarms have at least one action.

action1 (Optional)Type: String  
The action to execute, specified as an ARN.

action2 (Optional)Type: String  
The action to execute, specified as an ARN.

action3 (Optional)Type: String  
The action to execute, specified as an ARN.

action4 (Optional)Type: String  
The action to execute, specified as an ARN.

action5 (Optional)Type: String  
The action to execute, specified as an ARN.

## AWS CloudFormation template
<a name="w2aac20c16c17b7d337c19"></a>

To create AWS Config managed rules with AWS CloudFormation templates, see [Creating AWS Config Managed Rules With AWS CloudFormation Templates](aws-config-managed-rules-cloudformation-templates.md).