import { AwsResource } from '../../cloudformation/resources/AwsResource';
/**
  Creates or updates a canary. Canaries are scripts that monitor your endpoints and APIs from the outside-in. Canaries help you check the availability and latency of your web services and troubleshoot anomalies by investigating load time data, screenshots of the UI, logs, and metrics. You can set up a canary to run continuously or just once.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-synthetics-canary.html">the AWS Docs</a>
*/
export function canary(canaryProps) {
    return new AwsResource('AWS::Synthetics::Canary', canaryProps, { Code_SourceLocationArn: 'Code.SourceLocationArn', State: 'State', Id: 'Id' });
}
