import { AwsResource } from '../../cloudformation/resources/AwsResource';
/**
  The <code>AWS::CodePipeline::Webhook</code> resource creates and registers your webhook. After the webhook is created and registered, it triggers your pipeline to start every time an external event occurs. For more information, see <a href="https://docs.aws.amazon.com/codepipeline/latest/userguide/update-change-detection.html">Migrate polling pipelines to use event-based change detection</a> in the <em>AWS CodePipeline User Guide</em>.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codepipeline-webhook.html">the AWS Docs</a>
*/
export function webhook(webhookProps) {
    return new AwsResource('AWS::CodePipeline::Webhook', webhookProps, { Url: 'Url' });
}
