

# 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

**Amazon Web Services Region:** All supported Amazon 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.

## Amazon CloudFormation template
<a name="w2aac20c16c17b7d343c19"></a>

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