import { FilterGroupProps } from './FilterGroupProps';
import { Value } from '../../../cloudformation/Value';
/**
  <code>ProjectTriggers</code> is a property of the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html">AWS CodeBuild Project</a> resource that specifies webhooks that trigger an AWS CodeBuild build.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projecttriggers.html">the AWS Docs</a>
*/
export interface ProjectTriggersProps {
    /** <code>FilterGroups</code>  <a name="cfn-codebuild-project-projecttriggers-filtergroups"></a>
  A list of lists of <code>WebhookFilter</code> objects used to determine which webhook events are triggered. At least one <code>WebhookFilter</code> in the array must specify <code>EVENT</code> as its type.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    filterGroups?: FilterGroupProps[];
    /** <code>BuildType</code>  <a name="cfn-codebuild-project-projecttriggers-buildtype"></a>
  Specifies the type of build this webhook will trigger. Allowed values are:<br />
  BUILD<br />
  A single build<br />
  BUILD_BATCH<br />
  A batch build
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    buildType?: Value<string>;
    /** <code>Webhook</code>  <a name="cfn-codebuild-project-projecttriggers-webhook"></a>
  Specifies whether or not to begin automatically rebuilding the source code every time a code change is pushed to the repository.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    webhook?: Value<boolean>;
}
