import { Value } from '../../../cloudformation/Value';
/**
  Information about a trigger for a repository.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codecommit-repository-repositorytrigger.html">the AWS Docs</a>
*/
export interface RepositoryTriggerProps {
    /** <code>Events</code>  <a name="cfn-codecommit-repository-repositorytrigger-events"></a>
  The repository events that cause the trigger to run actions in another service, such as sending a notification through Amazon SNS.<br />
  The valid value “all” cannot be used with any other values.
  
  Required: Yes<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> */
    events: Value<Value<string>[]>;
    /** <code>Branches</code>  <a name="cfn-codecommit-repository-repositorytrigger-branches"></a>
  The branches to be included in the trigger configuration. If you specify an empty array, the trigger applies to all branches.<br />
  Although no content is required in the array, you must include the array itself.
  
  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> */
    branches?: Value<Value<string>[]>;
    /** <code>CustomData</code>  <a name="cfn-codecommit-repository-repositorytrigger-customdata"></a>
  Any custom data associated with the trigger to be included in the information sent to the target of the trigger.<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> */
    customData?: Value<string>;
    /** <code>DestinationArn</code>  <a name="cfn-codecommit-repository-repositorytrigger-destinationarn"></a>
  The ARN of the resource that is the target for a trigger (for example, the ARN of a topic in Amazon SNS).<br />
  
  Required: Yes<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> */
    destinationArn: Value<string>;
    /** <code>Name</code>  <a name="cfn-codecommit-repository-repositorytrigger-name"></a>
  The name of the trigger.<br />
  
  Required: Yes<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> */
    name: Value<string>;
}
