import { AwsResource } from '../../cloudformation/resources/AwsResource';
/**
  The <code>AWS::CloudWatch::CompositeAlarm</code> type creates or updates a composite alarm. When you create a composite alarm, you specify a rule expression for the alarm that takes into account the alarm states of other alarms that you have created. The composite alarm goes into ALARM state only if all conditions of the rule are met.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-compositealarm.html">the AWS Docs</a>
*/
export function compositeAlarm(compositeAlarmProps) {
    return new AwsResource('AWS::CloudWatch::CompositeAlarm', compositeAlarmProps, { Arn: 'Arn' });
}
