import { AwsResource } from '../../cloudformation/resources/AwsResource';
/**
  Use the <code>AWS::IoT::CustomMetric</code> resource to define a custom metric published by your devices to Device Defender. For API reference, see <a href="https://docs.aws.amazon.com/iot/latest/apireference/API_CreateCustomMetric.html">CreateCustomMetric</a> and for general information, see <a href="https://docs.aws.amazon.com/iot/latest/developerguide/dd-detect-custom-metrics.html">Custom metrics</a>.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-custommetric.html">the AWS Docs</a>
*/
export function customMetric(customMetricProps) {
    return new AwsResource('AWS::IoT::CustomMetric', customMetricProps, { MetricArn: 'MetricArn' });
}
