

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

Checks if a resource type has a CloudWatch alarm for the named metric. For resource type, you can specify EBS volumes, EC2 instances, Amazon RDS clusters, or S3 buckets. The rule is COMPLIANT if the named metric has a resource ID and CloudWatch alarm. 



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

**Resource Types:** AWS::EC2::Instance, AWS::RDS::DBCluster, AWS::S3::Bucket, AWS::EC2::Volume

**Trigger type:** Periodic

**Amazon Web Services Region:** All supported Amazon regions

**Parameters:**

resourceTypeType: String  
Amazon resource type. The value can be one of the following: AWS::EC2::Volume, AWS::EC2::Instance, AWS::RDS::DBCluster, or AWS::S3::Bucket.

metricNameType: String  
The name for the metric associated with the alarm (for example, 'CPUUtilization' for EC2 instances).

## Amazon CloudFormation template
<a name="w2aac20c16c17b7d349c19"></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).