import { Value } from '../../cloudformation/Value';
import { TargetProps } from './notificationrule/TargetProps';
import { Attribute } from '../../cloudformation/Attribute';
import { AwsResource } from '../../cloudformation/resources/AwsResource';
export type NotificationRuleAttributes = {
    Arn: Attribute<string>;
};
export type NotificationRule = AwsResource<'AWS::CodeStarNotifications::NotificationRule', NotificationRuleProperties, NotificationRuleAttributes>;
/**
  Creates a notification rule for a resource. The rule specifies the events you want notifications about and the targets (such as AWS Chatbot topics or AWS Chatbot clients configured for Slack) where you want to receive them.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestarnotifications-notificationrule.html">the AWS Docs</a>
*/
export declare function notificationRule(notificationRuleProps: NotificationRuleProperties): NotificationRule;
/**
  Creates a notification rule for a resource. The rule specifies the events you want notifications about and the targets (such as AWS Chatbot topics or AWS Chatbot clients configured for Slack) where you want to receive them.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestarnotifications-notificationrule.html">the AWS Docs</a>
*/
export interface NotificationRuleProperties {
    /** <code>EventTypeIds</code>  <a name="cfn-codestarnotifications-notificationrule-eventtypeids"></a>
  A list of event types associated with this notification rule. For a complete list of event types and IDs, see <a href="https://docs.aws.amazon.com/dtconsole/latest/userguide/concepts.html#concepts-api">Notification concepts</a> in the
  Developer Tools Console User Guide: 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> */
    eventTypeIds: Value<Value<string>[]>;
    /** <code>Status</code>  <a name="cfn-codestarnotifications-notificationrule-status"></a>
  The status of the notification rule. The default value is <code>ENABLED</code>. If the status is set to <code>DISABLED</code>, notifications aren’t sent for the notification rule.<br />
  
  Required: No<br />
  
  Allowed values: <code>DISABLED | ENABLED</code><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> */
    status?: Value<'DISABLED' | 'ENABLED'>;
    /** <code>CreatedBy</code>  <a name="cfn-codestarnotifications-notificationrule-createdby"></a>
  Property description not available.<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> */
    createdBy?: Value<string>;
    /** <code>DetailType</code>  <a name="cfn-codestarnotifications-notificationrule-detailtype"></a>
  The level of detail to include in the notifications for this resource. <code>BASIC</code> will include only the contents of the event as it would appear in Amazon CloudWatch. <code>FULL</code> will include any supplemental information provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created.<br />
  
  Required: Yes<br />
  
  Allowed values: <code>BASIC | FULL</code><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> */
    detailType: Value<'BASIC' | 'FULL'>;
    /** <code>Resource</code>  <a name="cfn-codestarnotifications-notificationrule-resource"></a>
  The Amazon Resource Name (ARN) of the resource to associate with the notification rule. Supported resources include pipelines in AWS CodePipeline, repositories in AWS CodeCommit, and build projects in AWS CodeBuild.<br />
  
  Required: Yes<br />
  
  Pattern: <code>^arn:aws[^:\s]*:[^:\s]*:[^:\s]*:[0-9]{12}:[^\s]+$</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    resource: Value<string>;
    /** <code>EventTypeId</code>  <a name="cfn-codestarnotifications-notificationrule-eventtypeid"></a>
  Property description not available.<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> */
    eventTypeId?: Value<string>;
    /** <code>TargetAddress</code>  <a name="cfn-codestarnotifications-notificationrule-targetaddress"></a>
  Property description not available.<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> */
    targetAddress?: Value<string>;
    /** <code>Targets</code>  <a name="cfn-codestarnotifications-notificationrule-targets"></a>
  A list of Amazon Resource Names (ARNs) of Amazon Simple Notification Service topics and AWS Chatbot clients to associate with the notification rule.<br />
  
  Required: Yes<br />
  
  Maximum: <code>10</code><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> */
    targets: TargetProps[];
    /** <code>Tags</code>  <a name="cfn-codestarnotifications-notificationrule-tags"></a>
  A list of tags to apply to this notification rule. Key names cannot start with “<code>aws</code>”.<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> */
    tags?: Value<{
        [key: string]: Value<string>;
    }>;
    /** <code>Name</code>  <a name="cfn-codestarnotifications-notificationrule-name"></a>
  The name for the notification rule. Notification rule names must be unique in your AWS account.<br />
  
  Required: Yes<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>64</code><br />
  
  Pattern: <code>[A-Za-z0-9\-_ ]+$</code><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>;
}
